Fawkes API  Fawkes Development Version
gazebo::Motor Class Reference

Motor plugin for Gazebo. More...

#include <motor.h>

Inheritance diagram for gazebo::Motor:

Public Member Functions

 Motor ()
 Constructor. More...
 
 ~Motor ()
 Destructor. More...
 
virtual void Load (physics::ModelPtr _parent, sdf::ElementPtr)
 on loading of the plugin More...
 
virtual void OnUpdate (const common::UpdateInfo &)
 Called by the world update start event. More...
 
virtual void Reset ()
 on Gazebo reset More...
 

Detailed Description

Motor plugin for Gazebo.

Author
Frederik Zwilling

Definition at line 36 of file motor.h.

Constructor & Destructor Documentation

◆ Motor()

Motor::Motor ( )

Constructor.

Definition at line 30 of file motor.cpp.

◆ ~Motor()

Motor::~Motor ( )

Destructor.

Definition at line 34 of file motor.cpp.

Member Function Documentation

◆ Load()

void Motor::Load ( physics::ModelPtr  _parent,
sdf::ElementPtr   
)
virtual

on loading of the plugin

Parameters
_parentParent Model

Definition at line 42 of file motor.cpp.

References OnUpdate().

◆ OnUpdate()

void Motor::OnUpdate ( const common::UpdateInfo &  )
virtual

Called by the world update start event.

Definition at line 72 of file motor.cpp.

Referenced by Load().

◆ Reset()

void Motor::Reset ( )
virtual

on Gazebo reset

Definition at line 90 of file motor.cpp.


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