File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
ros/humble/ubuntu/focal/ros1-bridge Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,11 @@ RUN set -eux; \
1818# setup sources.list
1919RUN echo "deb [ signed-by=/usr/share/keyrings/ros1-latest-archive-keyring.gpg ] http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list
2020
21+ # Install ROS 1 binaries, plus the message dependencies.
22+ # If they don't have ROS 1 message binaries, you will need to set up a catkin workspace to build.
2123RUN apt-get update && apt-get install -y --no-install-recommends \
2224 ros-noetic-ros-core=1.5.0-1* \
25+ ros-noetic-mavros-msgs \
2326 && rm -rf /var/lib/apt/lists/*
2427
2528ENV ROS1_INSTALL_PATH=/opt/ros/noetic
@@ -51,6 +54,8 @@ RUN . /opt/ros/humble/setup.sh && colcon build --packages-up-to ${CUSTOM_MSG_PKG
5154# This links to all the other message packages at build time.
5255# Order of sourcing is VERY picky and NOT clear in the rosbridge README.
5356# https://github.com/ros2/ros1_bridge?tab=readme-ov-file#building-the-bridge-from-source
57+ # This shows the source order with custom workspaces
58+ # https://github.com/jayprajapati009/ros1_bridge_tutorial?tab=readme-ov-file#ros1_bridge-setup
5459RUN . /opt/ros/noetic/setup.sh && . /opt/ros/humble/setup.sh && . install/setup.sh && colcon build --packages-select ros1_bridge
5560
5661# setup entrypoint
You can’t perform that action at this time.
0 commit comments