#include <OpenMapper.h>
Manages the sensors for the mapper
Definition at line 1240 of file OpenMapper.h.
karto::MapperSensorManager::MapperSensorManager | ( | kt_int32u | runningBufferMaximumSize, |
kt_double | runningBufferMaximumDistance | ||
) |
Sensor manager with the given parameters for the running buffer of each sensor
runningBufferMaximumSize | maximum size for the running buffer used in scan-matching |
runningBufferMaximumDistance | maximum distance between first and last scan in the running buffer |
Definition at line 226 of file OpenMapper.cpp.
karto::MapperSensorManager::~MapperSensorManager | ( | ) | [virtual] |
Destructor
Definition at line 234 of file OpenMapper.cpp.
void karto::MapperSensorManager::AddLocalizedObject | ( | LocalizedObject * | pObject | ) |
Adds localized object to object list of sensor that recorded the object
pObject | object |
Definition at line 294 of file OpenMapper.cpp.
void karto::MapperSensorManager::AddRunningScan | ( | LocalizedLaserScan * | pScan | ) |
Adds scan to running scans of sensor that recorded scan
pScan | scan |
Definition at line 301 of file OpenMapper.cpp.
void karto::MapperSensorManager::Clear | ( | ) |
Deletes all scan managers of all sensors
Definition at line 347 of file OpenMapper.cpp.
void karto::MapperSensorManager::ClearLastScan | ( | const Identifier & | rSensorName | ) |
Resets the last scan of the given sensor
rSensorName | name of sensor |
Definition at line 289 of file OpenMapper.cpp.
Gets all objects of all sensors
Definition at line 334 of file OpenMapper.cpp.
Gets all scans of all sensors
Definition at line 321 of file OpenMapper.cpp.
LocalizedLaserScan * karto::MapperSensorManager::GetLastScan | ( | const Identifier & | rSensorName | ) |
Gets last scan of given sensor
rSensorName | name of sensor |
Definition at line 279 of file OpenMapper.cpp.
LocalizedObject * karto::MapperSensorManager::GetLocalizedObject | ( | const Identifier & | rSensorName, |
kt_int32s | stateId | ||
) |
Gets object from given sensor with given ID
rSensorName | name of sensor |
stateId | state id |
Definition at line 249 of file OpenMapper.cpp.
Gets the object with the given unique id
uniqueId | unique id |
Definition at line 262 of file OpenMapper.cpp.
LocalizedLaserScanList & karto::MapperSensorManager::GetRunningScans | ( | const Identifier & | rSensorName | ) |
Gets running scans of sensor
rSensorName | name of sensor |
Definition at line 316 of file OpenMapper.cpp.
Gets the index of this scan in the sensor's list of scans; useful when wanting to quickly find neighboring processed scans
pScan | scan |
Definition at line 311 of file OpenMapper.cpp.
LocalizedLaserScanList & karto::MapperSensorManager::GetScans | ( | const Identifier & | rSensorName | ) |
Gets scans of sensor
rSensorName | name of sensor |
Definition at line 306 of file OpenMapper.cpp.
SensorDataManager* karto::MapperSensorManager::GetSensorDataManager | ( | LocalizedObject * | pObject | ) | [inline, private] |
Gets the sensor data manager for the given localized object
Definition at line 1359 of file OpenMapper.h.
SensorDataManager * karto::MapperSensorManager::GetSensorDataManager | ( | const Identifier & | rSensorName | ) | [private] |
Gets the sensor data manager for the given id
rSensorName | name of sensor |
Definition at line 357 of file OpenMapper.cpp.
Gets names of all sensors
Definition at line 268 of file OpenMapper.cpp.
void karto::MapperSensorManager::RegisterSensor | ( | const Identifier & | rSensorName | ) |
Registers a sensor (with given name); do nothing if sensor already registered
rSensorName | name of sensor |
Definition at line 241 of file OpenMapper.cpp.
void karto::MapperSensorManager::SetLastScan | ( | LocalizedLaserScan * | pScan | ) |
Sets the last scan of sensor to the given scan
pScan | scan |
Definition at line 284 of file OpenMapper.cpp.
Definition at line 1372 of file OpenMapper.h.