simulator-sdk  1.14.5
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes
Sim::Sensor Class Reference

Sensor is a generic class defining a robot owned object that measure a quantity about it or its environment. More...

#include <alrobotmodel.h>

List of all members.

Public Types

enum  Type {
  ANGLE, COUPLED, SONAR, CAMERA,
  FSR, INERTIAL, BUMPER, TORQUE,
  ANGLE_SPEED, WHEEL_VELOCITY, TACTILE, DEPTH_INFRARED
}
 gives the type of the Sensor.

Public Member Functions

 Sensor ()
 creates an empty Sensor, you should not use this.
 ~Sensor ()
 destructor.
const Frameframe () const
 returns the Frame of the Sensor.
virtual const std::string & name () const
 returns the name of the Sensor.
Type type () const
 returns the Type of the Sensor.
virtual int bufferSize () const =0
 returns the maximum size of the buffer of a measure from the Sensor in bits.

Public Attributes

class SensorImpl * a_impl
 private implementation.

Detailed Description

Sensor is a generic class defining a robot owned object that measure a quantity about it or its environment.

Definition at line 681 of file alrobotmodel.h.


Constructor & Destructor Documentation

creates an empty Sensor, you should not use this.

Warning:
The Sensor being empty, every access to this object will throw.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator