ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
manual_rpyt_controller_drone_connector.h
Go to the documentation of this file.
1 #pragma once
6 
7 #include <parsernode/parser.h>
8 
13  : public ControllerHardwareConnector<JoysticksYaw, EmptyGoal,
14  RollPitchYawThrust> {
15 public:
26  parsernode::Parser &drone_hardware,
29  drone_hardware_(drone_hardware) {}
30 
31 protected:
39  virtual bool extractSensorData(JoysticksYaw &sensor_data);
40 
46  virtual void sendHardwareCommands(RollPitchYawThrust controls);
47 
48 private:
52  parsernode::Parser &drone_hardware_;
53 };
ManualRPYTControllerDroneConnector(parsernode::Parser &drone_hardware, Controller< JoysticksYaw, EmptyGoal, RollPitchYawThrust > &controller)
Constructor.
Definition: manual_rpyt_controller_drone_connector.h:25
Only aerial vehicle.
virtual bool extractSensorData(JoysticksYaw &sensor_data)
Extracts joystick commands and current yaw from hardware.
Definition: manual_rpyt_controller_drone_connector.cpp:3
Performs a single step of extracting data, running controller and sending data back to hardware...
Definition: base_controller_hardware_connector.h:53
virtual void sendHardwareCommands(RollPitchYawThrust controls)
Send RPYT commands to hardware.
Definition: manual_rpyt_controller_drone_connector.cpp:13
Roll, pitch, yaw, and thrust message.
Definition: roll_pitch_yaw_thrust.h:5
Maps Joystick goals to rpythrust commands to quadrotor.
Definition: manual_rpyt_controller_drone_connector.h:12
HardwareType
Type of hardware used by ControllerHardwareConnector. Enum ID must be contiguous. ...
Definition: base_controller_hardware_connector.h:11
Combined joystick and yaw data.
Definition: joysticks_yaw.h:7