New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in mavutil.py after bad_data multi-instance message #807
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary:
For multi-instance message types, e.g., https://mavlink.io/en/messages/common.html#DISTANCE_SENSOR, a call to
add_message
with abad_data
message will fail to initialize themessages[mtype]._instances
dictionary. The next good message after that will cause an exception.Traceback:
A possible fix is to modify the if statement:
Reference this conversation:
https://discuss.bluerobotics.com/t/mavlogdump-py-crashes-while-reading-distance-sensor-msgs-in-some-tlog-files/14228
The text was updated successfully, but these errors were encountered: