#include <Karto.h>
Public Member Functions | |
const Pose2 & | GetBarycenterPose () const |
const BoundingBox2 & | GetBoundingBox () const |
const Pose2 & | GetCorrectedPose () const |
const Pose2 & | GetOdometricPose () const |
const PointVectorDouble & | GetPointReadings (kt_bool wantFiltered=false) const |
Pose2 | GetReferencePose (kt_bool useBarycenter) const |
Pose2 | GetSensorAt (const Pose2 &rPose) const |
Pose2 | GetSensorPose () const |
LocalizedRangeScan (const Name &rSensorName, const RangeReadingsVector &rReadings) | |
void | SetCorrectedPose (const Pose2 &rPose) |
void | SetOdometricPose (const Pose2 &rPose) |
void | SetSensorPose (const Pose2 &rScanPose) |
virtual | ~LocalizedRangeScan () |
Public Member Functions inherited from karto::LaserRangeScan | |
LaserRangeFinder * | GetLaserRangeFinder () const |
kt_int32u | GetNumberOfRangeReadings () const |
kt_double * | GetRangeReadings () const |
RangeReadingsVector | GetRangeReadingsVector () const |
LaserRangeScan (const Name &rSensorName) | |
LaserRangeScan (const Name &rSensorName, const RangeReadingsVector &rRangeReadings) | |
void | SetRangeReadings (const RangeReadingsVector &rRangeReadings) |
virtual | ~LaserRangeScan () |
Public Member Functions inherited from karto::SensorData | |
void | AddCustomData (CustomData *pCustomData) |
const CustomDataVector & | GetCustomData () const |
const Name & | GetSensorName () const |
kt_int32s | GetStateId () const |
kt_double | GetTime () const |
kt_int32s | GetUniqueId () const |
void | SetStateId (kt_int32s stateId) |
void | SetTime (kt_double time) |
void | SetUniqueId (kt_int32u uniqueId) |
virtual | ~SensorData () |
Public Member Functions inherited from karto::Object | |
virtual const char * | GetClassName () const =0 |
const Name & | GetName () const |
virtual kt_objecttype | GetObjectType () const =0 |
AbstractParameter * | GetParameter (const std::string &rName) const |
virtual ParameterManager * | GetParameterManager () |
const ParameterVector & | GetParameters () const |
Object () | |
Object (const Name &rName) | |
template<typename T > | |
void | SetParameter (const std::string &rName, T value) |
virtual | ~Object () |
Protected Attributes | |
Pose2 | m_BarycenterPose |
BoundingBox2 | m_BoundingBox |
kt_bool | m_IsDirty |
PointVectorDouble | m_PointReadings |
PointVectorDouble | m_UnfilteredPointReadings |
Private Member Functions | |
LocalizedRangeScan (const LocalizedRangeScan &) | |
const LocalizedRangeScan & | operator= (const LocalizedRangeScan &) |
virtual void | Update () |
Private Attributes | |
Pose2 | m_CorrectedPose |
boost::shared_mutex | m_Lock |
Pose2 | m_OdometricPose |
Additional Inherited Members | |
Protected Member Functions inherited from karto::SensorData | |
SensorData (const Name &rSensorName) | |
Protected Member Functions inherited from karto::NonCopyable | |
NonCopyable () | |
virtual | ~NonCopyable () |
The LocalizedRangeScan contains range data from a single sweep of a laser range finder sensor in a two-dimensional space and position information. The odometer position is the position reported by the robot when the range data was recorded. The corrected position is the position calculated by the mapper (or localizer)
|
inline |
|
inlinevirtual |
|
private |
|
inline |
|
inline |
|
inline |
Gets the (possibly corrected) robot pose at which this scan was taken. The corrected robot pose of the scan 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().
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
inlineprivatevirtual |
Compute point readings based on range readings Only range readings within [minimum range; range threshold] are returned
Reimplemented in karto::LocalizedRangeScanWithPoints.
|
protected |
|
protected |
|
private |
|
protected |
|
mutableprivate |
|
private |
|
protected |
|
protected |