mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds (#8113)
This commit is contained in:
@@ -355,22 +355,6 @@ include_directories(${include_dirs})
|
||||
link_directories(${link_dirs})
|
||||
add_definitions(${definitions})
|
||||
|
||||
#=============================================================================
|
||||
# RTPS and micro-cdr
|
||||
#
|
||||
|
||||
find_program(FASTRTPSGEN fastrtpsgen PATHS $ENV{FASTRTPSGEN_DIR})
|
||||
if (FASTRTPSGEN AND (config_rtps_send_topics OR config_rtps_receive_topics))
|
||||
option(GENERATE_RTPS_BRIDGE "enable RTPS and microCDR" ON)
|
||||
endif()
|
||||
|
||||
if (GENERATE_RTPS_BRIDGE)
|
||||
# add micro-CDR
|
||||
message(STATUS "RTPS bridge enabled, send: ${config_rtps_send_topics} receive: ${config_rtps_receive_topics}")
|
||||
px4_add_git_submodule(TARGET git_micro_cdr PATH src/lib/micro-CDR)
|
||||
add_subdirectory(src/lib/micro-CDR EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
#=============================================================================
|
||||
# message, and airframe generation
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user