-
Notifications
You must be signed in to change notification settings - Fork 3k
Updated Dockerfile.ros2 with ROS 2 Jazzy packages #4471
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
base: main
Are you sure you want to change the base?
Conversation
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
|
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.
1 file reviewed, 1 comment
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