Adjusted configuration files and added initial .ui file for master plugin

This commit is contained in:
Olek Bojda 2018-09-25 15:15:58 +02:00
parent 31e856e258
commit 83c159a1e4
5 changed files with 65 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,7 @@
<launch>
<node pkg="rqt_gui"
type="rqt_gui"
name="rqt_gui"
args="--standalone safety_master_plugin"
/>
</launch>

View File

@ -14,16 +14,20 @@
<build_depend>rqt_gui</build_depend>
<build_depend>rqt_gui_py</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>safety_user_plugin</build_depend>
<build_export_depend>rospy</build_export_depend>
<build_export_depend>rqt_gui</build_export_depend>
<build_export_depend>rqt_gui_py</build_export_depend>
<build_export_depend>std_msgs</build_export_depend>
<build_export_depend>safety_user_plugin</build_export_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>rqt_gui</exec_depend>
<exec_depend>rqt_gui_py</exec_depend>
<exec_depend>std_msgs</exec_depend>
<exec_depend>message_runtime</exec_depend>
<exec_depend>safety_user_plugin</exec_depend>
<export>
<rqt_gui plugin="${prefix}/plugin.xml"/>

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>715</width>
<height>569</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QListView" name="listView">
<property name="geometry">
<rect>
<x>50</x>
<y>30</y>
<width>601</width>
<height>201</height>
</rect>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>50</x>
<y>451</y>
<width>621</width>
<height>91</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>510</x>
<y>270</y>
<width>141</width>
<height>141</height>
</rect>
</property>
<property name="text">
<string>STOP</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -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