|
Formula Student Autonomous Systems
The code for the main driverless system
|
Interface for detecting loop closures. More...
#include <loop_closure.hpp>


Classes | |
| struct | Result |
| Result of loop closure detection. More... | |
Public Member Functions | |
| virtual | ~LoopClosure ()=default |
| virtual Result | detect (const Eigen::Vector3d ¤t_pose, const Eigen::VectorXd &map_cones, const Eigen::VectorXi &associations, const Eigen::VectorXd &observations) const =0 |
| Call every time you have new observations. | |
Interface for detecting loop closures.
Definition at line 11 of file loop_closure.hpp.
|
virtualdefault |
|
pure virtual |
Call every time you have new observations.
| current_pose | your latest pose in world frame |
| map_cones | full map of cones (in insertion order) |
| associations | one entry per observation: >=3 → matched map_cones[(j-3)/2] -1 → new landmark, -2 → no match |
| observations | raw observations |
Implemented in LapCounter.