DUNE: Uniform Navigational Environment  2.5.0-rc1
Simulators::Multicopter::CopterMotor Struct Reference

Public Member Functions

 CopterMotor (double a_angle, bool a_clockwise, unsigned int a_servo_id)
 

Public Attributes

double angle
 
bool clockwise
 
unsigned int servo_id
 
double speed
 

Constructor & Destructor Documentation

Simulators::Multicopter::CopterMotor::CopterMotor ( double  a_angle,
bool  a_clockwise,
unsigned int  a_servo_id 
)
inline

Member Data Documentation

double Simulators::Multicopter::CopterMotor::angle

Angle (deg) from front.

bool Simulators::Multicopter::CopterMotor::clockwise

Is clockwise rotation.

unsigned int Simulators::Multicopter::CopterMotor::servo_id

which servo number is this

double Simulators::Multicopter::CopterMotor::speed

Current speed of this motor.

Collaboration diagram for Simulators::Multicopter::CopterMotor:
Collaboration graph