|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|
Optimized pose of a visual landmark (e.g. ArUco/AprilTag) in the map. More...
#include <Landmark.h>
Public Member Functions | |
| Landmark () | |
Default-constructs an invalid landmark (id == 0). | |
| Landmark (const int &id, const float &size, const Transform &pose, const cv::Mat &covariance) | |
| Constructs a landmark with size, pose, and covariance. | |
| RTABMAP_DEPRECATED | Landmark (const int &id, const Transform &pose, const cv::Mat &covariance) |
Deprecated; use the constructor with explicit size (0 if unknown). | |
| const int & | id () const |
| const float & | size () const |
| const Transform & | pose () const |
| const cv::Mat & | covariance () const |
Optimized pose of a visual landmark (e.g. ArUco/AprilTag) in the map.
Stores a positive landmark id(), optional physical size() (m), world pose(), and a 6×6 pose covariance matrix (x, y, z, roll, pitch, yaw).
Used in Landmarks maps on SensorData and in memory during SLAM. Graph constraints to landmarks use Link::kLandmark with a negative landmark id on the link (to is typically -id()).
Covariance diagonal entries must be finite and strictly positive. Use a large value (e.g. 9999) on angular axes when orientation uncertainty is unknown.
Definition at line 56 of file Landmark.h.
|
inline |
Default-constructs an invalid landmark (id == 0).
Definition at line 60 of file Landmark.h.
|
inline |
Constructs a landmark with size, pose, and covariance.
| id | Positive landmark identifier. |
| size | Physical size of the marker (m); 0 if unknown. |
| pose | Landmark pose in the base frame (typically the robot frame). |
| covariance | 6×6 CV_64FC1 covariance (diagonal entries must be > 0). |
Definition at line 72 of file Landmark.h.
|
inline |
Deprecated; use the constructor with explicit size (0 if unknown).
Definition at line 115 of file Landmark.h.
|
inlinevirtual |
Definition at line 94 of file Landmark.h.
|
inline |
Definition at line 97 of file Landmark.h.
|
inline |
0 if unknown). Definition at line 99 of file Landmark.h.
|
inline |
Definition at line 101 of file Landmark.h.
|
inline |
CV_64FC1). Definition at line 103 of file Landmark.h.