-
Notifications
You must be signed in to change notification settings - Fork 158
Swapped usage of rosidl_cmake over to the new rosidl_pycommon. #297
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
Merged
esteve
merged 8 commits into
ros2-rust:main
from
maspe36:fix_deprecated_rosidl_cmake_warning
Apr 6, 2023
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
05383e2
Swapped usage of rosidl_cmake over to the new rosidl_pycommon.
maspe36 c6173ac
Support builds from older ROS 2 distros.
maspe36 ae86ce2
Fixed build for rolling
maspe36 f231114
Added `test_depend` conditional inclusion as well.
maspe36 8ee4517
Swap to a more elegant check
maspe36 46c0e54
Merge branch 'main' into fix_deprecated_rosidl_cmake_warning
maspe36 084fea3
PR Feedback
maspe36 0a530d2
Merge branch 'ros2-rust:main' into fix_deprecated_rosidl_cmake_warning
maspe36 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 hidden or 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 hidden or 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 hidden or 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
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.
I may be interpreting REP 149 incorrectly, but to me it reads as if I should be able to use a less/greater than for ROS distros. Unfortunately that doesn't work, and the xml fails to parse. Not sure what to do if rosidl_cmake 3.3.0+ gets back ported to Humble or when Iron comes out
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.
Reads that way to me too. Did you try only
>
or also>=
?Uh oh!
There was an error while loading. Please reload this page.
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.
Coming back to this now, looks to only be a problem with less than operators.
Fails to parse
$ROS_DISTRO <= rolling
$ROS_DISTRO < rolling
Successfully parses
$ROS_DISTRO >= rolling
$ROS_DISTRO > rolling
Thankfully this means we can handle this a bit more concisely in the
package.xml
We know this change is happening after humble (but only on rolling right now), so we can assume anything that's newer than humble will use
rosidl_pycommon