From 563de3b49c7e12c9745744b859b5aeedb0535090 Mon Sep 17 00:00:00 2001 From: tumbili Date: Wed, 3 Dec 2014 09:47:56 +0100 Subject: in fw mode, publish also yaw and throttle on control group 1 for logging --- src/modules/vtol_att_control/vtol_att_control_main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/modules/vtol_att_control') diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 62b6a4ed6..cc3a3665a 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -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 } /** -- cgit v1.2.3