ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
manual_rpyt_controller.h
Go to the documentation of this file.
1 #pragma once
6 
12  : public Controller<JoysticksYaw, EmptyGoal, RollPitchYawThrust> {
13 public:
17  virtual ~ManualRPYTController() {}
18 
19 protected:
27  virtual bool runImplementation(JoysticksYaw sensor_data, EmptyGoal goal,
28  RollPitchYawThrust &control);
36  }
37 
38 private:
50  double map(double input, double input_min, double input_max,
51  double output_min, double output_max);
52 };
Base Controller class.
Definition: base_controller.h:18
virtual bool runImplementation(JoysticksYaw sensor_data, EmptyGoal goal, RollPitchYawThrust &control)
Run the control loop. Converts Joystick commands to RPYT.
Definition: manual_rpyt_controller.cpp:3
virtual ControllerStatus isConvergedImplementation(JoysticksYaw, EmptyGoal)
Default implementation since there is no concept of convergence for manual rpyt controller.
Definition: manual_rpyt_controller.h:34
A controller that passes joystick commands to a drone's RPYT controller.
Definition: manual_rpyt_controller.h:11
Status of the controller.
Definition: controller_status.h:10
Roll, pitch, yaw, and thrust message.
Definition: roll_pitch_yaw_thrust.h:5
If the controllers do not need a goal such as rpytcontroller.
Definition: empty_goal.h:5
Controller completed.
Definition: controller_status.h:17
virtual ~ManualRPYTController()
Destructor.
Definition: manual_rpyt_controller.h:17
Combined joystick and yaw data.
Definition: joysticks_yaw.h:7