From 6c84e4150201044c2dc41428e43e1831fb781eb4 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Fri, 5 Aug 2016 13:55:12 +0200 Subject: [PATCH] VTOL: publish stabilized FW attitude to correct topic --- src/modules/fw_att_control/fw_att_control_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp index 83f50050fb..1d9ff4c54f 100644 --- a/src/modules/fw_att_control/fw_att_control_main.cpp +++ b/src/modules/fw_att_control/fw_att_control_main.cpp @@ -985,7 +985,7 @@ FixedwingAttitudeControl::task_main() _att_sp.yaw_body = 0.0f; _att_sp.thrust = _manual.z; int instance; - orb_publish_auto(ORB_ID(vehicle_attitude_setpoint), &_attitude_sp_pub, &_att_sp, &instance, ORB_PRIO_DEFAULT); + orb_publish_auto(_attitude_setpoint_id, &_attitude_sp_pub, &_att_sp, &instance, ORB_PRIO_DEFAULT); } roll_sp = _att_sp.roll_body;