-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ctu-mrs/mrs_uav_managers
- Loading branch information
Showing
65 changed files
with
876 additions
and
2,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,127 +1,5 @@ | ||
find_package(rostest REQUIRED) | ||
|
||
# takeoff test | ||
add_subdirectory(control_manager) | ||
|
||
add_rostest_gtest(MrsUavManagers_UavManagerTakeoffTest | ||
uav_manager/takeoff/uav_manager_takeoff.test | ||
uav_manager/takeoff/takeoff_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_UavManagerTakeoffTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_UavManagerTakeoffTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# landing test | ||
|
||
add_rostest_gtest(MrsUavManagers_UavManagerLandingTest | ||
uav_manager/landing/uav_manager_landing.test | ||
uav_manager/landing/landing_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_UavManagerLandingTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_UavManagerLandingTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# goto service test | ||
|
||
add_rostest_gtest(MrsUavManagers_ControlManagerGotoServiceTest | ||
control_manager/goto_service/control_manager_goto_service.test | ||
control_manager/goto_service/goto_service_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_ControlManagerGotoServiceTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_ControlManagerGotoServiceTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# eland innovation test | ||
|
||
add_rostest_gtest(MrsUavManagers_ControlManagerElandInnovationTest | ||
control_manager/eland_innovation/control_manager_eland_innovation.test | ||
control_manager/eland_innovation/eland_innovation_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_ControlManagerElandInnovationTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_ControlManagerElandInnovationTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# eland controlerror test | ||
|
||
add_rostest_gtest(MrsUavManagers_ControlManagerElandControlErrorTest | ||
control_manager/eland_control_error/control_manager_eland_control_error.test | ||
control_manager/eland_control_error/eland_control_error_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_ControlManagerElandControlErrorTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_ControlManagerElandControlErrorTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# failsafe controlerror test | ||
|
||
add_rostest_gtest(MrsUavManagers_ControlManagerFailsafeControlErrorTest | ||
control_manager/failsafe_control_error/control_manager_failsafe_control_error.test | ||
control_manager/failsafe_control_error/failsafe_control_error_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_ControlManagerFailsafeControlErrorTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_ControlManagerFailsafeControlErrorTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# eland service test | ||
|
||
add_rostest_gtest(MrsUavManagers_ControlManagerElandServiceTest | ||
control_manager/eland_service/control_manager_eland_service.test | ||
control_manager/eland_service/eland_service_test.cpp | ||
) | ||
|
||
target_link_libraries( | ||
MrsUavManagers_ControlManagerElandServiceTest | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies( | ||
MrsUavManagers_ControlManagerElandServiceTest | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
add_subdirectory(uav_manager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
add_subdirectory(goto_service) | ||
|
||
add_subdirectory(eland_control_error) | ||
|
||
add_subdirectory(eland_innovation) | ||
|
||
add_subdirectory(failsafe_control_error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
get_filename_component(TEST_NAME "${CMAKE_CURRENT_SOURCE_DIR}" NAME) | ||
|
||
catkin_add_executable_with_gtest(test_${TEST_NAME} | ||
test.cpp | ||
) | ||
|
||
target_link_libraries(test_${TEST_NAME} | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(test_${TEST_NAME} | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
add_rostest(${TEST_NAME}.test) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
test/control_manager/eland_control_error/config/network_config.yaml
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
test/control_manager/eland_control_error/config/simulator.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.