Jafar
|
This class acts as a collector of free state in the SLAM. More...
This class acts as a collector of free state in the SLAM.
It should be used by AbstractMapManager that want to reuse free state for next landmarks.
Definition at line 27 of file mapManager.hpp.
#include <mapManager.hpp>
Classes | |
struct | StateBlock |
Public Member Functions | |
FreeStateCollector (SlamEkf &slam_) | |
std::size_t | getFreeIndex (std::size_t sizeState) |
void | collectIndex (std::size_t index, std::size_t sizeState) |
Collect some index, mark it as free. | |
void | clear () |
Reset the collector. | |
void | defrag () |
This function will reorder block, and merge them. | |
void | dump () const |
Private Types | |
typedef std::list< StateBlock > | StateBlockCont |
container type for free state blocks | |
Private Attributes | |
StateBlockCont | m_freeStateBlocks |
free substates of the filter state, to store new features | |
SlamEkf & | m_slam |
void jafar::slam::FreeStateCollector::collectIndex | ( | std::size_t | index, |
std::size_t | sizeState | ||
) |
Collect some index, mark it as free.
index | the position in the state |
sizeState | the size of the state that is to be freed. |
std::size_t jafar::slam::FreeStateCollector::getFreeIndex | ( | std::size_t | sizeState | ) |
sizeState
) Generated on Wed Oct 15 2014 00:37:48 for Jafar by doxygen 1.7.6.1 |