mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-06 07:40:35 +08:00
mavlink : update for compatibility with new navigation limits architechture
This commit is contained in:
committed by
Lorenz Meier
parent
1d1dec0a8b
commit
e8f1d50758
@@ -2312,8 +2312,10 @@ MavlinkReceiver::handle_message_hil_state_quaternion(mavlink_message_t *msg)
|
||||
_hil_local_pos.yaw = euler.psi();
|
||||
_hil_local_pos.xy_global = true;
|
||||
_hil_local_pos.z_global = true;
|
||||
_hil_local_pos.vxy_max = 0.0f;
|
||||
_hil_local_pos.limit_hagl = false;
|
||||
_hil_local_pos.vxy_max = INFINITY;
|
||||
_hil_local_pos.vz_max = INFINITY;
|
||||
_hil_local_pos.hagl_min = INFINITY;
|
||||
_hil_local_pos.hagl_max = INFINITY;
|
||||
|
||||
if (_local_pos_pub == nullptr) {
|
||||
_local_pos_pub = orb_advertise(ORB_ID(vehicle_local_position), &_hil_local_pos);
|
||||
|
||||
Reference in New Issue
Block a user