mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:43:33 +08:00
VTOL GPSF: fix fixed bank loiter (#12778)
* GPS Failsafe fix for VTOL * navigator: use new uORB API for VTOL publication
This commit is contained in:
@@ -93,7 +93,13 @@ GpsFailure::on_active()
|
||||
q.copyTo(att_sp.q_d);
|
||||
att_sp.q_d_valid = true;
|
||||
|
||||
_att_sp_pub.publish(att_sp);
|
||||
if (_navigator->get_vstatus()->is_vtol) {
|
||||
_fw_virtual_att_sp_pub.publish(att_sp);
|
||||
|
||||
} else {
|
||||
_att_sp_pub.publish(att_sp);
|
||||
|
||||
}
|
||||
|
||||
/* Measure time */
|
||||
if ((_param_nav_gpsf_lt.get() > FLT_EPSILON) &&
|
||||
|
||||
Reference in New Issue
Block a user