Skip to content

Commit f4f4aac

Browse files
committed
Add rosbag panel dependency, which is a GUI for Rviz to open/play rosbags
1 parent 51f0550 commit f4f4aac

File tree

6 files changed

+30
-257
lines changed

6 files changed

+30
-257
lines changed

.github/workflows/dependencies.repos

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ repositories:
2626
rviz_colorize_point_cloud_by_label:
2727
type: git
2828
url: https://github.com/UniBwTAS/rviz_colorize_point_cloud_by_label.git
29-
version: master
29+
version: master
30+
rosbag_panel:
31+
type: git
32+
url: https://github.com/UniBwTAS/rosbag_panel.git
33+
version: master
34+
ros_comm:
35+
type: git
36+
url: https://github.com/UniBwTAS/ros_comm.git
37+
version: dev-ctrl-by-srv-minimal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ catkin build
126126
# run on kitti odometry dataset
127127
roslaunch continuous_clustering demo_kitti_folder.launch path:=${KITTI_SEQUENCES_PATH}
128128

129-
# run on VW Touareg rosbag
129+
# run on VW Touareg rosbag (set the playback speed lower in Rviz (RosbagPanel) if you run in docker due to missing
130+
# hardware acceleration for graphical output)
130131
roslaunch continuous_clustering demo_touareg.launch bag_file:=${ROSBAG_PATH}/vw_touareg_example1.bag
131132
```
132133

launch/demo_touareg.launch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<!-- arguments to play directly a rosbag with this launch file -->
99
<arg name="bag_file" default="" doc="path to bag file; if empty no bag file is replayed"/>
10-
<arg name="bag_rate" default="0.1" doc="replay speed"/>
1110

1211
<!-- flags for enable/disable individual sensors -->
1312
<arg name="use_vls128_roof" default="true"/>
@@ -38,8 +37,8 @@
3837

3938
<!-- play a rosbag if desired -->
4039
<param name="use_sim_time" value="true" if="$(eval not (bag_file == ''))"/>
41-
<node pkg="rosbag" type="play" name="rosbag_play_recording"
40+
<node pkg="rosbag" type="play" name="rosbag_play"
4241
required="true"
43-
args="--rate $(arg bag_rate) --clock $(arg bag_file)"
42+
args="--server $(arg bag_file)"
4443
if="$(eval not (bag_file == ''))"/>
4544
</launch>

package.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
<depend>ouster_ros</depend>
2121
<depend>ethernet_msgs</depend>
2222

23+
<exec_depend>xacro</exec_depend>
2324
<exec_depend>rviz_range_image</exec_depend>
2425
<exec_depend>rviz_continuous_point_cloud</exec_depend>
2526
<exec_depend>rviz_colorize_point_cloud_by_label</exec_depend>
27+
<exec_depend>rosbag_panel</exec_depend>
2628

2729
</package>

rviz/demo_touareg.rviz

Lines changed: 10 additions & 252 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Panels:
1212
- /LidarLeft1/ContinuousRangeImages1/InstanceSegmentation1/Enable continuous1
1313
- /LidarRight1
1414
Splitter Ratio: 0.6441441178321838
15-
Tree Height: 373
15+
Tree Height: 268
1616
- Class: rviz/Selection
1717
Name: Selection
1818
- Class: rviz/Tool Properties
@@ -31,6 +31,12 @@ Panels:
3131
Name: Time
3232
SyncMode: 0
3333
SyncSource: ContinuousInstances
34+
- Class: rosbag_panel/RosbagPanel
35+
LastOpenedDirectory: ""
36+
Name: RosbagPanel
37+
- Class: rosbag_panel/RosbagPanel
38+
LastOpenedDirectory: ""
39+
Name: RosbagPanel
3440
Preferences:
3541
PromptSaveOnExit: true
3642
Toolbars:
@@ -70,257 +76,7 @@ Visualization Manager:
7076
Alpha: 1
7177
Show Axes: false
7278
Show Trail: false
73-
base_link_ground:
74-
Alpha: 1
75-
Show Axes: false
76-
Show Trail: false
77-
sensor/camera/marveye/left:
78-
Alpha: 1
79-
Show Axes: false
80-
Show Trail: false
81-
sensor/camera/marveye/left/world:
82-
Alpha: 1
83-
Show Axes: false
84-
Show Trail: false
85-
Value: true
86-
sensor/camera/marveye/nir_left:
87-
Alpha: 1
88-
Show Axes: false
89-
Show Trail: false
90-
sensor/camera/marveye/nir_left/world:
91-
Alpha: 1
92-
Show Axes: false
93-
Show Trail: false
94-
Value: true
95-
sensor/camera/marveye/nir_right:
96-
Alpha: 1
97-
Show Axes: false
98-
Show Trail: false
99-
sensor/camera/marveye/nir_right/world:
100-
Alpha: 1
101-
Show Axes: false
102-
Show Trail: false
103-
Value: true
104-
sensor/camera/marveye/right:
105-
Alpha: 1
106-
Show Axes: false
107-
Show Trail: false
108-
sensor/camera/marveye/right/world:
109-
Alpha: 1
110-
Show Axes: false
111-
Show Trail: false
112-
Value: true
113-
sensor/camera/marveye/rotating_head:
114-
Alpha: 1
115-
Show Axes: false
116-
Show Trail: false
117-
Value: true
118-
sensor/camera/marveye/rotation_point:
119-
Alpha: 1
120-
Show Axes: false
121-
Show Trail: false
122-
sensor/camera/marveye/tele:
123-
Alpha: 1
124-
Show Axes: false
125-
Show Trail: false
126-
sensor/camera/marveye/tele/mirror:
127-
Alpha: 1
128-
Show Axes: false
129-
Show Trail: false
130-
sensor/camera/marveye/tele/world:
131-
Alpha: 1
132-
Show Axes: false
133-
Show Trail: false
134-
Value: true
135-
sensor/camera/roof/ir:
136-
Alpha: 1
137-
Show Axes: false
138-
Show Trail: false
139-
sensor/camera/roof/ir/world:
140-
Alpha: 1
141-
Show Axes: false
142-
Show Trail: false
14379
Value: true
144-
sensor/camera/surround/back:
145-
Alpha: 1
146-
Show Axes: false
147-
Show Trail: false
148-
sensor/camera/surround/back/world:
149-
Alpha: 1
150-
Show Axes: false
151-
Show Trail: false
152-
Value: true
153-
sensor/camera/surround/front:
154-
Alpha: 1
155-
Show Axes: false
156-
Show Trail: false
157-
sensor/camera/surround/front/world:
158-
Alpha: 1
159-
Show Axes: false
160-
Show Trail: false
161-
Value: true
162-
sensor/camera/surround/left:
163-
Alpha: 1
164-
Show Axes: false
165-
Show Trail: false
166-
sensor/camera/surround/left/world:
167-
Alpha: 1
168-
Show Axes: false
169-
Show Trail: false
170-
Value: true
171-
sensor/camera/surround/right:
172-
Alpha: 1
173-
Show Axes: false
174-
Show Trail: false
175-
sensor/camera/surround/right/world:
176-
Alpha: 1
177-
Show Axes: false
178-
Show Trail: false
179-
Value: true
180-
sensor/camera/windshield/nir:
181-
Alpha: 1
182-
Show Axes: false
183-
Show Trail: false
184-
sensor/camera/windshield/nir/world:
185-
Alpha: 1
186-
Show Axes: false
187-
Show Trail: false
188-
Value: true
189-
sensor/camera/windshield/vis:
190-
Alpha: 1
191-
Show Axes: false
192-
Show Trail: false
193-
sensor/camera/windshield/vis/world:
194-
Alpha: 1
195-
Show Axes: false
196-
Show Trail: false
197-
Value: true
198-
sensor/ins/oxts:
199-
Alpha: 1
200-
Show Axes: false
201-
Show Trail: false
202-
sensor/lidar/hdl64_roof:
203-
Alpha: 1
204-
Show Axes: false
205-
Show Trail: false
206-
sensor/lidar/hdl64_roof/rotating_head:
207-
Alpha: 1
208-
Show Axes: false
209-
Show Trail: false
210-
sensor/lidar/os32_left/os_sensor:
211-
Alpha: 1
212-
Show Axes: false
213-
Show Trail: false
214-
Value: true
215-
sensor/lidar/os32_right/os_sensor:
216-
Alpha: 1
217-
Show Axes: false
218-
Show Trail: false
219-
Value: true
220-
sensor/lidar/vls128_roof:
221-
Alpha: 1
222-
Show Axes: false
223-
Show Trail: false
224-
Value: true
225-
sensor/odometry/base:
226-
Alpha: 1
227-
Show Axes: false
228-
Show Trail: false
229-
sensor/radar/umrr/21:
230-
Alpha: 1
231-
Show Axes: false
232-
Show Trail: false
233-
Value: true
234-
sensor/radar/umrr/31:
235-
Alpha: 1
236-
Show Axes: false
237-
Show Trail: false
238-
Value: true
239-
sensor/radar/umrr/32:
240-
Alpha: 1
241-
Show Axes: false
242-
Show Trail: false
243-
Value: true
244-
sensor/radar/umrr/33:
245-
Alpha: 1
246-
Show Axes: false
247-
Show Trail: false
248-
Value: true
249-
sensor/radar/umrr/34:
250-
Alpha: 1
251-
Show Axes: false
252-
Show Trail: false
253-
Value: true
254-
sensor/radar/umrr/35:
255-
Alpha: 1
256-
Show Axes: false
257-
Show Trail: false
258-
Value: true
259-
vehicle/center_of_gravity:
260-
Alpha: 1
261-
Show Axes: false
262-
Show Trail: false
263-
vehicle/chassis:
264-
Alpha: 1
265-
Show Axes: false
266-
Show Trail: false
267-
Value: true
268-
vehicle/rear_axis:
269-
Alpha: 1
270-
Show Axes: false
271-
Show Trail: false
272-
vehicle/wheel/front_left:
273-
Alpha: 1
274-
Show Axes: false
275-
Show Trail: false
276-
Value: true
277-
vehicle/wheel/front_left/air_suspension:
278-
Alpha: 1
279-
Show Axes: false
280-
Show Trail: false
281-
vehicle/wheel/front_left/steer:
282-
Alpha: 1
283-
Show Axes: false
284-
Show Trail: false
285-
vehicle/wheel/front_right:
286-
Alpha: 1
287-
Show Axes: false
288-
Show Trail: false
289-
Value: true
290-
vehicle/wheel/front_right/air_suspension:
291-
Alpha: 1
292-
Show Axes: false
293-
Show Trail: false
294-
vehicle/wheel/front_right/steer:
295-
Alpha: 1
296-
Show Axes: false
297-
Show Trail: false
298-
vehicle/wheel/rear_left:
299-
Alpha: 1
300-
Show Axes: false
301-
Show Trail: false
302-
Value: true
303-
vehicle/wheel/rear_left/air_suspension:
304-
Alpha: 1
305-
Show Axes: false
306-
Show Trail: false
307-
vehicle/wheel/rear_left/steer:
308-
Alpha: 1
309-
Show Axes: false
310-
Show Trail: false
311-
vehicle/wheel/rear_right:
312-
Alpha: 1
313-
Show Axes: false
314-
Show Trail: false
315-
Value: true
316-
vehicle/wheel/rear_right/air_suspension:
317-
Alpha: 1
318-
Show Axes: false
319-
Show Trail: false
320-
vehicle/wheel/rear_right/steer:
321-
Alpha: 1
322-
Show Axes: false
323-
Show Trail: false
32480
Name: RobotModel
32581
Robot Description: robot_description
32682
TF Prefix: ""
@@ -1328,7 +1084,9 @@ Window Geometry:
13281084
Hide Right Dock: false
13291085
InstanceSegmentation:
13301086
collapsed: false
1331-
QMainWindow State: 000000ff00000000fd00000004000000000000023f000002d0fc0200000009fb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb0000000c00430061006d006500720061010000003d000000ca0000001600fffffffb000000100044006900730070006c006100790073010000010d00000200000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb000000160052006f007300620061006700500061006e0065006c00000002f90000008c0000000000000000000000010000010f000002d0fc0200000004fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000001200530065006c0065006300740069006f006e010000003d000002010000005c00fffffffb0000000a005600690065007700730100000244000000c9000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000738000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000738000000c8fc0100000009fb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e000000000000000738000000ce00fffffffb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e000000000000000738000000ce00fffffffb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e000000000000000738000000eb00fffffffb0000000e0046006900720069006e006700730000000000000007380000006200fffffffc00000000000007380000000000fffffffaffffffff0200000003fb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000001600fffffffb0000000e0046006900720069006e006700730000000000ffffffff0000001600fffffffb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e0000000313000000c80000001600fffffffb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e010000000000000738000000eb00fffffffb0000000e0046006900720069006e006700730000000000000007380000006200fffffffc00000000000007380000000000fffffffa000000000200000004fb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000000000000000fb0000000e0046006900720069006e006700730000000000ffffffff0000000000000000fb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000000000000000fb0000000800540069006d006500000004150000003e0000003900fffffffb0000000800540069006d00650100000000000004500000000000000000000003de000002d000000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
1087+
QMainWindow State: 000000ff00000000fd00000004000000000000023f000002d0fc020000000dfb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb0000000c00430061006d006500720061010000003d000000a10000001600fffffffb000000100044006900730070006c00610079007301000000e400000197000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb000000160052006f007300620061006700500061006e0065006c00000002f90000008c0000007700fffffffb000000160052006f007300620061006700500061006e0065006c01000002810000008c0000008c00fffffffb000000160052006f007300620061006700500061006e0065006c01000002810000008c0000000000000000fb000000160052006f007300620061006700500061006e0065006c01000002810000008c0000000000000000fb000000160052006f007300620061006700500061006e0065006c01000002810000008c0000000000000000000000010000010f000002d0fc0200000004fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000001200530065006c0065006300740069006f006e010000003d000002010000005c00fffffffb0000000a005600690065007700730100000244000000c9000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000738000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000738000000c8fc0100000009fb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e000000000000000738000000ce00fffffffb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e000000000000000738000000ce00fffffffb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e000000000000000738000000eb00fffffffb0000000e0046006900720069006e006700730000000000000007380000006200fffffffc00000000000007380000000000fffffffaffffffff0200000003fb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000001600fffffffb0000000e0046006900720069006e006700730000000000ffffffff0000001600fffffffb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e0000000313000000c80000001600fffffffb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e010000000000000738000000eb00fffffffb0000000e0046006900720069006e006700730000000000000007380000006200fffffffc00000000000007380000000000fffffffa000000000200000004fb000000280049006e007300740061006e00630065005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000000000000000fb0000000e0046006900720069006e006700730000000000ffffffff0000000000000000fb0000002e00470072006f0075006e00640050006f0069006e0074005300650067006d0065006e0074006100740069006f006e0000000000ffffffff0000000000000000fb0000000800540069006d006500000004150000003e0000003900fffffffb0000000800540069006d00650100000000000004500000000000000000000003de000002d000000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
1088+
RosbagPanel:
1089+
collapsed: false
13321090
Selection:
13331091
collapsed: false
13341092
Time:

scripts/clone_repositories_and_install_dependencies.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ git clone https://github.com/UniBwTAS/rviz_range_image.git
1717
git clone https://github.com/UniBwTAS/rviz_continuous_point_cloud.git
1818
git clone https://github.com/UniBwTAS/rviz_colorize_point_cloud_by_label.git
1919

20+
# another very useful Rviz plugin, which shows a panel to control the playback of rosbag
21+
git clone https://github.com/UniBwTAS/rosbag_panel.git
22+
# rosbag_panel requires a fork of ros_comm as it adds a ROS service to the rosbag player to control it remotely
23+
git clone https://github.com/UniBwTAS/ros_comm.git --branch dev-ctrl-by-srv-minimal
24+
2025
# actual continuous clustering package
2126
if [ "$1" != "--from-source" ]
2227
then

0 commit comments

Comments
 (0)