Refactor from my_robot to raspbot-v2

This commit is contained in:
2026-04-16 22:08:52 +00:00
parent 6af4ba10bf
commit 2fcf8ce26b
10 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -12,10 +12,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /ws
# Copy the ROS package into the standard colcon src/ layout and build it
COPY src/my_robot/ src/my_robot/
COPY src/raspbot_v2/ src/raspbot_v2/
RUN source /opt/ros/${ROS_DISTRO}/setup.bash && \
colcon build --packages-select my_robot
colcon build --packages-select raspbot_v2
# ── Stage 2: runtime ──────────────────────────────────────────────────────────
FROM ros:kilted-ros-core
@@ -43,4 +43,4 @@ COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["ros2", "launch", "my_robot", "robot.launch.py"]
CMD ["ros2", "launch", "raspbot_v2", "robot.launch.py"]