mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
simulator: update local_position publication
Ensure all data is set.
This commit is contained in:
committed by
ChristophTobler
parent
4b2dcddec2
commit
64551607bc
@@ -529,6 +529,8 @@ void Simulator::handle_message(mavlink_message_t *msg, bool publish)
|
||||
hil_lpos.ref_lon = _hil_ref_lon;
|
||||
hil_lpos.ref_alt = _hil_ref_alt;
|
||||
hil_lpos.ref_timestamp = _hil_ref_timestamp;
|
||||
hil_lpos.vxy_max = 0.0f;
|
||||
hil_lpos.limit_hagl = false;
|
||||
|
||||
// always publish ground truth attitude message
|
||||
int hil_lpos_multi;
|
||||
|
||||
Reference in New Issue
Block a user