File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -113,19 +113,7 @@ WORKDIR $USER_WORKSPACE/src/
113113ARG MAVROS_RELEASE=ros2
114114ARG MAVLINK_RELEASE=release/rolling/mavlink
115115RUN git clone --depth 1 -b ${MAVROS_RELEASE} https://github.com/mavlink/mavros.git
116- RUN git clone --depth 1 --recursive -b ${MAVLINK_RELEASE} https://github.com/mavlink/mavlink-gbp-release.git mavlink
117- # - mavgen uses future.standard_library for backwards compatibility with Python2;
118- # However, this caused issues with Python 3.12 installed in "noble".
119- # Comment those lines out in mavlink.
120- #
121- # - Fix linkage for yaml-cpp in mavros_extra_plugins
122- RUN sed -i -e 's/^from future import standard_library/#from future import standard_library/' \
123- -e 's/standard_library.install_aliases()/#standard_library.install_aliases()/' \
124- mavlink/pymavlink/generator/mavgen.py && \
125- sed -i -e 's/^# find_package(yaml_cpp REQUIRED)/find_package(yaml-cpp REQUIRED)/' \
126- -e '/^ament_target_dependencies(mavros_extras_plugins$/i target_link_libraries(mavros_extras_plugins yaml-cpp::yaml-cpp)' \
127- -e '/^ament_target_dependencies(mavros_extras$/i target_link_libraries(mavros_extras yaml-cpp::yaml-cpp)' \
128- mavros/mavros_extras/CMakeLists.txt
116+ RUN git clone --depth 1 --recursive -b ${MAVLINK_RELEASE} https://github.com/ros2-gbp/mavlink-gbp-release.git mavlink
129117
130118WORKDIR $USER_WORKSPACE
131119RUN sudo apt-get -q update \
You can’t perform that action at this time.
0 commit comments