Classes | Typedefs | Enumerations | Functions
gazebo::sensors Namespace Reference

Sensors namespace. More...

Classes

class  AltimeterSensor
 AltimeterSensor to provide vertical position and velocity. More...
 
class  AltimeterSensorPrivate
 
class  CameraSensor
 Basic camera sensor. More...
 
class  ContactSensor
 Contact sensor. More...
 
class  DepthCameraSensor
 
class  ForceTorqueSensor
 Sensor for measure force and torque on a joint. More...
 
class  GaussianNoiseModel
 Gaussian noise class. More...
 
class  GpsSensor
 GpsSensor to provide position measurement. More...
 
class  GpuRaySensor
 GPU based laser sensor. More...
 
class  ImageGaussianNoiseModel
 
class  ImuSensor
 An IMU sensor. More...
 
class  LogicalCameraSensor
 A camera sensor that reports locations of objects instead of rendering a scene. More...
 
class  LogicalCameraSensorPrivate
 
class  MagnetometerSensor
 MagnetometerSensor to provide magnetic field measurement. More...
 
class  MagnetometerSensorPrivate
 
class  MultiCameraSensor
 Multiple camera sensor. More...
 
class  Noise
 Noise models for sensor output signals. More...
 
class  NoiseFactory
 Use this noise manager for creating and loading noise models. More...
 
class  RaySensor
 Sensor with one or more rays. More...
 
class  RFIDSensor
 Sensor class for RFID type of sensor. More...
 
class  RFIDTag
 RFIDTag to interact with RFIDTagSensors. More...
 
class  Sensor
 Base class for sensors. More...
 
class  SensorFactory
 
class  SensorManager
 Class to manage and update all sensors. More...
 
class  SonarSensor
 Sensor with sonar cone. More...
 
class  WirelessReceiver
 Sensor class for receiving wireless signals. More...
 
class  WirelessTransceiver
 Sensor class for receiving wireless signals. More...
 
class  WirelessTransmitter
 Transmitter to send wireless signals. More...
 

Typedefs

typedef std::vector
< AltimeterSensor
AltimeterSensor_V
 
typedef boost::shared_ptr
< AltimeterSensor
AltimeterSensorPtr
 
typedef std::vector
< CameraSensorPtr
CameraSensor_V
 
typedef boost::shared_ptr
< CameraSensor
CameraSensorPtr
 
typedef std::vector
< ContactSensorPtr
ContactSensor_V
 
typedef boost::shared_ptr
< ContactSensor
ContactSensorPtr
 
typedef std::vector
< DepthCameraSensorPtr
DepthCameraSensor_V
 
typedef boost::shared_ptr
< DepthCameraSensor
DepthCameraSensorPtr
 
typedef boost::shared_ptr
< ForceTorqueSensor
ForceTorqueSensorPtr
 
typedef boost::shared_ptr
< GaussianNoiseModel
GaussianNoiseModelPtr
 
typedef boost::shared_ptr
< GpsSensor
GpsSensorPtr
 
typedef std::vector
< GpuRaySensorPtr
GpuRaySensor_V
 
typedef boost::shared_ptr
< GpuRaySensor
GpuRaySensorPtr
 
typedef boost::shared_ptr
< ImageGaussianNoiseModel
ImageGaussianNoiseModelPtr
 Shared pointer to Noise. More...
 
typedef std::vector< ImuSensorPtrImuSensor_V
 
typedef boost::shared_ptr
< ImuSensor
ImuSensorPtr
 
typedef boost::shared_ptr
< LogicalCameraSensor
LogicalCameraSensorPtr
 
typedef boost::shared_ptr
< MagnetometerSensor
MagnetometerSensorPtr
 
typedef std::vector
< MultiCameraSensorPtr
MultiCameraSensor_V
 
typedef boost::shared_ptr
< MultiCameraSensor
MultiCameraSensorPtr
 
typedef boost::shared_ptr< NoiseNoisePtr
 
typedef std::vector< RaySensorPtrRaySensor_V
 
typedef boost::shared_ptr
< RaySensor
RaySensorPtr
 
typedef std::vector< RFIDSensorRFIDSensor_V
 
typedef boost::shared_ptr
< RFIDSensor
RFIDSensorPtr
 
typedef std::vector< RFIDTagRFIDTag_V
 
typedef boost::shared_ptr
< RFIDTag
RFIDTagPtr
 
typedef std::vector< SensorPtrSensor_V
 
typedef Sensor *(* SensorFactoryFn )()
 
typedef boost::shared_ptr< SensorSensorPtr
 
typedef boost::shared_ptr
< SonarSensor
SonarSensorPtr
 
typedef std::vector
< WirelessReceiver
WirelessReceiver_V
 
typedef boost::shared_ptr
< WirelessReceiver
WirelessReceiverPtr
 
typedef std::vector
< WirelessTransceiver
WirelessTransceiver_V
 
typedef boost::shared_ptr
< WirelessTransceiver
WirelessTransceiverPtr
 
typedef std::vector
< WirelessTransmitter
WirelessTransmitter_V
 
typedef boost::shared_ptr
< WirelessTransmitter
WirelessTransmitterPtr
 

Enumerations

enum  SensorCategory { IMAGE = 0, RAY = 1, OTHER = 2, CATEGORY_COUNT = 3 }
 SensorClass is used to categorize sensors. More...
 
enum  SensorNoiseType {
  NO_NOISE = 0, CAMERA_NOISE = 1, GPU_RAY_NOISE = 2, GPS_POSITION_LATITUDE_NOISE_METERS = 3,
  GPS_POSITION_LONGITUDE_NOISE_METERS = 4, GPS_POSITION_ALTITUDE_NOISE_METERS = 5, GPS_VELOCITY_LATITUDE_NOISE_METERS = 6, GPS_VELOCITY_LONGITUDE_NOISE_METERS = 7,
  GPS_VELOCITY_ALTITUDE_NOISE_METERS = 8, RAY_NOISE = 9, MAGNETOMETER_X_NOISE_TESLA = 10, MAGNETOMETER_Y_NOISE_TESLA = 11,
  MAGNETOMETER_Z_NOISE_TESLA = 12, ALTIMETER_POSITION_NOISE_METERS = 13, ALTIMETER_VELOCITY_NOISE_METERS_PER_S = 14, IMU_ANGVEL_X_NOISE_RADIANS_PER_S = 15,
  IMU_ANGVEL_Y_NOISE_RADIANS_PER_S = 16, IMU_ANGVEL_Z_NOISE_RADIANS_PER_S = 17, IMU_LINACC_X_NOISE_METERS_PER_S_SQR = 18, IMU_LINACC_Y_NOISE_METERS_PER_S_SQR = 19,
  IMU_LINACC_Z_NOISE_METERS_PER_S_SQR = 20
}
 

Functions

GAZEBO_VISIBLE std::string create_sensor (sdf::ElementPtr _elem, const std::string &_worldName, const std::string &_parentName, uint32_t _parentId)
 Create a sensor using SDF. More...
 
GAZEBO_VISIBLE void disable ()
 Disable sensors. More...
 
GAZEBO_VISIBLE void enable ()
 Enable sensors. More...
 
GAZEBO_VISIBLE bool fini ()
 shutdown the sensor generation loop. More...
 
GAZEBO_VISIBLE SensorPtr get_sensor (const std::string &_name)
 Get a sensor using by name. More...
 
GAZEBO_VISIBLE bool init ()
 initialize the sensor generation loop. More...
 
GAZEBO_VISIBLE bool load ()
 Load the sensor library. More...
 
GAZEBO_VISIBLE void remove_sensor (const std::string &_sensorName)
 Remove a sensor by name. More...
 
GAZEBO_VISIBLE bool remove_sensors ()
 Remove all sensors. More...
 
GAZEBO_VISIBLE void run_once (bool _force=false)
 Run the sensor generation one step. More...
 
GAZEBO_VISIBLE void run_threads ()
 Run sensors in a threads. This is a non-blocking call. More...
 
GAZEBO_VISIBLE void stop ()
 Stop the sensor generation loop. More...
 

Detailed Description

Sensors namespace.

Typedef Documentation

typedef boost::shared_ptr<CameraSensor> gazebo::sensors::CameraSensorPtr
typedef boost::shared_ptr<GpsSensor> gazebo::sensors::GpsSensorPtr
typedef boost::shared_ptr<GpuRaySensor> gazebo::sensors::GpuRaySensorPtr

Shared pointer to Noise.

typedef boost::shared_ptr<ImuSensor> gazebo::sensors::ImuSensorPtr
typedef boost::shared_ptr<Noise> gazebo::sensors::NoisePtr
typedef boost::shared_ptr<RaySensor> gazebo::sensors::RaySensorPtr
typedef boost::shared_ptr<RFIDSensor> gazebo::sensors::RFIDSensorPtr
typedef std::vector<RFIDTag> gazebo::sensors::RFIDTag_V
typedef boost::shared_ptr<RFIDTag> gazebo::sensors::RFIDTagPtr
typedef std::vector<SensorPtr> gazebo::sensors::Sensor_V
typedef Sensor*(* gazebo::sensors::SensorFactoryFn)()
typedef boost::shared_ptr<Sensor> gazebo::sensors::SensorPtr
typedef boost::shared_ptr<SonarSensor> gazebo::sensors::SonarSensorPtr

Enumeration Type Documentation

SensorClass is used to categorize sensors.

This is used to put sensors into different threads.

Enumerator
IMAGE 

Image based sensor class.

This type requires the rendering engine.

RAY 

Ray based sensor class.

OTHER 

A type of sensor is not a RAY or IMAGE sensor.

CATEGORY_COUNT 

Number of Sensor Categories.

Enumerator
NO_NOISE 

Noise streams for the Camera sensor.

See Also
CameraSensor
CAMERA_NOISE 

Noise streams for the Camera sensor.

See Also
CameraSensor
GPU_RAY_NOISE 

Noise streams for the GPU ray sensor.

See Also
GpuRaySensor
GPS_POSITION_LATITUDE_NOISE_METERS 

GPS position latitude noise streams.

See Also
GpsSensor
GPS_POSITION_LONGITUDE_NOISE_METERS 

GPS position longitude noise streams.

See Also
GpsSensor
GPS_POSITION_ALTITUDE_NOISE_METERS 

GPS position altitude noise streams.

See Also
GpsSensor
GPS_VELOCITY_LATITUDE_NOISE_METERS 

GPS velocity latitude noise streams.

See Also
GpsSensor
GPS_VELOCITY_LONGITUDE_NOISE_METERS 

GPS velocity longitude noise streams.

See Also
GpsSensor
GPS_VELOCITY_ALTITUDE_NOISE_METERS 

GPS velocity altitude noise streams.

See Also
GpsSensor
RAY_NOISE 

Noise streams for the ray sensor.

See Also
RaySensor
MAGNETOMETER_X_NOISE_TESLA 

Magnetometer body-frame X axis noise in Tesla.

See Also
MagnetometerSensor
MAGNETOMETER_Y_NOISE_TESLA 

Magnetometer body-frame Y axis noise in Tesla.

See Also
MagnetometerSensor
MAGNETOMETER_Z_NOISE_TESLA 

Magnetometer body-frame Z axis noise in Tesla.

See Also
MagnetometerSensor
ALTIMETER_POSITION_NOISE_METERS 

Vertical noise stream for the altimeter sensor.

See Also
AltimeterSensor
ALTIMETER_VELOCITY_NOISE_METERS_PER_S 

Velocity noise streams for the altimeter sensor.

See Also
AltimeterSensor
IMU_ANGVEL_X_NOISE_RADIANS_PER_S 

IMU angular velocity X noise stream.

See Also
ImuSensor
IMU_ANGVEL_Y_NOISE_RADIANS_PER_S 

IMU angular velocity Y noise stream.

See Also
ImuSensor
IMU_ANGVEL_Z_NOISE_RADIANS_PER_S 

IMU angular velocity Z noise stream.

See Also
ImuSensor
IMU_LINACC_X_NOISE_METERS_PER_S_SQR 

IMU linear acceleration X noise stream.

See Also
ImuSensor
IMU_LINACC_Y_NOISE_METERS_PER_S_SQR 

IMU linear acceleration Y noise stream.

See Also
ImuSensor
IMU_LINACC_Z_NOISE_METERS_PER_S_SQR 

IMU linear acceleration Z noise stream.

See Also
ImuSensor