#include <palActuators.h>

Public Member Functions | |
| virtual void | Init (palBody *pbody, Float px, Float py, Float pz, Float axis_x, Float axis_y, Float axis_z, Float a_l) |
| virtual void | SetVoltage (Float voltage) |
| virtual void | Apply () |
Based on a 1st order feed foward model:
Where:
is the motor drive current
is the motor torque constant
is an experimentally determined constant (N.m/N)
is the thrust
The actual implementation is:
Where
is a lumped parameter
| void palPropeller::Apply | ( | ) | [virtual] |
Ensures the actuator operates for the current time step
Reimplemented from palImpulseActuator.
| void palPropeller::Init | ( | palBody * | pbody, | |
| Float | px, | |||
| Float | py, | |||
| Float | pz, | |||
| Float | axis_x, | |||
| Float | axis_y, | |||
| Float | axis_z, | |||
| Float | a_l | |||
| ) | [virtual] |
Initializes the propeller
| pbody | The body to connect the actuator to | |
| px | The x position of the propeller's center | |
| py | The y position of the propeller's center | |
| pz | The z position of the propeller's center | |
| axis_x | The axis vector which supplies the direction of the propeller's thrust. (x) | |
| axis_y | The axis vector which supplies the direction of the propeller's thrust. (y) | |
| axis_z | The axis vector which supplies the direction of the propeller's thrust. (z) | |
| a_l | The lumped parameter (alpha) |
| virtual void palPropeller::SetVoltage | ( | Float | voltage | ) | [inline, virtual] |
Set the input voltage
1.5.7.1