mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
navigator: when setting pos_sp_triplet yaw, also set the yaw valid flag to true
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user