5 #include "velocity_based_position_controller_config.pb.h"
11 :
public Controller<PositionYaw, PositionYaw, VelocityYaw> {
17 :
config_(VelocityBasedPositionControllerConfig()) {}
49 VelocityBasedPositionControllerConfig
config_;
Base Controller class.
Definition: base_controller.h:18
virtual bool runImplementation(PositionYaw sensor_data, PositionYaw goal, VelocityYaw &control)
Run the control loop. Uses a velocity controller to achieve the desired position. ...
Definition: velocity_based_position_controller.cpp:5
Stores Position, yaw. PositionYaw is used as the goal for UAV systems.
Definition: position_yaw.h:10
Status of the controller.
Definition: controller_status.h:10
Store velocity and yaw Used as goal for builtin velocity and yaw controller for UAV system...
Definition: velocity_yaw.h:10
virtual ControllerStatus isConvergedImplementation(PositionYaw sensor_data, PositionYaw goal)
Check if velocity based position controller converged.
Definition: velocity_based_position_controller.cpp:22
VelocityBasedPositionController(VelocityBasedPositionControllerConfig config)
Constructor which takes a configuration.
Definition: velocity_based_position_controller.h:21
virtual ~VelocityBasedPositionController()
Destructor.
Definition: velocity_based_position_controller.h:26
A position controller that sends velocity commands to the hardware.
Definition: velocity_based_position_controller.h:10
VelocityBasedPositionControllerConfig config_
Controller configuration.
Definition: velocity_based_position_controller.h:49
VelocityBasedPositionController()
Constructor with default configuration.
Definition: velocity_based_position_controller.h:16