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

namespace  gazebo
 Forward declarations for the common classes.
namespace  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.
void disable ()
 Disable sensors.
void enable ()
 Enable sensors.
bool fini ()
 shutdown the sensor generation loop.
SensorPtr get_sensor (const std::string &_name)
 Get a sensor using by name.
bool init ()
 initialize the sensor generation loop.
bool load ()
 Load the sensor library.
void remove_sensor (const std::string &_sensorName)
 Remove a sensor by name.
bool remove_sensors ()
 Remove all sensors.
void run_once (bool _force=false)
 Run the sensor generation one step.
void run_threads ()
 Run sensors in a threads. This is a non-blocking call.
GAZEBO_VISIBLE bool running ()
 Return true if the manager is running.
void stop ()
 Stop the sensor generation loop.