Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
gazebo::DiffDrivePlugin Class Reference

#include <diffdrive_plugin.h>

List of all members.

Public Member Functions

 DiffDrivePlugin ()
void Load (physics::ModelPtr _parent, sdf::ElementPtr _sdf)
 ~DiffDrivePlugin ()

Protected Member Functions

virtual void FiniChild ()
virtual void UpdateChild ()

Private Member Functions

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

Private Attributes

bool alive_
boost::thread callback_queue_thread_
physics::JointPtr joints [2]
std::string leftJointName
boost::mutex lock
nav_msgs::Odometry odom_
double odomPose [3]
double odomVel [3]
physics::ModelPtr parent
physics::PhysicsEnginePtr physicsEngine
ros::Publisher pub_
ros::CallbackQueue queue_
std::string rightJointName
std::string robotNamespace
ros::NodeHandlerosnode_
double rot_
ros::Subscriber sub_
std::string tf_prefix_
std::string topicName
double torque
tf::TransformBroadcastertransform_broadcaster_
event::ConnectionPtr updateConnection
double wheelDiameter
double wheelSeparation
double wheelSpeed [2]
physics::WorldPtr world
double x_

Detailed Description

Definition at line 56 of file diffdrive_plugin.h.


Constructor & Destructor Documentation

Definition at line 57 of file diffdrive_plugin.cpp.

Definition at line 62 of file diffdrive_plugin.cpp.


Member Function Documentation

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

Definition at line 261 of file diffdrive_plugin.cpp.

void gazebo::DiffDrivePlugin::FiniChild ( ) [protected, virtual]

Definition at line 235 of file diffdrive_plugin.cpp.

Definition at line 244 of file diffdrive_plugin.cpp.

void gazebo::DiffDrivePlugin::Load ( physics::ModelPtr  _parent,
sdf::ElementPtr  _sdf 
)

Definition at line 69 of file diffdrive_plugin.cpp.

Definition at line 281 of file diffdrive_plugin.cpp.

Definition at line 271 of file diffdrive_plugin.cpp.

void gazebo::DiffDrivePlugin::UpdateChild ( ) [protected, virtual]

Definition at line 194 of file diffdrive_plugin.cpp.

Definition at line 322 of file diffdrive_plugin.cpp.


Member Data Documentation

Definition at line 110 of file diffdrive_plugin.h.

Definition at line 102 of file diffdrive_plugin.h.

physics::JointPtr gazebo::DiffDrivePlugin::joints[2] [private]

Definition at line 84 of file diffdrive_plugin.h.

Definition at line 73 of file diffdrive_plugin.h.

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

Definition at line 95 of file diffdrive_plugin.h.

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

Definition at line 92 of file diffdrive_plugin.h.

double gazebo::DiffDrivePlugin::odomPose[3] [private]

Definition at line 81 of file diffdrive_plugin.h.

double gazebo::DiffDrivePlugin::odomVel[3] [private]

Definition at line 82 of file diffdrive_plugin.h.

physics::ModelPtr gazebo::DiffDrivePlugin::parent [private]

Definition at line 70 of file diffdrive_plugin.h.

physics::PhysicsEnginePtr gazebo::DiffDrivePlugin::physicsEngine [private]

Definition at line 85 of file diffdrive_plugin.h.

Definition at line 89 of file diffdrive_plugin.h.

Definition at line 101 of file diffdrive_plugin.h.

Definition at line 74 of file diffdrive_plugin.h.

Definition at line 97 of file diffdrive_plugin.h.

Definition at line 88 of file diffdrive_plugin.h.

Definition at line 109 of file diffdrive_plugin.h.

Definition at line 90 of file diffdrive_plugin.h.

std::string gazebo::DiffDrivePlugin::tf_prefix_ [private]

Definition at line 93 of file diffdrive_plugin.h.

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

Definition at line 98 of file diffdrive_plugin.h.

Definition at line 78 of file diffdrive_plugin.h.

Definition at line 91 of file diffdrive_plugin.h.

Definition at line 71 of file diffdrive_plugin.h.

Definition at line 77 of file diffdrive_plugin.h.

Definition at line 76 of file diffdrive_plugin.h.

Definition at line 79 of file diffdrive_plugin.h.

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

Definition at line 69 of file diffdrive_plugin.h.

double gazebo::DiffDrivePlugin::x_ [private]

Definition at line 108 of file diffdrive_plugin.h.


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


erratic_gazebo_plugins
Author(s): Daniel Hewlett, Antons Rebguns
autogenerated on Sun Oct 5 2014 23:50:05