|
SaDVIO
|
Abstract class for a Map. More...
#include <amap.h>

Public Member Functions | |
| AMap ()=default | |
| virtual void | addFrame (std::shared_ptr< isae::Frame > &frame)=0 |
| Add a frame to the map. More... | |
| std::deque< std::shared_ptr< Frame > > & | getFrames () |
| std::shared_ptr< isae::Frame > | getLastFrame () |
| Get the last frame added to the map. More... | |
| void | getLastNFramesIn (size_t N, std::vector< std::shared_ptr< isae::Frame >> &dest) |
| Provides the last N frames added to the map. More... | |
| typed_vec_landmarks & | getLandmarks () |
| size_t | getMapSize () |
| void | pushLandmarks (std::shared_ptr< isae::Frame > &frame) |
| Add all the landmarks of a frame to the map. More... | |
Protected Attributes | |
| std::deque< std::shared_ptr< Frame > > | _frames |
| A deque of frames in the map, ordered by time. More... | |
| typed_vec_landmarks | _landmarks |
| All types of landmark in the map stored as std vectors. More... | |
Abstract class for a Map.
It contains a set of frame and landmarks. That can be accessed and modified by the SLAM system.
|
default |
|
pure virtual |
Add a frame to the map.
This method is pure virtual and must be implemented by derived classes. Indeed addition of a new frame may require other operations e.g. for a sliding window approach
|
inline |
|
inline |
|
inline |
Get the last frame added to the map.
|
inline |
Provides the last N frames added to the map.
|
inline |
|
inline |
Add all the landmarks of a frame to the map.
|
protected |
A deque of frames in the map, ordered by time.
|
protected |
All types of landmark in the map stored as std vectors.
1.8.17