#include <Karto.h>
Public Member Functions | |
const Pose2 & | GetBarycenterPose () const |
const BoundingBox2 & | GetBoundingBox () const |
Pose2 | GetCorrectedAt (const Pose2 &sPose) const |
Computes the pose of the robot if the sensor were at the given pose. More... | |
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 () | |
LocalizedRangeScan (const Name &rSensorName, const RangeReadingsVector &rReadings) | |
void | SetBarycenterPose (Pose2 &bcenter) |
void | SetBoundingBox (BoundingBox2 &bbox) |
void | SetCorrectedPose (const Pose2 &rPose) |
void | SetCorrectedPoseAndUpdate (const Pose2 &rPose) |
void | SetIsDirty (kt_bool &rIsDirty) |
void | SetOdometricPose (const Pose2 &rPose) |
void | SetPointReadings (PointVectorDouble &points, kt_bool setFiltered=false) |
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 () | |
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 |
SensorData () | |
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) | |
Object (const Object &) | |
const Object & | operator= (const Object &) |
template<typename T > | |
void | SetParameter (const std::string &rName, T value) |
virtual | ~Object () |
Public Member Functions inherited from karto::NonCopyable | |
NonCopyable () | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
virtual | ~NonCopyable () |
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 &) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
virtual void | Update () |
Private Attributes | |
Pose2 | m_CorrectedPose |
std::shared_mutex | m_Lock |
Pose2 | m_OdometricPose |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Member Functions inherited from karto::SensorData | |
SensorData (const Name &rSensorName) | |
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 |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
|
friend |
Serialization: class LocalizedRangeScan
|
protected |
|
protected |
|
private |
|
protected |
|
mutableprivate |
|
private |
|
protected |
|
protected |