-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to compile against Humble. (#388)
* Updates to compile against Humble. There are 5 main changes in here: 1. Humble does not support type hashes. Rather than change all of the liveliness token handling (which will make backports in the future harder), we just remove the code that computes it, and instead set it to a constant string. 2. The definition of RMW_GID_STORAGE_SIZE in Humble is wonky, and set to 24 for some ancient historical reasons. We don't actually want to do that, so just hard-code 16. 3. Some of the events in modern ROS 2 aren't supported in Humble, so remove the code for handling them. 4. There are a few APIs dealing with dynamic messages that aren't supported in Humble. 5. There is at least one QOS policy (best available) which doesn't exist in Humble. With all of these changes in, I'm able to compile and run basic programs against Humble. Signed-off-by: Chris Lalancette <[email protected]> * Also update the GitHub workflows. Signed-off-by: Chris Lalancette <[email protected]> * Linter fixes. Signed-off-by: Chris Lalancette <[email protected]> * Update README Signed-off-by: Yadunund <[email protected]> --------- Signed-off-by: Chris Lalancette <[email protected]> Signed-off-by: Yadunund <[email protected]> Co-authored-by: Yadunund <[email protected]>
- Loading branch information
1 parent
fb06619
commit e2780c2
Showing
23 changed files
with
79 additions
and
232 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: build | |
on: | ||
pull_request: | ||
push: | ||
branches: [ rolling ] | ||
branches: [ humble ] | ||
workflow_dispatch: | ||
schedule: | ||
# Run every morning to detect flakiness and broken dependencies | ||
|
@@ -17,17 +17,14 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
# Rolling (source) | ||
- ROS_DISTRO: rolling | ||
BUILD_TYPE: source | ||
# Jazzy (binary) | ||
- ROS_DISTRO: jazzy | ||
# Humble (binary) | ||
- ROS_DISTRO: humble | ||
BUILD_TYPE: binary | ||
env: | ||
ROS2_REPOS_FILE_URL: 'https://raw.githubusercontent.com/ros2/ros2/${{ matrix.ROS_DISTRO }}/ros2.repos' | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ${{ matrix.BUILD_TYPE == 'binary' && format('ros:{0}-ros-base', matrix.ROS_DISTRO) || 'ubuntu:noble' }} | ||
image: ${{ matrix.BUILD_TYPE == 'binary' && format('ros:{0}-ros-base', matrix.ROS_DISTRO) || 'ubuntu:jammy' }} | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
if: ${{ matrix.BUILD_TYPE == 'source' }} | ||
|
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
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
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.