Skip to content

Commit

Permalink
Merge pull request #41 from rosflight/gui_for_rosplane_tuning
Browse files Browse the repository at this point in the history
Merge gui for rosplane tuning
  • Loading branch information
iandareid authored Jun 7, 2024
2 parents 51afe55 + f0b92f0 commit b6423a0
Show file tree
Hide file tree
Showing 7 changed files with 1,464 additions and 2 deletions.
37 changes: 36 additions & 1 deletion rosplane_tuning/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ include_directories( #use this if you need .h files for include statements. Th

install(DIRECTORY launch DESTINATION share/${PROJECT_NAME}/)

### START OF REAL EXECUTABLES ###
### START OF EXECUTABLES ###

# Signal Generator
add_executable(signal_generator
Expand All @@ -65,4 +65,39 @@ install(PROGRAMS

#### END OF EXECUTABLES ###

#### RQT ####

ament_python_install_package(rqt_tuning_gui
PACKAGE_DIR src/rqt_tuning_gui
)

install(FILES
plugin.xml
DESTINATION share/${PROJECT_NAME}
)

install(DIRECTORY
resource
DESTINATION share/${PROJECT_NAME}
)

install(PROGRAMS
scripts/rqt_tuning_gui
DESTINATION lib/${PROJECT_NAME}
)

#### END OF RQT ####

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# comment the line when a copyright and license is added to all source files
set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# comment the line when this package is in a git repo and when
# a copyright and license is added to all source files
set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()

ament_package()
3 changes: 2 additions & 1 deletion rosplane_tuning/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package format="3">
<name>rosplane_tuning</name>
<version>1.0.0</version>
<description>TODO: Package description</description>
<description>Contains data visualization, signal generator, and a RQT-based tuning GUI.</description>
<maintainer email="[email protected]">controls</maintainer>
<license>BSD</license>

Expand All @@ -23,6 +23,7 @@

<export>
<build_type>ament_cmake</build_type>
<rqt_gui plugin="${prefix}/plugin.xml" />
</export>

</package>
Expand Down
17 changes: 17 additions & 0 deletions rosplane_tuning/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<library path="src">
<class name="ROSflightGUI"
type="rqt_tuning_gui.rosflight_tuning_gui.ROSflightGUI"
base_class_type="rqt_gui_py::Plugin">
<description>
Tuning GUI for ROSflight
</description>
<qtgui>
<group>
<label>ROSflight</label>
</group>
<label>ROSplane Tuning GUI</label>
<icon type="theme">system-help</icon>
<statustip>Super helpful GUI for tuning ROSplane.</statustip>
</qtgui>
</class>
</library>
Loading

0 comments on commit b6423a0

Please sign in to comment.