mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
76 lines
1.2 KiB
CMake
76 lines
1.2 KiB
CMake
include(qurt/px4_impl_qurt)
|
|
|
|
# Run a full link with build stubs to make sure qurt target isn't broken
|
|
set(QURT_ENABLE_STUBS 1)
|
|
|
|
function(px4_get_config)
|
|
|
|
px4_parse_function_args(
|
|
NAME px4_set_config_modules
|
|
ONE_VALUE OUT_MODULES
|
|
REQUIRED OUT_MODULES
|
|
ARGN ${ARGN})
|
|
|
|
set(config_module_list
|
|
drivers/device
|
|
drivers/boards/sitl
|
|
drivers/pwm_out_sim
|
|
drivers/led
|
|
drivers/rgbled
|
|
modules/sensors
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/param
|
|
systemcmds/mixer
|
|
|
|
#
|
|
# Estimation modules (EKF/ SO3 / other filters)
|
|
#
|
|
#modules/attitude_estimator_ekf
|
|
modules/ekf_att_pos_estimator
|
|
modules/attitude_estimator_q
|
|
modules/position_estimator_inav
|
|
|
|
#
|
|
# Vehicle Control
|
|
#
|
|
modules/mc_att_control
|
|
modules/mc_pos_control
|
|
|
|
#
|
|
# Library modules
|
|
#
|
|
modules/systemlib
|
|
modules/systemlib/mixer
|
|
modules/uORB
|
|
modules/commander
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/conversion
|
|
modules/controllib
|
|
|
|
#
|
|
# QuRT port
|
|
#
|
|
platforms/common
|
|
platforms/qurt/px4_layer
|
|
platforms/posix/work_queue
|
|
|
|
#
|
|
# sources for muorb over fastrpc
|
|
#
|
|
modules/muorb/adsp
|
|
)
|
|
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
|
|
|
|
endfunction()
|
|
|