Sensors
Detailed Description
The sensors.
Modules | |
Camera | |
Basic camera sensor. | |
Stereo Camera | |
Stereo camera sensor. | |
Ray | |
Sensor with one or more rays. | |
Sensor Stub | |
Stubbed out sensor. | |
Classes | |
class | CameraSensor |
Basic camera sensor. More... | |
class | MonoCameraSensor |
Basic camera sensor. More... | |
class | StereoCameraSensor |
Stereo camera sensor. More... | |
class | RaySensor |
Sensor with one or more rays. More... | |
class | Sensor |
Base class for sensors. More... | |
class | SensorFactory |
The sensor factory; the class is just for namespacing purposes. More... | |
class | SensorStub |
Stubbed out sensor. More... | |
Defines | |
#define | GZ_REGISTER_STATIC_SENSOR(name, classname) |
Static sensor registration macro. |
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);\ }\ StaticPluginRegister Registered##classname (Register##classname);
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.