mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 02:37:34 +08:00
VTOL: publish stabilized FW attitude to correct topic
This commit is contained in:
committed by
Lorenz Meier
parent
d537a1b628
commit
6c84e41502
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user