Added local position estimator.

This commit is contained in:
jgoppert
2015-10-24 20:34:33 +02:00
committed by Lorenz Meier
parent faa80a51e8
commit 0106be3e89
33 changed files with 3080 additions and 64 deletions
+8 -9
View File
@@ -5,13 +5,6 @@ px4_nuttx_generate_builtin_commands(
${config_extra_builtin_cmds}
)
px4_nuttx_add_romfs(OUT romfs
ROOT ROMFS/px4fmu_common
EXTRAS ${CMAKE_BINARY_DIR}/src/modules/px4iofirmware/${config_io_board}.bin
)
add_dependencies(romfs fw_io)
# add executable
add_executable(firmware_nuttx
builtin_commands.c)
@@ -33,8 +26,6 @@ if(NOT ${BOARD} STREQUAL "sim")
set_target_properties(firmware_nuttx PROPERTIES LINK_FLAGS ${main_link_flags})
endif()
set(fw_file ${CMAKE_CURRENT_BINARY_DIR}/${target_name}.px4)
target_link_libraries(firmware_nuttx
-Wl,--start-group
${module_libraries}
@@ -49,6 +40,14 @@ add_custom_target(check_weak
)
if(NOT ${BOARD} STREQUAL "sim")
px4_nuttx_add_romfs(OUT romfs
ROOT ROMFS/px4fmu_common
EXTRAS ${CMAKE_BINARY_DIR}/src/modules/px4iofirmware/${config_io_board}.bin
)
add_dependencies(romfs fw_io)
set(fw_file
${CMAKE_CURRENT_BINARY_DIR}/${OS}-${BOARD}-${LABEL}.px4)
+7
View File
@@ -24,4 +24,11 @@ else()
)
endif()
add_custom_target(run_sitl
COMMAND Tools/sitl_run.sh "${config_sitl_rcS}" "${config_sitl_debugger}"
"${config_sitl_viewer}" "${CMAKE_BINARY_DIR}"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
add_dependencies(run_sitl mainapp)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :