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 link_name_
boost::mutex lock
std::string namespace_
nav_msgs::Odometry odom_
float odomPose [3]
float odomVel [3]
common::Time prevUpdateTime
ros::Publisher pub_
ros::CallbackQueue queue_
ros::NodeHandlerosnode_
float rot_
ros::Subscriber sub_
std::string tf_prefix_
std::string topic_
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 51 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 267 of file diffdrive_plugin_6w.cpp.

Definition at line 244 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 294 of file diffdrive_plugin_6w.cpp.

Definition at line 282 of file diffdrive_plugin_6w.cpp.

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

Definition at line 166 of file diffdrive_plugin_6w.cpp.

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

Definition at line 191 of file diffdrive_plugin_6w.cpp.


Member Data Documentation

Definition at line 107 of file diffdrive_plugin_6w.h.

Definition at line 99 of file diffdrive_plugin_6w.h.

Definition at line 79 of file diffdrive_plugin_6w.h.

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

Definition at line 69 of file diffdrive_plugin_6w.h.

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

Definition at line 67 of file diffdrive_plugin_6w.h.

Definition at line 95 of file diffdrive_plugin_6w.h.

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

Definition at line 91 of file diffdrive_plugin_6w.h.

Definition at line 93 of file diffdrive_plugin_6w.h.

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

Definition at line 88 of file diffdrive_plugin_6w.h.

Definition at line 80 of file diffdrive_plugin_6w.h.

Definition at line 81 of file diffdrive_plugin_6w.h.

Definition at line 77 of file diffdrive_plugin_6w.h.

Definition at line 85 of file diffdrive_plugin_6w.h.

Definition at line 98 of file diffdrive_plugin_6w.h.

Definition at line 84 of file diffdrive_plugin_6w.h.

Definition at line 106 of file diffdrive_plugin_6w.h.

Definition at line 86 of file diffdrive_plugin_6w.h.

Definition at line 89 of file diffdrive_plugin_6w.h.

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

Definition at line 94 of file diffdrive_plugin_6w.h.

Definition at line 73 of file diffdrive_plugin_6w.h.

Definition at line 87 of file diffdrive_plugin_6w.h.

Definition at line 110 of file diffdrive_plugin_6w.h.

Definition at line 72 of file diffdrive_plugin_6w.h.

Definition at line 71 of file diffdrive_plugin_6w.h.

Definition at line 74 of file diffdrive_plugin_6w.h.

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

Definition at line 68 of file diffdrive_plugin_6w.h.

Definition at line 105 of file diffdrive_plugin_6w.h.


The documentation for this class was generated from the following files:


hector_gazebo_plugins
Author(s): Stefan Kohlbrecher , Johannes Meyer
autogenerated on Wed Aug 26 2015 11:44:35