SensorsIface.hh File Reference
#include <string>
#include <sdf/sdf.hh>
#include "gazebo/sensors/SensorTypes.hh"
#include "gazebo/util/system.hh"

Go to the source code of this file.

Namespaces

 gazebo
 Forward declarations for the common classes.
 
 gazebo::sensors
 Sensors namespace.
 

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...