|
ASCO Aerial Autonomy
|
A controller that passes joystick commands to a drone's RPYT controller. More...
#include <manual_rpyt_controller.h>


Public Member Functions | |
| virtual | ~ManualRPYTController () |
| Destructor. More... | |
Public Member Functions inherited from Controller< JoysticksYaw, EmptyGoal, RollPitchYawThrust > | |
| virtual bool | run (JoysticksYawsensor_data, RollPitchYawThrust &control) |
| Run the control loop and return control arguments. More... | |
| ControllerStatus | isConverged (JoysticksYawsensor_data) |
| Check if controller is converged. More... | |
| virtual void | setGoal (EmptyGoalgoal) |
| set the goal condition for the controller. Should use internal locking as the run function can be called from a separate thread More... | |
| virtual EmptyGoal | getGoal () const |
| get the goal condition for the controller. Should use internal locking as the run function can be called from a separate thread More... | |
| virtual | ~Controller () |
| Destructor. More... | |
Protected Member Functions | |
| virtual bool | runImplementation (JoysticksYaw sensor_data, EmptyGoal goal, RollPitchYawThrust &control) |
| Run the control loop. Converts Joystick commands to RPYT. More... | |
| virtual ControllerStatus | isConvergedImplementation (JoysticksYaw, EmptyGoal) |
| Default implementation since there is no concept of convergence for manual rpyt controller. More... | |
A controller that passes joystick commands to a drone's RPYT controller.
|
inlinevirtual |
Destructor.
|
inlineprotectedvirtual |
Default implementation since there is no concept of convergence for manual rpyt controller.
Implements Controller< JoysticksYaw, EmptyGoal, RollPitchYawThrust >.
|
protectedvirtual |
Run the control loop. Converts Joystick commands to RPYT.
| sensor_data | Joystick commands to be converted into RPYT. |
| goal | Goal is not used here |
| control | RPYT to send to hardware return True if successfully converted sensor data to control |
Implements Controller< JoysticksYaw, EmptyGoal, RollPitchYawThrust >.
1.8.6