Public Member Functions | Protected Member Functions | Protected Attributes
MotorModel Class Reference

#include <motor_model.hpp>

Inheritance diagram for MotorModel:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 27 of file motor_model.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

double MotorModel::motor_rot_vel_ [protected]

Definition at line 47 of file motor_model.hpp.

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.


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


rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Thu Apr 18 2019 02:43:43