Skip to content

Commit 2d350a5

Browse files
committed
Add option use_rviz argument to demo_kitti_folder.launch
1 parent 75ad85c commit 2d350a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

launch/demo_kitti_folder.launch

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<arg name="evaluate_fast" default="false" doc="same as 'evaluate' but without ROS publishers and with no delays"/>
55
<arg name="delay_between_columns" default="2000" doc="artificial delay in microseconds between image columns"/>
66

7+
<arg name="use_rviz" default="true" doc="whether to start also rviz"/>
8+
79
<arg name="_evaluate" value="$(eval '--evaluate' if evaluate else '')"/>
810
<arg name="_evaluate_fast" value="$(eval '--evaluate-fast' if evaluate_fast else '')"/>
911

@@ -13,7 +15,7 @@
1315
args="$(arg path) --delay-between-columns $(arg delay_between_columns) $(arg _evaluate) $(arg _evaluate_fast)"
1416
output="screen"/>
1517

16-
<node name="rviz" pkg="rviz" type="rviz"
18+
<node name="rviz" pkg="rviz" type="rviz" if="$(arg use_rviz)"
1719
args="--display-config $(find continuous_clustering)/rviz/demo_kitti_folder.rviz"/>
1820

1921
<!-- below is just for visualization of a dummy car in Rviz (has not the correct dimensions) -->

0 commit comments

Comments
 (0)