All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
gazebo::DiffDrivePlugin6W Class Reference

#include <diffdrive_plugin_6w.h>

List of all members.

Public Member Functions

 DiffDrivePlugin6W ()
virtual ~DiffDrivePlugin6W ()

Protected Member Functions

virtual void Load (physics::ModelPtr _model, sdf::ElementPtr _sdf)
virtual void Reset ()
virtual void Update ()

Private Member Functions

void cmdVelCallback (const geometry_msgs::Twist::ConstPtr &cmd_msg)
void GetPositionCmd ()
void publish_odometry ()
void QueueThread ()

Private Attributes

bool alive_
boost::thread callback_queue_thread_
bool enableMotors
physics::JointPtr joints [6]
physics::LinkPtr link
std::string linkName
boost::mutex lock
nav_msgs::Odometry odom_
float odomPose [3]
float odomVel [3]
common::Time prevUpdateTime
ros::Publisher pub_
ros::CallbackQueue queue_
std::string robotNamespace
ros::NodeHandlerosnode_
float rot_
ros::Subscriber sub_
std::string tf_prefix_
std::string topicName
float torque
tf::TransformBroadcastertransform_broadcaster_
event::ConnectionPtr updateConnection
float wheelDiam
float wheelSep
float wheelSpeed [2]
physics::WorldPtr world
float x_

Detailed Description

Definition at line 50 of file diffdrive_plugin_6w.h.


Constructor & Destructor Documentation

Definition at line 61 of file diffdrive_plugin_6w.cpp.

Definition at line 66 of file diffdrive_plugin_6w.cpp.


Member Function Documentation

void gazebo::DiffDrivePlugin6W::cmdVelCallback ( const geometry_msgs::Twist::ConstPtr &  cmd_msg) [private]

Definition at line 271 of file diffdrive_plugin_6w.cpp.

Definition at line 248 of file diffdrive_plugin_6w.cpp.

void gazebo::DiffDrivePlugin6W::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
) [protected, virtual]

Definition at line 76 of file diffdrive_plugin_6w.cpp.

Definition at line 298 of file diffdrive_plugin_6w.cpp.

Definition at line 286 of file diffdrive_plugin_6w.cpp.

void gazebo::DiffDrivePlugin6W::Reset ( ) [protected, virtual]

Definition at line 170 of file diffdrive_plugin_6w.cpp.

void gazebo::DiffDrivePlugin6W::Update ( ) [protected, virtual]

Definition at line 195 of file diffdrive_plugin_6w.cpp.


Member Data Documentation

Definition at line 106 of file diffdrive_plugin_6w.h.

Definition at line 98 of file diffdrive_plugin_6w.h.

Definition at line 78 of file diffdrive_plugin_6w.h.

physics::JointPtr gazebo::DiffDrivePlugin6W::joints[6] [private]

Definition at line 68 of file diffdrive_plugin_6w.h.

physics::LinkPtr gazebo::DiffDrivePlugin6W::link [private]

Definition at line 66 of file diffdrive_plugin_6w.h.

std::string gazebo::DiffDrivePlugin6W::linkName [private]

Definition at line 94 of file diffdrive_plugin_6w.h.

boost::mutex gazebo::DiffDrivePlugin6W::lock [private]

Definition at line 90 of file diffdrive_plugin_6w.h.

nav_msgs::Odometry gazebo::DiffDrivePlugin6W::odom_ [private]

Definition at line 87 of file diffdrive_plugin_6w.h.

Definition at line 79 of file diffdrive_plugin_6w.h.

Definition at line 80 of file diffdrive_plugin_6w.h.

Definition at line 76 of file diffdrive_plugin_6w.h.

Definition at line 84 of file diffdrive_plugin_6w.h.

Definition at line 97 of file diffdrive_plugin_6w.h.

Definition at line 92 of file diffdrive_plugin_6w.h.

Definition at line 83 of file diffdrive_plugin_6w.h.

Definition at line 105 of file diffdrive_plugin_6w.h.

Definition at line 85 of file diffdrive_plugin_6w.h.

Definition at line 88 of file diffdrive_plugin_6w.h.

std::string gazebo::DiffDrivePlugin6W::topicName [private]

Definition at line 93 of file diffdrive_plugin_6w.h.

Definition at line 72 of file diffdrive_plugin_6w.h.

Definition at line 86 of file diffdrive_plugin_6w.h.

Definition at line 109 of file diffdrive_plugin_6w.h.

Definition at line 71 of file diffdrive_plugin_6w.h.

Definition at line 70 of file diffdrive_plugin_6w.h.

Definition at line 73 of file diffdrive_plugin_6w.h.

physics::WorldPtr gazebo::DiffDrivePlugin6W::world [private]

Definition at line 67 of file diffdrive_plugin_6w.h.

Definition at line 104 of file diffdrive_plugin_6w.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


hector_gazebo_plugins
Author(s): Stefan Kohlbrecher and Johannes Meyer
autogenerated on Mon Jul 15 2013 16:46:30