Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MotorModel Class Referenceabstract

#include <motor_model.hpp>

Inheritance diagram for MotorModel:
Inheritance graph
[legend]

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::MotorModel ( )
inline

Definition at line 30 of file motor_model.hpp.

◆ ~MotorModel()

virtual MotorModel::~MotorModel ( )
inlinevirtual

Definition at line 35 of file motor_model.hpp.

Member Function Documentation

◆ GetMotorVelocity()

void MotorModel::GetMotorVelocity ( double &  result) const
inline

Definition at line 36 of file motor_model.hpp.

◆ InitializeParams()

virtual void MotorModel::InitializeParams ( )
pure virtual

Implemented in gazebo::GazeboMotorModel.

◆ Publish()

virtual void MotorModel::Publish ( )
pure virtual

Implemented in gazebo::GazeboMotorModel.

◆ SetReferenceMotorVelocity()

void MotorModel::SetReferenceMotorVelocity ( double  ref_motor_rot_vel)
inline

Definition at line 39 of file motor_model.hpp.

◆ UpdateForcesAndMoments()

virtual void MotorModel::UpdateForcesAndMoments ( )
protectedpure virtual

Implemented in gazebo::GazeboMotorModel.

Member Data Documentation

◆ motor_rot_vel_

double MotorModel::motor_rot_vel_
protected

Definition at line 47 of file motor_model.hpp.

◆ prev_ref_motor_rot_vel_

double MotorModel::prev_ref_motor_rot_vel_
protected

Definition at line 49 of file motor_model.hpp.

◆ prev_sim_time_

double MotorModel::prev_sim_time_
protected

Definition at line 50 of file motor_model.hpp.

◆ ref_motor_rot_vel_

double MotorModel::ref_motor_rot_vel_
protected

Definition at line 48 of file motor_model.hpp.

◆ sampling_time_

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 Mon Feb 28 2022 23:39:04