#include <Mapper.h>
Public Member Functions | |
| void | AddRunningScan (LocalizedRangeScan *pScan) |
| void | AddScan (LocalizedRangeScan *pScan) |
| void | Clear () |
| LocalizedRangeScanVector | GetAllScans () |
| LocalizedRangeScan * | GetLastScan (const Name &rSensorName) |
| LocalizedRangeScanVector & | GetRunningScans (const Name &rSensorName) |
| LocalizedRangeScan * | GetScan (const Name &rSensorName, kt_int32s scanIndex) |
| LocalizedRangeScan * | GetScan (kt_int32s id) |
| LocalizedRangeScanVector & | GetScans (const Name &rSensorName) |
| std::vector< Name > | GetSensorNames () |
| MapperSensorManager (kt_int32u runningBufferMaximumSize, kt_double runningBufferMaximumDistance) | |
| void | RegisterSensor (const Name &rSensorName) |
| void | SetLastScan (LocalizedRangeScan *pScan) |
| virtual | ~MapperSensorManager () |
Private Types | |
| typedef std::map< Name, ScanManager * > | ScanManagerMap |
Private Member Functions | |
| ScanManager * | GetScanManager (LocalizedRangeScan *pScan) |
| ScanManager * | GetScanManager (const Name &rSensorName) |
Private Attributes | |
| kt_int32s | m_NextScanId |
| kt_double | m_RunningBufferMaximumDistance |
| kt_int32u | m_RunningBufferMaximumSize |
| ScanManagerMap | m_ScanManagers |
| std::vector< LocalizedRangeScan * > | m_Scans |
|
private |
|
inlinevirtual |
|
inline |
Adds scan to running scans of device that recorded scan
| pScan |
Definition at line 235 of file Mapper.cpp.
| void karto::MapperSensorManager::AddScan | ( | LocalizedRangeScan * | pScan | ) |
Adds scan to scan vector of device that recorded scan
| pScan |
Definition at line 224 of file Mapper.cpp.
| void karto::MapperSensorManager::Clear | ( | ) |
Deletes all scan managers of all devices
Definition at line 281 of file Mapper.cpp.
| LocalizedRangeScanVector karto::MapperSensorManager::GetAllScans | ( | ) |
Gets all scans of all devices
Definition at line 264 of file Mapper.cpp.
|
inline |
Gets last scan of given sensor
| rSensorName |
Gets last scan of given device
| pLaserRangeFinder |
Definition at line 204 of file Mapper.cpp.
|
inline |
Gets running scans of device
| rSensorName |
Definition at line 255 of file Mapper.cpp.
| LocalizedRangeScan * karto::MapperSensorManager::GetScan | ( | const Name & | rSensorName, |
| kt_int32s | scanIndex | ||
| ) |
Gets scan from given sensor with given ID
| rSensorName | |
| scanIndex |
Gets scan from given device with given ID
| rSensorName | |
| scanNum |
Definition at line 187 of file Mapper.cpp.
|
inline |
|
inlineprivate |
Get scan manager for localized range scan
|
inlineprivate |
|
inline |
Gets scans of device
| rSensorName |
Definition at line 245 of file Mapper.cpp.
|
inline |
| void karto::MapperSensorManager::RegisterSensor | ( | const Name & | rSensorName | ) |
Registers a sensor (with given name); do nothing if device already registered
| rSensorName |
Definition at line 172 of file Mapper.cpp.
|
inline |
Sets the last scan of device of given scan
| pScan |
Definition at line 215 of file Mapper.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |