In Project 2 Phase 1, you need to implement the algorithm on Lecture 7 to estimate camera’s poses with images. This is an individual project, which means you must complete it by yourself.
your code here:
void process(const vector &pts_id, const vector &pts_3, const vector &pts_2, const ros::Time& frame_time)
{
// version 2, your work
Matrix3d R;
Vector3d T;
R.setIdentity();
T.setZero();
ROS_INFO("write your code here!");
//...
//...
//...
Quaterniond Q_yourwork;
}
You will be provided with a ROS package named tag detector, where a serial of points and their positions will be calculated with images. You need to implement this project based on the point and position array. You can follow the below procedures to prepare for your coding.
We play the provided dataset. Following are some results plotted in `rqt_plot`, the tag_detector is not fine-tuned, but they are correct results.
The dataset is uploaded to the cloud drive:
Dataset 1: ekf_A3.bag
Download link: Google Drive 百度网盘
Dataset 2: ekf_A3_2.bag
Download link: Google Drive 百度网盘