Updated Dockerfile.ros2 with ROS 2 Jazzy packages#4471
Open
therobocademy wants to merge 4 commits intoisaac-sim:mainfrom
Open
Updated Dockerfile.ros2 with ROS 2 Jazzy packages#4471therobocademy wants to merge 4 commits intoisaac-sim:mainfrom
therobocademy wants to merge 4 commits intoisaac-sim:mainfrom
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR upgrades the ROS 2 integration from Humble to Jazzy, the current LTS release. Key changes include updating all package names from Notable improvements:
Critical compatibility concern:
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant DockerBuild as Docker Build
participant BaseImage as isaac-lab-base
participant AptCache as APT Cache
participant RosRepo as ROS APT Repository
participant RosDep as rosdep
User->>DockerBuild: Build with ROS2_APT_PACKAGE arg
DockerBuild->>BaseImage: FROM isaac-lab-base
DockerBuild->>AptCache: Mount cache for /var/cache/apt
DockerBuild->>AptCache: Install curl, ca-certificates, gnupg, etc.
DockerBuild->>AptCache: Add universe repository
DockerBuild->>RosRepo: Download ROS keyring
DockerBuild->>RosRepo: Add ROS 2 source list (using $VERSION_CODENAME)
DockerBuild->>AptCache: apt-get update
DockerBuild->>AptCache: Install ros-jazzy-${ROS2_APT_PACKAGE}
DockerBuild->>AptCache: Install ros-jazzy-vision-msgs
DockerBuild->>AptCache: Install ros-jazzy-rmw-cyclonedds-cpp
DockerBuild->>AptCache: Install ros-jazzy-rmw-fastrtps-cpp
DockerBuild->>AptCache: Install ros-dev-tools
DockerBuild->>AptCache: Install python3-rosdep
DockerBuild->>RosDep: rosdep init || true
DockerBuild->>RosDep: rosdep update || true
DockerBuild->>RosDep: Install extension rosdeps
DockerBuild->>DockerBuild: Clean up apt cache
DockerBuild->>DockerBuild: Add "source /opt/ros/jazzy/setup.bash" to .bashrc
DockerBuild->>User: ROS 2 Jazzy environment ready
|
2ef7fc8 to
f3061a4
Compare
3 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR updates
Dockerfile.ros2to use ROS 2 Jazzy packages instead of ROS 2 Humble.The change allows IsaacLab users to build ROS-enabled containers against the latest ROS 2 LTS release, enabling access to newer APIs, improved middleware behavior, and long-term platform support.
Motivation:
Dependencies:
Fixes # (link issue here if applicable)
Type of change
Screenshots
Not applicable (Dockerfile change only).
Checklist
pre-commitchecks with./isaaclab.sh --format(or not required for Dockerfile-only change)config/extension.tomlfileCONTRIBUTORS.mdor my name already exists thereValidation