Skip to content
Snippets Groups Projects
Commit 2dd29ec4 authored by Andreas Antener's avatar Andreas Antener Committed by Lorenz Meier
Browse files

VTOL: publish stabilized FW attitude to correct topic

parent c97a18b6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment