A set of sensor classes, functions, and definitions. More...
Files | |
file | SensorTypes.hh |
Forward declarations and typedefs for sensors. | |
Namespaces | |
namespace | gazebo::sensors |
Sensors namespace. | |
Classes | |
class | gazebo::sensors::CameraSensor |
class | gazebo::sensors::ContactSensor |
class | gazebo::sensors::DepthCameraSensor |
class | gazebo::sensors::GpuRaySensor |
class | gazebo::sensors::ImuSensor |
An IMU sensor. More... | |
class | gazebo::sensors::RaySensor |
class | gazebo::sensors::RFIDSensor |
Sensor class for RFID type of sensor. More... | |
class | gazebo::sensors::RFIDTag |
RFIDTag to interact with RFIDTagSensors Nate check. More... | |
class | gazebo::sensors::RFIDTagManager |
Nate fill in More... | |
class | gazebo::sensors::Sensor |
class | SensorFactor |
The sensor factory; the class is just for namespacing purposes. More... | |
class | gazebo::sensors::SensorFactory |
class | gazebo::sensors::SensorManager |
Class to manage and update all sensors. More... | |
Macros | |
#define | GZ_REGISTER_STATIC_SENSOR(name, classname) |
Static sensor registration macro. | |
Functions | |
std::string | gazebo::sensors::create_sensor (sdf::ElementPtr _elem, const std::string &_worldName, const std::string &_parentName) |
Create a sensor using SDF. | |
bool | gazebo::sensors::fini () |
shutdown the sensor generation loop. | |
SensorPtr | gazebo::sensors::get_sensor (const std::string &_name) |
Get a sensor using by name. | |
bool | gazebo::sensors::init () |
initialize the sensor generation loop. | |
bool | gazebo::sensors::load () |
void | gazebo::sensors::remove_sensor (const std::string &_sensorName) |
Remove a sensor by name. | |
bool | gazebo::sensors::remove_sensors () |
Remove all sensors. | |
void | gazebo::sensors::run () |
Run sensor generation continuously. This is a blocking call. | |
void | gazebo::sensors::run_once (bool _force=true) |
Run the sensor generation one step. | |
void | gazebo::sensors::stop () |
Stop the sensor generation loop. | |
A set of sensor classes, functions, and definitions.
Load the sensor library.
class Sensor Sensor.hh sensors/sensors.hh
Sensor with one or more rays.
This class inherits from Sensor, but looks like it specifically doesn't override any methods, is this intentional? i.e.
GPU based laser sensor.
Contact sensor.
Basic camera sensor This sensor is used for simulating standard monocular cameras
This sensor detects and reports contacts between objects
Depth camera sensor This sensor is used for simulating standard monocular cameras
This sensor cast rays into the world, tests for intersections, and reports the range to the nearest object. It is used by ranging sensor models (e.g., sonars and scanning laser range finders).
LoadChild instead of Load, InitChild instead of Init
Base class for sensors
#define GZ_REGISTER_STATIC_SENSOR | ( | name, | |
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. |
std::string gazebo::sensors::create_sensor | ( | sdf::ElementPtr | _elem, |
const std::string & | _worldName, | ||
const std::string & | _parentName | ||
) |
Create a sensor using SDF.
[in] | _elem | The SDF element that describes the sensor |
[in] | _worldName | Name of the world in which to create the sensor |
[in] | _parentName | The fully scoped parent name (model::link) |
bool gazebo::sensors::fini | ( | ) |
shutdown the sensor generation loop.
SensorPtr gazebo::sensors::get_sensor | ( | const std::string & | _name | ) |
Get a sensor using by name.
The given name should have: world_name::model_name::link_name::sensor_name
[in] | _name | Name of the sensor. This name should be fully scoped. This means _name = world_name::model_name::link_name::sensor_name. You may use the unscoped sensor name if that name is unique within the entire simulation. If the name is not unique a NULL pointer is returned. |
bool gazebo::sensors::init | ( | ) |
initialize the sensor generation loop.
bool gazebo::sensors::load | ( | ) |
void gazebo::sensors::remove_sensor | ( | const std::string & | _sensorName | ) |
Remove a sensor by name.
[in] | _sensorName | Name of sensor to remove |
bool gazebo::sensors::remove_sensors | ( | ) |
Remove all sensors.
void gazebo::sensors::run | ( | ) |
Run sensor generation continuously. This is a blocking call.
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. |
void gazebo::sensors::stop | ( | ) |
Stop the sensor generation loop.