Gazebo

Sensors


Detailed Description

The sensors.

Basic camera sensor

Sensor with one or more rays.

Stubbed out sensor

Base class for sensors

The sensor factory; the class is just for namespacing purposes.


Modules

 Camera
 Ray
 Sensor Stub

Classes

class  CameraSensor
class  RaySensor
class  Sensor
class  SensorFactory
class  SensorStub

Defines

#define GZ_REGISTER_STATIC_SENSOR(name, classname)


Define Documentation

#define GZ_REGISTER_STATIC_SENSOR ( name,
classname   ) 

Value:

Sensor *New##classname(Body *body) \
{ \
  return new classname(body); \
} \
void Register##classname() \
{\
  SensorFactory::RegisterSensor("static", name, New##classname);\
}
Static sensor registration macro Use this macro to register sensors with the server.
Parameters:
name Sensor type name, as it appears in the world file.
classname C++ class name for the sensor.


Last updated Aug 04 2007