Spawn models separately from gazebo models

Detach model spawning process from the world description file, so that the same model can be used with different worlds
This commit is contained in:
JaeyoungLim
2020-03-16 22:41:51 +01:00
committed by Julian Oes
parent 8738c26426
commit 2ef37cd065
4 changed files with 99 additions and 30 deletions

View File

@@ -61,6 +61,7 @@ foreach(test_name ${tests})
none
none
test_${test_name}_generated
none
${PX4_SOURCE_DIR}
${PX4_BINARY_DIR}
WORKING_DIRECTORY ${SITL_WORKING_DIR})
@@ -79,6 +80,7 @@ add_test(NAME mavlink
none
none
test_mavlink
none
${PX4_SOURCE_DIR}
${PX4_BINARY_DIR}
WORKING_DIRECTORY ${SITL_WORKING_DIR})
@@ -96,6 +98,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "CYGWIN")
none
none
test_shutdown
none
${PX4_SOURCE_DIR}
${PX4_BINARY_DIR}
WORKING_DIRECTORY ${SITL_WORKING_DIR})
@@ -112,6 +115,7 @@ add_test(NAME dyn
none
none
test_dyn_hello
none
${PX4_SOURCE_DIR}
${PX4_BINARY_DIR}
$<TARGET_FILE:examples__dyn_hello>
@@ -135,6 +139,7 @@ foreach(cmd_name ${test_cmds})
none
none
cmd_${cmd_name}_generated
none
${PX4_SOURCE_DIR}
${PX4_BINARY_DIR}
WORKING_DIRECTORY ${SITL_WORKING_DIR})