#include <Mapper.h>
Private Types | |
| typedef std::map< Name, ScanManager * > | ScanManagerMap |
Private Member Functions | |
| ScanManager * | GetScanManager (const Name &rSensorName) |
| ScanManager * | GetScanManager (LocalizedRangeScan *pScan) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| kt_int32s | m_NextScanId |
| kt_double | m_RunningBufferMaximumDistance |
| kt_int32u | m_RunningBufferMaximumSize |
| ScanManagerMap | m_ScanManagers |
| std::map< int, LocalizedRangeScan * > | m_Scans |
Friends | |
| class | boost::serialization::access |
|
private |
|
inline |
|
inlinevirtual |
|
inline |
Adds scan to running scans of device that recorded scan
| pScan |
Definition at line 350 of file Mapper.cpp.
| void karto::MapperSensorManager::AddScan | ( | LocalizedRangeScan * | pScan | ) |
Adds scan to scan vector of device that recorded scan
| pScan |
Definition at line 339 of file Mapper.cpp.
| void karto::MapperSensorManager::Clear | ( | ) |
Deletes all scan managers of all devices
Definition at line 451 of file Mapper.cpp.
| void karto::MapperSensorManager::ClearLastScan | ( | const Name & | name | ) |
Clears the laser scan of device name
| pScan | Clears the last scan of device name |
| pScan |
Definition at line 330 of file Mapper.cpp.
| void karto::MapperSensorManager::ClearLastScan | ( | LocalizedRangeScan * | pScan | ) |
Clears the laser scan of device
| pScan | Clears the last scan of device of given scan |
| pScan |
Definition at line 321 of file Mapper.cpp.
| void karto::MapperSensorManager::ClearRunningScans | ( | const Name & | rSensorName | ) |
Clears running scans of device
Definition at line 395 of file Mapper.cpp.
| LocalizedRangeScanVector karto::MapperSensorManager::GetAllScans | ( | ) |
Gets all scans of all devices
Definition at line 430 of file Mapper.cpp.
|
inline |
Gets last scan of given sensor
| rSensorName |
Gets last scan of given device
| pLaserRangeFinder |
Definition at line 301 of file Mapper.cpp.
Gets the running scan buffer of device
Definition at line 401 of file Mapper.cpp.
|
inline |
Gets running scans of device
| rSensorName |
Definition at line 390 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 276 of file Mapper.cpp.
|
inline |
|
inlineprivate |
|
inlineprivate |
Get scan manager for localized range scan
|
inline |
Gets scans of device
| rSensorName |
Definition at line 380 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 261 of file Mapper.cpp.
| void karto::MapperSensorManager::RemoveScan | ( | LocalizedRangeScan * | pScan | ) |
Finds and replaces a scan from m_scans with NULL
| pScan | Finds and replaces a scan from m_Scans with NULL |
| pScan |
Definition at line 359 of file Mapper.cpp.
|
inlineprivate |
| void karto::MapperSensorManager::SetLastScan | ( | LocalizedRangeScan * | pScan | ) |
Sets the last scan of device of given scan
| pScan |
Definition at line 312 of file Mapper.cpp.
| void karto::MapperSensorManager::SetRunningScanBufferMaximumDistance | ( | kt_double | rScanBufferMaxDistance | ) |
Sets the running scan buffer maximum distance for all devices
| rScanBufferMaxDistance |
Definition at line 416 of file Mapper.cpp.
| void karto::MapperSensorManager::SetRunningScanBufferSize | ( | kt_int32u | rScanBufferSize | ) |
Sets the running scan buffer size for all devices
| rScanBufferSize |
Definition at line 406 of file Mapper.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |