You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
z in vehicle_local_position return 0 in HITL mode global_local_alt0 is reinited everytime while decoding HIL_STATE_QUATERNION.
PX4 Firmware: v1.12.0
I was running HITL simulation after upgrading my firmware when I discovered that z is always return 0 in vehicle_local_position. I debugged this issue and found that in mavlink_receiver.cpp while parsing HIL_STATE_QUATERNION in handle_message_hil_state_quaternion, the reference altitude global_local_alt0 is reinited everytime. (line no 2571 in mavlink_receiver.cpp )
This bug seems to have to have crept in this commit
The text was updated successfully, but these errors were encountered:
z in vehicle_local_position return 0 in HITL mode global_local_alt0 is reinited everytime while decoding HIL_STATE_QUATERNION.
PX4 Firmware: v1.12.0
I was running HITL simulation after upgrading my firmware when I discovered that z is always return 0 in vehicle_local_position. I debugged this issue and found that in mavlink_receiver.cpp while parsing HIL_STATE_QUATERNION in handle_message_hil_state_quaternion, the reference altitude global_local_alt0 is reinited everytime. (line no 2571 in mavlink_receiver.cpp )
This bug seems to have to have crept in this commit
The text was updated successfully, but these errors were encountered: