mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:33:33 +08:00
Merge branch 'mpc_local_pos' into mpc_rc
This commit is contained in:
@@ -777,8 +777,8 @@ Navigator::task_main()
|
||||
if (fds[1].revents & POLLIN) {
|
||||
global_position_update();
|
||||
|
||||
/* publish position setpoint triplet on each position update if navigator active */
|
||||
if (_control_mode.flag_armed && _control_mode.flag_control_auto_enabled) {
|
||||
/* publish position setpoint triplet on each position update if navigator active */
|
||||
_pos_sp_triplet_updated = true;
|
||||
|
||||
if (myState == NAV_STATE_LAND && !_global_pos_valid) {
|
||||
|
||||
Reference in New Issue
Block a user