bridge docker bug fixed

This commit is contained in:
Rooholla-KhorramBakht 2024-05-05 03:10:43 +08:00
parent 125cbca84f
commit d068108b44
2 changed files with 5 additions and 5 deletions

View File

@ -19,9 +19,9 @@ git clone https://github.com/ros2/rmw_cyclonedds -b humble && git clone https://
cd .. && colcon build --packages-select cyclonedds && source /opt/ros/humble/setup.bash && colcon build
# copy the go2py ros2 nodes
COPY ros2_nodes/go2py_bridge /bridge_ws/src
COPY ros2_nodes/go2py_common /bridge_ws/src
RUN cd /bridge_ws && source /opt/ros/humble/setup.bash && colcon build --symlink-install
COPY ros2_nodes/go2py_bridge /bridge_ws/src/go2py_bridge
COPY ros2_nodes/go2py_common /bridge_ws/src/go2py_common
RUN cd /bridge_ws && source /opt/ros/humble/setup.bash && source /unitree_ros2/cyclonedds_ws/install/setup.bash && colcon build --symlink-install
# Copy the script to start the nodes
COPY docker/scripts /root/scripts

View File

@ -20,7 +20,7 @@ git clone https://github.com/ros2/rmw_cyclonedds -b humble && git clone https://
cd .. && colcon build --packages-select cyclonedds && source /opt/ros/humble/setup.bash && colcon build
# copy the go2py ros2 nodes
COPY ros2_nodes/lidar_node /hesai_ws/src
COPY ros2_nodes/lidar_node /hesai_ws/src/lidar_node
RUN cd /hesai_ws && source /opt/ros/humble/setup.bash && colcon build --symlink-install
# Copy the script to start the nodes