16 #ifndef __ROS_BASE_SENSOR_PLUGIN_HH__ 17 #define __ROS_BASE_SENSOR_PLUGIN_HH__ 19 #include <gazebo/common/Plugin.hh> 20 #include <gazebo/gazebo.hh> 21 #include <gazebo/physics/physics.hh> 22 #include <gazebo/sensors/sensors.hh> 24 #include <boost/bind.hpp> 38 protected:
virtual void Load(sensors::SensorPtr _model,
39 sdf::ElementPtr _sdf);
42 protected:
virtual bool OnUpdate(
const common::UpdateInfo&);
49 #endif // __ROS_BASE_SENSOR_PLUGIN_HH__ virtual ~ROSBaseSensorPlugin()
Class destructor.
virtual void Load(sensors::SensorPtr _model, sdf::ElementPtr _sdf)
Load plugin and its configuration from sdf,.
ROSBaseSensorPlugin()
Class constructor.
virtual bool OnUpdate(const common::UpdateInfo &)
Update callback from simulation.
sensors::SensorPtr parentSensor
Pointer to the parent sensor.