A gazebo model plugin that controls a four wheel skid-steer robot via a gazebo topic. More...
#include <SkidSteerDrivePlugin.hh>
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... | |
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.
gazebo::SkidSteerDrivePlugin::SkidSteerDrivePlugin | ( | ) |
Default Contstuctor.
|
virtual |
Called when the plugin is loaded.
[in] | _model | Pointer to the model for which the plugin is loaded |
[in] | _sdf | Pointer to the SDF for _model |
Implements gazebo::ModelPlugin.