Overview
Manual control of commanded pitch/roll angles, yaw or yaw rate, and altitude via joystick. Please note the ~external_command_frame and ~external_frame_heading parameters as they have a significant effect on the interpretation of joystick commands.
ROS API
control_mode_attitude
Parameters
~pitch_deadband (double, default: 0.05)- joystick units, 0.1 = 10% of half-range
- joystick units, 0.1 = 10% of half-range
- joystick units, 0.1 = 10% of half-range
- [deg/s] yaw rate corresponding to full deflection
- [m] commanded altitude corresponding to full - deflection
- [m] commanded altitude corresponding to full + deflection
- If true, joystick deflections are interpreted in a frame external to the vehicle. (See also ~external_frame_heading). If false, joystick deflections are interpreted in the vehicle body frame.
- [deg] When ~external_command_frame is true, this value defines the direction in which the vehicle will fly in response to a negative pitch command (i.e. 'forward' on the joystick), irrespective of the yaw angle.
- [deg] When ~external_command_frame is true, this value defines the direction in which the vehicle will fly in response to a negative pitch command (i.e. 'forward' on the joystick), irrespective of the yaw angle.