|
SaDVIO
|
Class for a Global Map. More...
#include <globalmap.h>


Public Member Functions | |
| GlobalMap ()=default | |
| void | addFrame (std::shared_ptr< Frame > &frame) override |
| Add a frame to the global map. More... | |
Public Member Functions inherited from isae::AMap | |
| 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... | |
Additional Inherited Members | |
Protected Attributes inherited from isae::AMap | |
| 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... | |
Class for a Global Map.
This is a simple map with no particular strategy
|
default |
|
override |
Add a frame to the global map.
This method adds a frame to the global map and also pushes its landmarks into the map. It is a simple implementation that does not enforce any sliding window or other constraints.
1.8.17