Stereo visual odometry class. Keeps track of a certain size window of latest frames in the system, estimates pose changes between frames, and optimizes the window using SBA.
More...
Public Member Functions |
bool | addFrame (const fc::Frame &fnew) |
| Add a new frame to the system, if it is a keyframe.
|
int | findNode (int frameId) |
| Finds sba node index of associated frame.
|
int | findTransform (int frameId, int n, Vector4d &trans, Quaterniond &qrot, Matrix< double, 6, 6 > &prec) |
| Gets the transform between frames.
|
void | removeFrame () |
| Removes oldest frame from the system.
|
void | transferLatestFrame (std::vector< fc::Frame, Eigen::aligned_allocator< fc::Frame > > &eframes, sba::SysSBA &esba) |
| Transfers frames to external sba system.
|
| voSt (boost::shared_ptr< pe::PoseEstimator > pose_estimator, int ws=20, int wf=5, int mininls=800, double mind=0.1, double mina=0.1) |
| Constructor for voSt class.
|
Public Attributes |
bool | doPointPlane |
std::vector< fc::Frame,
Eigen::aligned_allocator
< fc::Frame > > | frames |
| Previous frames in the system.
|
vector< int > | ipts |
| External point index, for relating internal sba points to external points.
|
double | minang |
| Minimum angular distance between keyframes (radians).
|
double | mindist |
| Minimum linear distance between keyframes (meters).
|
int | mininls |
| Minimum number of inliers.
|
boost::shared_ptr
< frame_common::PointcloudProc > | pointcloud_proc_ |
| Pointer to pointcloud processor.
|
boost::shared_ptr
< pe::PoseEstimator > | pose_estimator_ |
| Pointer to pose estimator object.
|
sba::SysSBA | sba |
| VO's internal SBA system, which holds the VO window.
|
int | wfixed |
| Number of fixed frames at the beginning of the window.
|
int | wsize |
| Size of window in frames.
|
Private Attributes |
std::vector< cv::DMatch > | pointcloud_matches_ |
| Pointcloud matches.
|
Stereo visual odometry class. Keeps track of a certain size window of latest frames in the system, estimates pose changes between frames, and optimizes the window using SBA.
Definition at line 60 of file vo.h.