17 #ifndef GAZEBO_PLUGINS_SKIDSTEERDRIVEPLUGIN_HH_
18 #define GAZEBO_PLUGINS_SKIDSTEERDRIVEPLUGIN_HH_
21 #include <ignition/transport/Node.hh>
24 #include "gazebo/physics/physics.hh"
28 #define NUMBER_OF_WHEELS 4
47 public:
enum {RIGHT_FRONT,
RIGHT_REAR, LEFT_FRONT, LEFT_REAR};
53 private:
int RegisterJoint(
int _index,
const std::string &_name);
57 private:
void OnVelMsg(ConstPosePtr &_msg);
72 private:
double wheelSeparation;
75 private:
double wheelRadius;
81 private: ignition::transport::Node nodeIgn;
Definition: SkidSteerDrivePlugin.hh:47
#define NUMBER_OF_WHEELS
Definition: SkidSteerDrivePlugin.hh:28
Forward declarations for transport.
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
A gazebo model plugin that controls a four wheel skid-steer robot via a gazebo topic.
Definition: SkidSteerDrivePlugin.hh:36
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:117
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:93
A plugin with access to physics::Model.
Definition: Plugin.hh:260
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59