|
ASCO Aerial Autonomy
|
A position controller that keeps a constant heading while attempting to keep a certain distance from the feedback position. More...
#include <constant_heading_depth_controller.h>


Public Member Functions | |
| ConstantHeadingDepthController () | |
| Constructor with default configuration. More... | |
| ConstantHeadingDepthController (ConstantHeadingDepthControllerConfig config) | |
| Constructor which takes a configuration. More... | |
| virtual | ~ConstantHeadingDepthController () |
| Destructor. More... | |
Public Member Functions inherited from Controller< PositionYaw, Position, VelocityYawRate > | |
| virtual bool | run (PositionYawsensor_data, VelocityYawRate &control) |
| Run the control loop and return control arguments. More... | |
| ControllerStatus | isConverged (PositionYawsensor_data) |
| Check if controller is converged. More... | |
| virtual void | setGoal (Positiongoal) |
| set the goal condition for the controller. Should use internal locking as the run function can be called from a separate thread More... | |
| virtual Position | 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, Position goal, VelocityYawRate &control) |
| Run the control loop. Uses a velocity controller to keep a desired distance from a tracked point. More... | |
| virtual ControllerStatus | isConvergedImplementation (PositionYaw sensor_data, Position goal) |
| Check if controller converged. More... | |
Protected Attributes | |
| ConstantHeadingDepthControllerConfig | config_ |
| Controller configuration. More... | |
A position controller that keeps a constant heading while attempting to keep a certain distance from the feedback position.
|
inline |
Constructor with default configuration.
|
inline |
Constructor which takes a configuration.
|
inlinevirtual |
Destructor.
|
protectedvirtual |
Check if controller converged.
| sensor_data | Current position yaw |
| goal | Goal position. Yaw inferred from position |
Implements Controller< PositionYaw, Position, VelocityYawRate >.
|
protectedvirtual |
Run the control loop. Uses a velocity controller to keep a desired distance from a tracked point.
| sensor_data | Current direction vector multiplied times distance |
| goal | Goal direction vector multiplied times distance |
| control | Velocity command to send to hardware |
Implements Controller< PositionYaw, Position, VelocityYawRate >.
|
protected |
Controller configuration.
1.8.6