Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
karto::Sensor Class Reference

#include <Karto.h>

Inheritance diagram for karto::Sensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const Pose2GetOffsetPose () const
void SetOffsetPose (const Pose2 &rPose)
virtual kt_bool Validate ()=0
virtual kt_bool Validate (SensorData *pSensorData)=0
virtual ~Sensor ()

Protected Member Functions

 Sensor (const Name &rName)

Private Member Functions

const Sensoroperator= (const Sensor &)
 Sensor (const Sensor &)

Private Attributes

Parameter< Pose2 > * m_pOffsetPose

Detailed Description

Abstract Sensor base class

Definition at line 3426 of file Karto.h.


Constructor & Destructor Documentation

karto::Sensor::Sensor ( const Name rName) [protected]

Construct a Sensor

Parameters:
rNamesensor name

Definition at line 79 of file Karto.cpp.

karto::Sensor::~Sensor ( ) [virtual]

Destructor

Definition at line 85 of file Karto.cpp.

karto::Sensor::Sensor ( const Sensor ) [private]

Restrict the copy constructor


Member Function Documentation

const Pose2& karto::Sensor::GetOffsetPose ( ) const [inline]

Gets this range finder sensor's offset

Returns:
offset pose

Definition at line 3451 of file Karto.h.

const Sensor& karto::Sensor::operator= ( const Sensor ) [private]

Restrict the assignment operator

void karto::Sensor::SetOffsetPose ( const Pose2 rPose) [inline]

Sets this range finder sensor's offset

Parameters:
rPose

Definition at line 3460 of file Karto.h.

virtual kt_bool karto::Sensor::Validate ( ) [pure virtual]

Validates sensor

Returns:
true if valid

Implemented in karto::LaserRangeFinder, and karto::Drive.

virtual kt_bool karto::Sensor::Validate ( SensorData pSensorData) [pure virtual]

Validates sensor data

Parameters:
pSensorDatasensor data
Returns:
true if valid

Implemented in karto::LaserRangeFinder, and karto::Drive.


Member Data Documentation

Sensor offset pose

Definition at line 3493 of file Karto.h.


The documentation for this class was generated from the following files:


open_karto
Author(s):
autogenerated on Thu Jun 6 2019 21:02:57