mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:58:52 +08:00
in fw mode, publish also yaw and throttle on control group 1 for logging
This commit is contained in:
@@ -402,8 +402,11 @@ void VtolAttitudeControl::fill_fw_att_control_output()
|
||||
_actuators_out_0.control[2] = 0;
|
||||
_actuators_out_0.control[3] = _actuators_fw_in.control[3];
|
||||
/*controls for the elevons */
|
||||
_actuators_out_1.control[0] = -_actuators_fw_in.control[0]; /*roll elevon*/
|
||||
_actuators_out_1.control[1] = _actuators_fw_in.control[1]; /*pitch elevon */
|
||||
_actuators_out_1.control[0] = -_actuators_fw_in.control[0]; // roll elevon
|
||||
_actuators_out_1.control[1] = _actuators_fw_in.control[1]; // pitch elevon
|
||||
// unused now but still logged
|
||||
_actuators_out_1.control[2] = _actuators_fw_in.control[2]; // yaw
|
||||
_actuators_out_1.control[3] = _actuators_fw_in.control[3]; // throttle
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user