From 83c159a1e44f5a3a382456c903b210f222e17b52 Mon Sep 17 00:00:00 2001 From: Olek Bojda Date: Tue, 25 Sep 2018 15:15:58 +0200 Subject: [PATCH] Adjusted configuration files and added initial .ui file for master plugin --- safety_master_plugin/CMakeLists.txt | 1 + .../launch/master_plugin.launch | 7 +++ safety_master_plugin/package.xml | 4 ++ safety_master_plugin/ui/master_view.ui | 52 +++++++++++++++++++ safety_user_plugin/CMakeLists.txt | 1 + 5 files changed, 65 insertions(+) create mode 100644 safety_master_plugin/launch/master_plugin.launch create mode 100644 safety_master_plugin/ui/master_view.ui diff --git a/safety_master_plugin/CMakeLists.txt b/safety_master_plugin/CMakeLists.txt index 5105c64..7108bca 100644 --- a/safety_master_plugin/CMakeLists.txt +++ b/safety_master_plugin/CMakeLists.txt @@ -145,6 +145,7 @@ include_directories( ## Add cmake target dependencies of the executable ## same as for the library above # add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +# add_dependencies(safety_user_plugin ${catkin_EXPORTED_TARGETS}) ## Specify libraries to link a library or executable target against # target_link_libraries(${PROJECT_NAME}_node diff --git a/safety_master_plugin/launch/master_plugin.launch b/safety_master_plugin/launch/master_plugin.launch new file mode 100644 index 0000000..02a7b0c --- /dev/null +++ b/safety_master_plugin/launch/master_plugin.launch @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/safety_master_plugin/package.xml b/safety_master_plugin/package.xml index 2df1841..64b732e 100644 --- a/safety_master_plugin/package.xml +++ b/safety_master_plugin/package.xml @@ -14,16 +14,20 @@ rqt_gui rqt_gui_py std_msgs + safety_user_plugin rospy rqt_gui rqt_gui_py std_msgs + safety_user_plugin rospy rqt_gui rqt_gui_py std_msgs + message_runtime + safety_user_plugin diff --git a/safety_master_plugin/ui/master_view.ui b/safety_master_plugin/ui/master_view.ui new file mode 100644 index 0000000..85bbe95 --- /dev/null +++ b/safety_master_plugin/ui/master_view.ui @@ -0,0 +1,52 @@ + + + Form + + + + 0 + 0 + 715 + 569 + + + + Form + + + + + 50 + 30 + 601 + 201 + + + + + + + 50 + 451 + 621 + 91 + + + + + + + 510 + 270 + 141 + 141 + + + + STOP + + + + + + diff --git a/safety_user_plugin/CMakeLists.txt b/safety_user_plugin/CMakeLists.txt index 1822dc4..52c3c0b 100644 --- a/safety_user_plugin/CMakeLists.txt +++ b/safety_user_plugin/CMakeLists.txt @@ -135,6 +135,7 @@ include_directories( ## either from message generation or dynamic reconfigure # add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) + ## Declare a C++ executable ## With catkin_make all packages are built within a single CMake context ## The recommended prefix ensures that target names across packages don't collide