#include <SensorData.h>
Public Member Functions | |
const Pose2 & | GetCorrectedPose () const |
gps::PointGps | GetGpsEstimate () const |
gps::PointGps | GetGpsReading () const |
const Pose2 & | GetOdometricPose () const |
kt_bool | IsGpsEstimateValid () const |
kt_bool | IsGpsReadingValid () const |
LocalizedObject (const Identifier &rSensorIdentifier) | |
virtual void | SetCorrectedPose (const Pose2 &rPose) |
void | SetGpsEstimate (const gps::PointGps &rGpsEstimate) |
void | SetGpsEstimationManager (AbstractGpsEstimationManager *pGpsEstimationManager) |
void | SetGpsReading (const gps::PointGps &rGpsReading) |
void | SetOdometricPose (const Pose2 &rOdometricPose) |
Private Member Functions | |
KARTO_RTTI () | |
Private Attributes | |
Pose2 | m_CorrectedPose |
gps::PointGps | m_GpsEstimate |
gps::PointGps | m_GpsReading |
kt_bool | m_IsGpsEstimateValid |
kt_bool | m_IsGpsReadingValid |
Pose2 | m_OdometricPose |
AbstractGpsEstimationManager * | m_pGpsEstimationManager |
Base class for all localized sensor data
Definition at line 356 of file SensorData.h.
karto::LocalizedObject::LocalizedObject | ( | const Identifier & | rSensorIdentifier | ) |
Localized object from the given sensor
rSensorIdentifier | sensor identifier |
Definition at line 91 of file SensorData.cpp.
const Pose2& karto::LocalizedObject::GetCorrectedPose | ( | ) | const [inline] |
Gets the (possibly corrected) robot pose at which this object was taken. The corrected robot pose of the object is usually set by an external module such as a localization or mapping module when it is determined that the original pose was incorrect. The external module will set the correct pose based on additional sensor data and any context information it has. If the pose has not been corrected, a call to this method returns the same pose as GetOdometricPose().
Definition at line 402 of file SensorData.h.
gps::PointGps karto::LocalizedObject::GetGpsEstimate | ( | ) | const [inline] |
Gets the GPS estimate of this scan (return value is meaningless if IsGpsEstimateValid() returns false).
Definition at line 450 of file SensorData.h.
gps::PointGps karto::LocalizedObject::GetGpsReading | ( | ) | const [inline] |
Gets the GPS reading of this scan (return value is meaningless if IsGpsReadingValid() returns false).
Definition at line 421 of file SensorData.h.
const Pose2& karto::LocalizedObject::GetOdometricPose | ( | ) | const [inline] |
Gets the odometric pose of this object
Definition at line 380 of file SensorData.h.
kt_bool karto::LocalizedObject::IsGpsEstimateValid | ( | ) | const [inline] |
Whether the GPS estimate is valid
Definition at line 483 of file SensorData.h.
kt_bool karto::LocalizedObject::IsGpsReadingValid | ( | ) | const [inline] |
Whether the GPS reading is valid
Definition at line 440 of file SensorData.h.
karto::LocalizedObject::KARTO_RTTI | ( | ) | [private] |
Reimplemented from karto::SensorData.
Reimplemented in karto::LocalizedRangeScan, karto::LocalizedPointScan, and karto::LocalizedLaserScan.
virtual void karto::LocalizedObject::SetCorrectedPose | ( | const Pose2 & | rPose | ) | [inline, virtual] |
Moves the object by moving the robot pose to the given location.
rPose | new pose of the robot of this scan |
Reimplemented in karto::LocalizedLaserScan.
Definition at line 411 of file SensorData.h.
void karto::LocalizedObject::SetGpsEstimate | ( | const gps::PointGps & | rGpsEstimate | ) | [inline] |
Sets the GPS estimate of this scan
rGpsEstimate | GPS estimate of this scan |
Definition at line 466 of file SensorData.h.
void karto::LocalizedObject::SetGpsEstimationManager | ( | AbstractGpsEstimationManager * | pGpsEstimationManager | ) | [inline] |
Sets the manager for estimating this scan's GPS coordinate
pGpsEstimationManager | GPS estimation manager |
Definition at line 499 of file SensorData.h.
void karto::LocalizedObject::SetGpsReading | ( | const gps::PointGps & | rGpsReading | ) | [inline] |
Sets the GPS reading of this scan
rGpsReading | GPS reading of this scan |
Definition at line 430 of file SensorData.h.
void karto::LocalizedObject::SetOdometricPose | ( | const Pose2 & | rOdometricPose | ) | [inline] |
Sets the odometric pose of this object
rOdometricPose | new odometric pose |
Definition at line 389 of file SensorData.h.
Pose2 karto::LocalizedObject::m_CorrectedPose [private] |
Corrected pose of object calculated by mapper (or some other module)
Definition at line 513 of file SensorData.h.
GPS estimate of this object (value is meaningless if m_IsGpsEstimateValid is false).
Definition at line 530 of file SensorData.h.
GPS reading of this object (value is meaningless if m_IsGpsReadingValid is false).
Definition at line 519 of file SensorData.h.
Whether the GPS estimate is valid
Definition at line 535 of file SensorData.h.
Whether the GPS reading is valid
Definition at line 524 of file SensorData.h.
Pose2 karto::LocalizedObject::m_OdometricPose [private] |
Odometric pose of object
Definition at line 508 of file SensorData.h.
Manages the location of robot in GPS coordinates
Definition at line 540 of file SensorData.h.