Skip to content

Commit f46d9c2

Browse files
committed
jazzy: update issacros and librealsense repos
* small fixes and add moveit_py * set as default repo Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
1 parent 417e870 commit f46d9c2

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

Dockerfile

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ RUN colcon mixin add default \
8686
# RQT's plugin support allows for custom visualizations, tools or control panels.
8787
RUN apt-get update && apt-get install -y --no-install-recommends ros-${ROS_DISTRO}-desktop-full ros-${ROS_DISTRO}-rqt* && \
8888
mkdir -p /home/${USERNAME}/.config/pip && \
89-
echo -e "[global]\nbreak-system-packages = true" > /home/${USERNAME}/.config/pip/pip.conf
89+
printf "[global]\nbreak-system-packages = true\n" > /home/${USERNAME}/.config/pip/pip.conf && \
90+
chown vscode:vscode /home/${USERNAME}/.config/pip/pip.conf
9091

9192
# Groot 2 (no AppImage for Arm64 use Box64)
9293
COPY ./.devcontainer/scripts/groot2.sh /tmp/scripts/groot2.sh
@@ -121,7 +122,8 @@ RUN apt-get update && apt-get install -y \
121122
ros-${ROS_DISTRO}-moveit-simple-controller-manager \
122123
ros-${ROS_DISTRO}-moveit-servo \
123124
ros-${ROS_DISTRO}-moveit-visual-tools \
124-
ros-${ROS_DISTRO}-moveit-planners
125+
ros-${ROS_DISTRO}-moveit-planners \
126+
ros-${ROS_DISTRO}-moveit-py
125127

126128
# NaV2 packages (402MB)
127129
RUN apt-get update && apt-get install -y \
@@ -155,26 +157,29 @@ RUN apt-get update && apt-get install -y \
155157
ros-${ROS_DISTRO}-turtlebot4-desktop
156158

157159
# Nvidia Isaac ROS and Intel Realsense packages (291MB)
158-
# Isaac SIM not included in docker image (can be install using pip requriment file)
159-
RUN curl -sSL https://isaac.download.nvidia.com/isaac-ros/repos.key -o /usr/share/keyrings/isaac-ros.key && \
160-
echo "deb [signed-by=/usr/share/keyrings/isaac-ros.key] https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" > /etc/apt/sources.list.d/isaac-ros.list && \
161-
curl -sSL https://librealsense.intel.com/Debian/librealsense.pgp | sudo tee /etc/apt/keyrings/librealsense.pgp && \
162-
echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" > /etc/apt/sources.list.d/librealsense-intel.list && \
163-
apt update && apt-get install -y \
160+
# Isaac SIM not included in docker image (can be install using pip requriment file
161+
RUN curl -sSL https://isaac.download.nvidia.com/isaac-ros/repos.key -o /usr/share/keyrings/isaac-ros.key
162+
RUN echo "deb [signed-by=/usr/share/keyrings/isaac-ros.key] https://isaac.download.nvidia.com/isaac-ros/release-4 $(lsb_release -cs) main" > /etc/apt/sources.list.d/isaac-ros.list
163+
164+
RUN curl -sSL https://librealsense.intel.com/Debian/librealsense.pgp | sudo tee /etc/apt/keyrings/librealsense.pgp
165+
RUN echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" > /etc/apt/sources.list.d/librealsense-intel.list
166+
167+
RUN apt update && apt-get install -y \
164168
ros-${ROS_DISTRO}-vision-msgs \
165169
ros-${ROS_DISTRO}-ackermann-msgs \
166170
ros-${ROS_DISTRO}-isaac-ros-common \
167-
ros-${ROS_DISTRO}-isaac-ros-argus-camera \
171+
isaac-ros-cli \
168172
librealsense2-utils \
169173
librealsense2-dev
174+
# Isaac SIM not included in docker image mount folder from the host
170175

171176
# Initialize rosdep package manager.
172177
RUN rosdep init && rosdep update
173178

174179
# Install Docker CLI tools (not including daemon).
175180
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - 2>/dev/null \
176181
&& add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) stable" && \
177-
apt-get update && apt-get install -y docker-ce-cli && pip install docker-compose
182+
apt-get update && apt-get install -y docker-ce-cli docker-compose-plugin
178183

179184
RUN if [ "$MACOS_BUILD" = "true" ]; then \
180185
printf '%s\n' '#!/bin/bash' 'set -e' 'exec /usr/local/share/desktop-init.sh "$@"' > /entrypoint.sh; \

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
44
#intel-extension-for-pytorch==2.6.10+xpu
55
#oneccl_bind_pt==2.6.0+xpu
6+
termcolor
67
torch
78
torchvision
89
torchaudio

0 commit comments

Comments
 (0)