#include <motor_model.hpp>
Public Member Functions | |
void | GetMotorVelocity (double &result) const |
virtual void | InitializeParams ()=0 |
MotorModel () | |
virtual void | Publish ()=0 |
void | SetReferenceMotorVelocity (double ref_motor_rot_vel) |
virtual | ~MotorModel () |
Protected Member Functions | |
virtual void | UpdateForcesAndMoments ()=0 |
Protected Attributes | |
double | motor_rot_vel_ |
double | prev_ref_motor_rot_vel_ |
double | prev_sim_time_ |
double | ref_motor_rot_vel_ |
double | sampling_time_ |
Definition at line 27 of file motor_model.hpp.
MotorModel::MotorModel | ( | ) | [inline] |
Definition at line 30 of file motor_model.hpp.
virtual MotorModel::~MotorModel | ( | ) | [inline, virtual] |
Definition at line 35 of file motor_model.hpp.
void MotorModel::GetMotorVelocity | ( | double & | result | ) | const [inline] |
Definition at line 36 of file motor_model.hpp.
virtual void MotorModel::InitializeParams | ( | ) | [pure virtual] |
Implemented in gazebo::GazeboMotorModel.
virtual void MotorModel::Publish | ( | ) | [pure virtual] |
Implemented in gazebo::GazeboMotorModel.
void MotorModel::SetReferenceMotorVelocity | ( | double | ref_motor_rot_vel | ) | [inline] |
Definition at line 39 of file motor_model.hpp.
virtual void MotorModel::UpdateForcesAndMoments | ( | ) | [protected, pure virtual] |
Implemented in gazebo::GazeboMotorModel.
double MotorModel::motor_rot_vel_ [protected] |
Definition at line 47 of file motor_model.hpp.
double MotorModel::prev_ref_motor_rot_vel_ [protected] |
Definition at line 49 of file motor_model.hpp.
double MotorModel::prev_sim_time_ [protected] |
Definition at line 50 of file motor_model.hpp.
double MotorModel::ref_motor_rot_vel_ [protected] |
Definition at line 48 of file motor_model.hpp.
double MotorModel::sampling_time_ [protected] |
Definition at line 51 of file motor_model.hpp.