Skip to content

Commit 8cb70e8

Browse files
committed
Fix ROS_IP configuration
1 parent 1e1d1ed commit 8cb70e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

robot-template/_build/robot-noble-ros2/Dockerfile-base

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ ENV HHCM_FOREST_CLONE_DEFAULT_PROTO=https
5555
# pip deps
5656
RUN source ~/env/bin/activate && pip install netifaces
5757

58-
# ============ ADD ROS2 DDS CONFIGURATION HERE ============
59-
# ROS2 DDS Configuration (for all robots using ROS2)
60-
# Install cmake if not already present (might be needed for ros2_config)
58+
# ROS2 DDS Configuration
6159
RUN if [ "$SETUP_ROS2_DDS" = "true" ]; then \
6260
sudo apt-get update && sudo apt-get install -y cmake build-essential; \
6361
fi
@@ -78,7 +76,7 @@ RUN if [ "$SETUP_ROS2_DDS" = "true" ]; then \
7876
RUN if [ "$ROS_DDS_VENDOR" = "cyclonedds" ]; then \
7977
echo "export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp" >> ~/.bashrc; \
8078
fi
81-
# ============ END ROS2 DDS CONFIGURATION ============
79+
# END ROS2 DDS CONFIGURATION
8280

8381
# build required software (requires valid netrc for auth)
8482
# FIX 2: Activate env before running build script

0 commit comments

Comments
 (0)