|
ASCO Aerial Autonomy
|
A position controller that sends velocity commands to the hardware. More...
#include <velocity_based_position_controller.h>


Public Member Functions | |
| VelocityBasedPositionController () | |
| Constructor with default configuration. More... | |
| VelocityBasedPositionController (VelocityBasedPositionControllerConfig config) | |
| Constructor which takes a configuration. More... | |
| virtual | ~VelocityBasedPositionController () |
| Destructor. More... | |
Public Member Functions inherited from Controller< PositionYaw, PositionYaw, VelocityYaw > | |
| virtual bool | run (PositionYawsensor_data, VelocityYaw &control) |
| Run the control loop and return control arguments. More... | |
| ControllerStatus | isConverged (PositionYawsensor_data) |
| Check if controller is converged. More... | |
| virtual void | setGoal (PositionYawgoal) |
| set the goal condition for the controller. Should use internal locking as the run function can be called from a separate thread More... | |
| virtual PositionYaw | 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 (PositionYaw sensor_data, PositionYaw goal, VelocityYaw &control) |
| Run the control loop. Uses a velocity controller to achieve the desired position. More... | |
| virtual ControllerStatus | isConvergedImplementation (PositionYaw sensor_data, PositionYaw goal) |
| Check if velocity based position controller converged. More... | |
Protected Attributes | |
| VelocityBasedPositionControllerConfig | config_ |
| Controller configuration. More... | |
A position controller that sends velocity commands to the hardware.
|
inline |
Constructor with default configuration.
|
inline |
Constructor which takes a configuration.
|
inlinevirtual |
Destructor.
|
protectedvirtual |
Check if velocity based position controller converged.
| sensor_data | Current position yaw |
| goal | Goal position yaw |
Implements Controller< PositionYaw, PositionYaw, VelocityYaw >.
|
protectedvirtual |
Run the control loop. Uses a velocity controller to achieve the desired position.
| sensor_data | Current position |
| goal | Goal position |
| control | Velocity command to send to hardware |
Implements Controller< PositionYaw, PositionYaw, VelocityYaw >.
|
protected |
Controller configuration.
1.8.6