A set of sensor classes, functions, and definitions. More...
Classes | |
| class | CameraSensor |
| Basic camera sensor This sensor is used for simulating standard monocular cameras. More... | |
| class | ContactSensor |
| Contact sensor. More... | |
| class | DepthCameraSensor |
| Basic camera sensor This sensor is used for simulating standard monocular cameras. More... | |
| class | ImuSensor |
| An IMU sensor. More... | |
| class | IRSensor |
| Sensor with one or more rays. 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 | SensorManager |
| Class to manage and update all sensors. More... | |
Namespaces | |
| namespace | gazebo::sensors |
Sensors namespace. | |
Files | |
| file | SensorTypes.hh |
Forward declarations and typedefs for sensors. | |
Defines | |
| #define | GZ_REGISTER_STATIC_SENSOR(name, classname) |
| Static sensor registration macro. | |
Functions | |
| bool | load () |
| Load the sensor library. | |
| std::string | create_sensor (sdf::ElementPtr _elem, const std::string &_parentName) |
| void | run_once (bool force=true) |
| Run the sensor generation one step. | |
| void | run () |
| Run sensor generation continuously. This is a blocking call. | |
| void | stop () |
| Stop the sensor generation loop. | |
| bool | init () |
| bool | fini () |
| bool | remove_sensors () |
| SensorPtr | get_sensor (const std::string &_name) |
| Get a sensor by name. | |
A set of sensor classes, functions, and definitions.
| #define GZ_REGISTER_STATIC_SENSOR | ( | name, | |
| classname | |||
| ) |
Sensor *New##classname() \ { \ return new gazebo::sensors::classname(); \ } \ void Register##classname() \ {\ SensorFactory::RegisterSensor( name, New##classname);\ }
Static sensor registration macro.
Use this macro to register sensors with the server.
| name | Sensor type name, as it appears in the world file. |
| classname | C++ class name for the sensor. |
| void gazebo::sensors::run_once | ( | bool | force = true | ) |
Run the sensor generation one step.
| force,: | If true, all sensors are forced to update. Otherwise a sensor will update based on it's Hz rate. |
1.7.5.1