DUNE: Uniform Navigational Environment
2019.02.0
|
Fin control surfaces class.
Public Member Functions | |
Fin (unsigned int finid, double[3]=0, double[3]=0) | |
void | updateAct (double value) |
void | applyForce (double speed, double forces[6]) |
bool | checkId (unsigned int testid) |
Public Member Functions inherited from Simulators::VSIM::Force | |
Force (void) | |
virtual | ~Force (void) |
void | setForce (double, double, double, bool, bool) |
void | setPosition (double, double, double, bool) |
bool | isInertial (void) |
bool | isTorque (void) |
bool | isPosInertial (void) |
virtual double | getActuation (void) |
Static Public Member Functions | |
static int | encodeId (int id) |
Additional Inherited Members | |
Protected Attributes inherited from Simulators::VSIM::Force | |
double | m_max_force [3] |
double | m_act_position [3] |
Simulators::VSIM::Fin::Fin | ( | unsigned int | finid, |
double | coef[3] = 0 , |
||
double | pos[3] = 0 |
||
) |
Constructor.
[in] | finid | fin id. |
[in] | coef | fin coeficients. |
[in] | pos | fin position. |
|
virtual |
Apply fin's force.
[in] | speed | speed reference. |
[out] | forces | forces to be applied by the fin. |
Reimplemented from Simulators::VSIM::Force.
|
virtual |
Check fin's id.
Reimplemented from Simulators::VSIM::Force.
|
inlinestatic |
Fin id encoding.
Referenced by Simulators::VSIM::UUV::updateFin().
|
virtual |
Update fin's actuation.
[in] | value | fin actuation. |
Reimplemented from Simulators::VSIM::Force.