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

#include <Sensor.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 void Validate ()=0
virtual void Validate (SensorData *pSensorData)=0

Protected Member Functions

 Sensor (const Identifier &rName)

Private Member Functions

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

Private Attributes

Parameter< Pose2 > * m_pOffsetPose

Detailed Description

Abstract sensor base class

Definition at line 46 of file Sensor.h.


Constructor & Destructor Documentation

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

Constructs a sensor with the given name

Parameters:
rNamesensor name

Definition at line 49 of file Sensor.cpp.

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

Member Function Documentation

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

Gets this sensor's offset

Returns:
offset pose

Definition at line 69 of file Sensor.h.

Reimplemented from karto::Object.

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

const Sensor& karto::Sensor::operator= ( const Sensor ) [private]
void karto::Sensor::SetOffsetPose ( const Pose2 rPose) [inline]

Sets this sensor's offset

Parameters:
rPosenew offset pose

Definition at line 78 of file Sensor.h.

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

Validates this sensor

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

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

Validates sensor data

Parameters:
pSensorDatasensor data

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


Member Data Documentation

Sensor offset pose

Definition at line 103 of file Sensor.h.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 04:05:24