#include <ThrusterModels.hpp>
Static Public Member Functions | |
| static double | getRevs (double thrust, double Tnn=1, double _Tnn=-1) |
| static double | getTorque (double n, double Qnn=1, double _Qnn=-1) |
Helper class for the Affine thruster model. The model assumes:
, where
for number of propeller revolutions n.
Definition at line 48 of file ThrusterModels.hpp.
| static double labust::allocation::AffineModel::getRevs | ( | double | thrust, |
| double | Tnn = 1, |
||
| double | _Tnn = -1 |
||
| ) | [inline, static] |
The method calculates number of revolutions needed to generate the requested thrust.
| thrust | Input element tau. |
| Tnn | Thruster parameter for positive directions |
| _Tnn | Thruster parameter for negative directions |
Definition at line 58 of file ThrusterModels.hpp.
| static double labust::allocation::AffineModel::getTorque | ( | double | n, |
| double | Qnn = 1, |
||
| double | _Qnn = -1 |
||
| ) | [inline, static] |
The method calculates the generated torque for the specified revolutions.
| n | Input revolutions. |
| Qnn | Thruster parameter for positive directions |
| _Qnn | Thruster parameter for negative directions |
Definition at line 70 of file ThrusterModels.hpp.