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

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