Public Types | Public Member Functions | List of all members
gazebo::SkidSteerDrivePlugin Class Reference

A gazebo model plugin that controls a four wheel skid-steer robot via a gazebo topic. More...

#include <SkidSteerDrivePlugin.hh>

Inheritance diagram for gazebo::SkidSteerDrivePlugin:
Inheritance graph
[legend]

Public Types

enum  { RIGHT_FRONT, RIGHT_REAR, LEFT_FRONT, LEFT_REAR }
 
- Public Types inherited from gazebo::PluginT< ModelPlugin >
typedef boost::shared_ptr
< ModelPlugin
TPtr
 plugin pointer type definition More...
 

Public Member Functions

 SkidSteerDrivePlugin ()
 Default Contstuctor. More...
 
void Load (physics::ModelPtr _model, sdf::ElementPtr _sdf)
 Called when the plugin is loaded. More...
 
- Public Member Functions inherited from gazebo::ModelPlugin
 ModelPlugin ()
 Constructor. More...
 
virtual ~ModelPlugin ()
 Destructor. More...
 
virtual void Init ()
 Override this method for custom plugin initialization behavior. More...
 
virtual void Reset ()
 Override this method for custom plugin reset behavior. More...
 
- Public Member Functions inherited from gazebo::PluginT< ModelPlugin >
 PluginT ()
 Constructor. More...
 
virtual ~PluginT ()
 Destructor. More...
 
std::string GetFilename () const
 Get the name of the handler. More...
 
std::string GetHandle () const
 Get the short name of the handler. More...
 
PluginType GetType () const
 Returns the type of the plugin. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from gazebo::PluginT< ModelPlugin >
static TPtr Create (const std::string &_filename, const std::string &_name)
 a class method that creates a plugin from a file name. More...
 
- Protected Attributes inherited from gazebo::PluginT< ModelPlugin >
std::string filename
 Path to the shared library file. More...
 
std::string handleName
 Short name. More...
 
PluginType type
 Type of plugin. More...
 

Detailed Description

A gazebo model plugin that controls a four wheel skid-steer robot via a gazebo topic.

See the Pioneer3AT model in the OSRF model database for an example use case.

Member Enumeration Documentation

anonymous enum
Enumerator
RIGHT_FRONT 
RIGHT_REAR 
LEFT_FRONT 
LEFT_REAR 

Constructor & Destructor Documentation

gazebo::SkidSteerDrivePlugin::SkidSteerDrivePlugin ( )

Default Contstuctor.

Member Function Documentation

void gazebo::SkidSteerDrivePlugin::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
)
virtual

Called when the plugin is loaded.

Parameters
[in]_modelPointer to the model for which the plugin is loaded
[in]_sdfPointer to the SDF for _model

Implements gazebo::ModelPlugin.


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