17 #ifndef _GAZEBO_DIFFDRIVE_PLUGIN_HH_ 18 #define _GAZEBO_DIFFDRIVE_PLUGIN_HH_ 21 #include "gazebo/physics/physics.hh" 32 public:
virtual void Init();
34 private:
void OnUpdate();
36 private:
void OnVelMsg(ConstPosePtr &_msg);
44 private:
double wheelSpeed[2];
45 private:
double wheelSeparation;
46 private:
double wheelRadius;
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
Forward declarations for the common classes.
Definition: Animation.hh:33
Forward declarations for transport.
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:108
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:88
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Definition: DiffDrivePlugin.hh:28
A plugin with access to physics::Model.
Definition: Plugin.hh:245
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:44