mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
navigator: when setting pos_sp_triplet yaw, also set the yaw valid flag to true
This commit is contained in:
parent
741f6787a7
commit
8c4d32ff4b
@ -1263,6 +1263,7 @@ Mission::heading_sp_update()
|
||||
|
||||
_mission_item.yaw = yaw;
|
||||
pos_sp_triplet->current.yaw = _mission_item.yaw;
|
||||
pos_sp_triplet->current.yaw_valid = true;
|
||||
}
|
||||
|
||||
// we set yaw directly so we can run this in parallel to the FOH update
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user