-
Notifications
You must be signed in to change notification settings - Fork 147
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
Adds pose and twist with covariance messages bridging #222
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7ce0ae7
Changed templates
adityapande-1995 1403fc5
Removed debug statements
adityapande-1995 20b24e8
Added twist with covariance msg bridge
adityapande-1995 57681a3
Populate cov matrix
adityapande-1995 9d345b1
bridged odometry (ros) and odometry with covariance (ign)
adityapande-1995 a2aff09
Added tests for PoseWithCovariance
adityapande-1995 1bd8b1d
Added tests for TwistWithCovariance
adityapande-1995 e1f9cec
Added tests for OdometryWithCovariance
adityapande-1995 c7fc616
Updated README, check size of Float_V before conversion to ros msg
adityapande-1995 a1bec61
linter
adityapande-1995 4851f46
Populate covariance matrix with nontrivial values
adityapande-1995 c74af28
Tests check for nontrivial covariance matrix
adityapande-1995 bb52954
Changed nav_msgs.cpp to snake_case
adityapande-1995 8154303
Linter fixes
adityapande-1995 b6e3dab
Linter fixes
adityapande-1995 3e33a26
Liner fixes
adityapande-1995 80130d2
Fixed test failures
adityapande-1995 557a680
Flake8 fixes
adityapande-1995 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
How likely is this going to be false? Seems less than ideal.
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.
I agree, this is not likely to be false, but I was still worried if this loop will segfault at runtime if the data array in
ros_msg.covariance[ ]
exceeds index. There is no explicit check onFloat_V
size.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.
Is there a way to define the type such that it always has a size of 36?
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.
Maybe those are not supported by protobuf, used by ign-msgs : https://www.aapelivuorinen.com/blog/2019/07/12/protobuf-arrays/
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.
yeah I don't think protobuf supports fixed size arrays
we are on the verge of releasing the ign-msgs file into ign-msgs8. Does this approach seem reasonable to you?
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.
I think it's fine to keep this PR as-is. I was just curious if it was possible to avoid.