Abstract base class for thruster dynamics. More...
#include <Dynamics.hh>
Public Member Functions | |
virtual std::string | GetType ()=0 |
Return (derived) type of thruster dynamics. More... | |
virtual void | Reset () |
virtual double | update (double _cmd, double _t)=0 |
Update the dynamic model. More... | |
virtual | ~Dynamics () |
Destructor. More... | |
Protected Member Functions | |
Dynamics () | |
Protected constructor: Use the factory for object creation. More... | |
Protected Attributes | |
double | prevTime |
Time of last state update. More... | |
double | state |
Latest state. More... | |
Abstract base class for thruster dynamics.
Definition at line 30 of file Dynamics.hh.
|
inlineprotected |
Protected constructor: Use the factory for object creation.
Definition at line 33 of file Dynamics.hh.
|
inlinevirtual |
Destructor.
Definition at line 36 of file Dynamics.hh.
|
pure virtual |
Return (derived) type of thruster dynamics.
Implemented in gazebo::ThrusterDynamicsBessa, gazebo::ThrusterDynamicsYoerger, gazebo::DynamicsFirstOrder, and gazebo::DynamicsZeroOrder.
|
virtual |
Definition at line 23 of file Dynamics.cc.
|
pure virtual |
Update the dynamic model.
[in] | _cmd | The commanded value. |
[in] | _t | Time stamp of command. |
Implemented in gazebo::ThrusterDynamicsBessa, gazebo::ThrusterDynamicsYoerger, gazebo::DynamicsFirstOrder, and gazebo::DynamicsZeroOrder.
|
protected |
Time of last state update.
Definition at line 50 of file Dynamics.hh.
|
protected |
Latest state.
Definition at line 53 of file Dynamics.hh.