Deadalus
 All Classes Functions Variables
Public Member Functions | Private Member Functions | Private Attributes
gazebo::GazeboIMUPlugin Class Reference

An example plugin for a contact sensor. More...

#include <gazebo_imu_plugin.hh>

List of all members.

Public Member Functions

 GazeboIMUPlugin ()
 Constructor.
virtual ~GazeboIMUPlugin ()
 Destructor.
virtual void Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
 Load the sensor plugin.

Private Member Functions

virtual void OnUpdate ()
 Callback that recieves the contact sensor's update signal.

Private Attributes

sensors::ImuSensorPtr parentSensor
 Pointer to the contact sensor.
event::ConnectionPtr updateConnection
 Connection that maintains a link between the contact sensor's updated signal and the OnUpdate callback.
double m_acc_x
double m_acc_y
double m_acc_z
double m_omega_x
double m_omega_y
double m_omega_z

Detailed Description

An example plugin for a contact sensor.


Member Function Documentation

void GazeboIMUPlugin::Load ( sensors::SensorPtr  _sensor,
sdf::ElementPtr  _sdf 
) [virtual]

Load the sensor plugin.

Parameters:
[in]_sensorPointer to the sensor that loaded this plugin.
[in]_sdfSDF element that describes the plugin.

The documentation for this class was generated from the following files:
 All Classes Functions Variables