#include <UavControl.h>
Public Member Functions | |
UavControl (UavControlPar &par) | |
Default constructor. | |
~UavControl () | |
Destructor. | |
void | run (UavPosiControlIn *input, UavControlOut *output) |
Computes a step of the position control. | |
void | run (UavYawControlIn *input, UavControlOut *output) |
Computes a step of the yaw control. | |
string | getObjectName () const |
Gets the name. |
UavControl::UavControl | ( | UavControlPar & | par | ) |
Default constructor.
[in] | par | Control constants. |
UavControl::~UavControl | ( | ) |
Destructor.
void UavControl::run | ( | UavPosiControlIn * | input, | |
UavControlOut * | output | |||
) |
Computes a step of the position control.
[in] | input | The current state interesting for position control. |
[out] | output | A vector with the three commands: roll, pitch, thrust |
void UavControl::run | ( | UavYawControlIn * | input, | |
UavControlOut * | output | |||
) |
Computes a step of the yaw control.
[in] | input | The current state interesting for yaw control. |
[out] | output | A vector with a single command: yaw-rate command. |
string UavControl::getObjectName | ( | ) | const [inline, virtual] |