Skip to content

Commit

Permalink
Tools: ros2: Enable networking when building with colcon
Browse files Browse the repository at this point in the history
* This skips sim_vehicle

Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 16, 2023
1 parent c2b2094 commit 66fbf03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/ros2/ardupilot_sitl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ message(STATUS "WAF_COMMAND: ${WAF_COMMAND}")
set(WAF_CONFIG $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:"--debug">)

add_custom_target(ardupilot_configure ALL
${WAF_COMMAND} configure --board sitl --enable-dds ${WAF_CONFIG}
${WAF_COMMAND} configure --board sitl --enable-dds --enable-networking ${WAF_CONFIG}
WORKING_DIRECTORY ${ARDUPILOT_ROOT}
)

add_custom_target(ardupilot_build ALL
${WAF_COMMAND} build --enable-dds ${WAF_CONFIG}
${WAF_COMMAND} build --enable-dds --enable-networking ${WAF_CONFIG}
WORKING_DIRECTORY ${ARDUPILOT_ROOT}
)
add_dependencies(ardupilot_build ardupilot_configure)
Expand Down

0 comments on commit 66fbf03

Please sign in to comment.