-
Notifications
You must be signed in to change notification settings - Fork 96
Add MSG_STATUS_JOURNAL [4.1.x] #1126
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
Conversation
9346621
to
2f44b13
Compare
Waiting for docker run on my machine to get to the Rust source |
2f44b13
to
7b4cb25
Compare
7b4cb25
to
9aa6e56
Compare
|
||
ck_assert_msg(dummy_wr == sizeof(encoded_frame), | ||
"not enough data was written to dummy_buff"); | ||
"not enough data was written to dummy_buff (expected: %zu, actual: %zu)", sizeof(encoded_frame), dummy_wr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to help with debugging
""" | ||
assert sbp.crc == int(test_case['crc'], 0), "Invalid crc." | ||
expected = int(test_case['crc'], 0) | ||
assert sbp.crc == expected, "Invalid crc. Actual: {:x} vs expected: {:x}.".format(sbp.crc, expected) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging aid/improvement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @silverjam .
This PR is currently being used by:
Description
@swift-nav/devinfra
Adds new MSG_STATUS_JOURNAL, see https://swift-nav.atlassian.net/l/c/yYraQXHA
API compatibility
Does this change introduce a API compatibility risk? -> No, just introducing a new message.
Related PRs