17 #ifndef _GAZEBO_SENSORSIFACE_HH_
18 #define _GAZEBO_SENSORSIFACE_HH_
44 const std::string &_worldName,
const std::string &_parentName,
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:64
void remove_sensor(const std::string &_sensorName)
Remove a sensor by name.
void stop()
Stop the sensor generation loop.
std::string create_sensor(sdf::ElementPtr _elem, const std::string &_worldName, const std::string &_parentName, uint32_t _parentId)
Create a sensor using SDF.
bool init()
initialize the sensor generation loop.
void run_threads()
Run sensors in a threads. This is a non-blocking call.
void enable()
Enable sensors.
bool remove_sensors()
Remove all sensors.
Forward declarations and typedefs for sensors.
void disable()
Disable sensors.
SensorPtr get_sensor(const std::string &_name)
Get a sensor using by name.
bool load()
Load the sensor library.
void run_once(bool _force=false)
Run the sensor generation one step.
bool fini()
shutdown the sensor generation loop.