|
ASCO Aerial Autonomy
|
A controller that simply outputs the set goal. More...
#include <builtin_controller.h>


Public Member Functions | |
| virtual | ~BuiltInController () |
| Destructor. More... | |
Public Member Functions inherited from Controller< GoalType, GoalType, GoalType > | |
| virtual bool | run (GoalTypesensor_data, GoalType &control) |
| Run the control loop and return control arguments. More... | |
| ControllerStatus | isConverged (GoalTypesensor_data) |
| Check if controller is converged. More... | |
| virtual void | setGoal (GoalType goal) |
| set the goal condition for the controller. Should use internal locking as the run function can be called from a separate thread More... | |
| virtual GoalType | 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 (GoalType, GoalType goal, GoalType &control) |
| Run the control loop. Simply returns the goal. More... | |
Protected Member Functions inherited from Controller< GoalType, GoalType, GoalType > | |
| virtual ControllerStatus | isConvergedImplementation (GoalTypesensor_data, GoalType goal)=0 |
| Implementation for checking convergence to be implemented by subclasses. This function is called after runImplementation function and that can be used to store any information required for checking convergence. More... | |
A controller that simply outputs the set goal.
|
inlinevirtual |
Destructor.
|
inlineprotectedvirtual |
Run the control loop. Simply returns the goal.
| sensor_data | The current value of the controlled state |
| goal | Goal set-point |
| control | Goal to send to hardware |
Implements Controller< GoalType, GoalType, GoalType >.
1.8.6