25 #ifndef DIFFDRIVE_PLUGIN_HH 26 #define DIFFDRIVE_PLUGIN_HH 30 #include <gazebo/common/Plugin.hh> 31 #include <gazebo/common/Time.hh> 37 #include <geometry_msgs/Twist.h> 38 #include <nav_msgs/Odometry.h> 45 #include <boost/thread.hpp> 46 #include <boost/bind.hpp> 59 virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf);
103 void cmdVelCallback(
const geometry_msgs::Twist::ConstPtr& cmd_msg);
void cmdVelCallback(const geometry_msgs::Twist::ConstPtr &cmd_msg)
virtual ~DiffDrivePlugin6W()
ros::NodeHandle * rosnode_
physics::JointPtr joints[6]
boost::thread callback_queue_thread_
ros::CallbackQueue queue_
common::Time prevUpdateTime
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf)
tf::TransformBroadcaster * transform_broadcaster_
event::ConnectionPtr updateConnection