Refactor from my_robot to raspbot-v2
This commit is contained in:
+3
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user