Repository navigation
Commit e71c4b6
Add rtabmap_rviz_plugins (#238)
* Add rtabmap_rviz_plugins
* rtabmap_rviz_plugins: keep Qt 6 out of the plugin when RViz is Qt 5
conda-forge's VTK links Qt 6 (VTK::GUISupportQt and VTK::RenderingQt), and
so does rtabmap's GUI. Both reach the plugin's link interface:
rtabmap_conversions::rtabmap_conversions exports rtabmap::gui
(Qt6::Widgets;Core;Gui;OpenGL) and rtabmap::core, whose interface lists
pcl_visualization and VTK::GUISupportQt (Qt6::OpenGL;Widgets;OpenGLWidgets);
pcl_conversions_LIBRARIES carries the same PCL/VTK list. With jazzy's and
humble's Qt 5 RViz, CMake then fails with "INTERFACE_QT_MAJOR_VERSION of
Qt6::OpenGL does not agree with QT_MAJOR_VERSION".
The plugin uses none of them (only rtabmap/core and pcl_conversions
headers), so when it is built with Qt 5 the patch drops the Qt 6 targets,
VTK's Qt modules, rtabmap::gui and pcl_visualization from the imported
targets' link interfaces and from the pcl_conversions-style _LIBRARIES
variables. Distributions with a Qt 6 RViz (lyrical) don't find Qt5, and the
block does nothing there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* jazzy, humble: build rtabmap_rviz_plugins
The previous commit keeps VTK's and rtabmap's Qt 6 out of the Qt 5 plugin,
so the exclusions go. humble keeps rtabmap without Qt and rtabmap_viz
excluded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* humble: build rtabmap with Qt, and rtabmap_viz
rtabmap was built with -DWITH_QT=OFF on humble (from the old ros-humble repo),
so it had no GUI library and rtabmap_viz was excluded. Build it as jazzy does:
with VTK's Qt 6, which adds librtabmap_gui (build number 26 to rebuild it).
rtabmap_viz is a Qt 6 application of its own; rtabmap_rviz_plugins (Qt 5, like
humble's RViz) keeps rtabmap's GUI out with the previous commit's patch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* humble: rtabmap_viz depends on rtabmap directly
rtabmap_viz needs rtabmap's GUI component (find_package(RTABMap COMPONENTS
gui)), but its package.xml only reaches rtabmap through rtabmap_sync. CI's
parallel builds therefore built it next to the rebuilt rtabmap, against the
published build without Qt: "Unsupported or not found required component:
gui". As a direct dependency it is built after rtabmap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: osicodes <85848177+osicodes@users.noreply.github.com>
Co-authored-by: Tobias Fischer <info@tobiasfischer.info>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9d1e0ba commit e71c4b6
6 files changed
Lines changed: 39 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
| |||
129 | 124 | | |
130 | 125 | | |
131 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
16 | 42 | | |
17 | 43 | | |
18 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
| |||
0 commit comments