Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge gui for rosplane tuning #41

Merged
merged 21 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading