mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 10:50:19 +08:00
VTOL: publish stabilized FW attitude to correct topic
This commit is contained in:
committed by
Lorenz Meier
parent
c97a18b6a4
commit
2dd29ec4a1
@@ -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