Go to the documentation of this file.
18 #ifndef GAZEBO_PLUGINS_SONARPLUGIN_HH_
19 #define GAZEBO_PLUGINS_SONARPLUGIN_HH_
44 protected:
virtual void OnUpdate(msgs::SonarStamped _msg);
virtual void OnUpdate(msgs::SonarStamped _msg)
Update callback.
SonarPlugin()
Constructor.
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:64
Forward declarations for the common classes.
Definition: Animation.hh:27
Forward declarations and typedefs for sensors.
sensors::SonarSensorPtr parentSensor
The parent sensor.
Definition: SonarPlugin.hh:47
A plugin with access to physics::Sensor. See reference.
Definition: Plugin.hh:333
std::shared_ptr< SonarSensor > SonarSensorPtr
Definition: SensorTypes.hh:112
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
void Load(sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
Load the plugin.
A sonar sensor plugin.
Definition: SonarPlugin.hh:30
virtual ~SonarPlugin()
Destructor.