mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 00:03:35 +08:00
micrortps bridge: clean templates; add backwards compatibility; add ROS2 compatibility
This commit is contained in:
@@ -33,9 +33,6 @@
|
||||
|
||||
set(msg_out_path ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
#set(ROS2_DISTRO $ENV{ROS_DISTRO})
|
||||
set(ROS2_DISTRO "")
|
||||
|
||||
if (NOT "${config_rtps_send_topics}" STREQUAL "" OR NOT "${config_rtps_receive_topics}" STREQUAL "")
|
||||
|
||||
set(send_topic_files)
|
||||
@@ -84,7 +81,6 @@ if (NOT "${config_rtps_send_topics}" STREQUAL "" OR NOT "${config_rtps_receive_t
|
||||
--agent-outdir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_agent
|
||||
--client-outdir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_client
|
||||
--idl-dir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_agent/idl
|
||||
--ros2-distro ${ROS2_DISTRO}
|
||||
#>micrortps_bridge.log > /dev/null
|
||||
DEPENDS ${send_topic_files} ${receive_topic_files}
|
||||
COMMENT "Generating RTPS topic bridge"
|
||||
|
||||
Reference in New Issue
Block a user