Skip to content

Commit

Permalink
navigator_launch: Add ability to turn off classifier when running sim…
Browse files Browse the repository at this point in the history
…ulation
  • Loading branch information
cbrxyz committed Nov 3, 2024
1 parent 0ac615b commit 8b09f49
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<arg name="world" default="example_course" />
<arg name="extra_gazebo_args" default=""/>
<arg name="simulation" default="True"/>
<!-- Adding an option to disable the classifier/YOLO model which often runs
very slow on laptops -->
<arg name="classifier" default="True"/>
<param name="/use_sim_time" type="bool" value="true" />
<param name="/is_simulation" type="bool" value="True" />
<arg name="online-bagger" default="True" />
Expand All @@ -27,7 +30,7 @@
</include>

<!-- Simulation Relevant Code -->
<include file="$(find navigator_launch)/launch/perception/classifier.launch" >
<include if="$(arg classifier)" file="$(find navigator_launch)/launch/perception/classifier.launch" >
<arg name="main_image_topic" value="/wamv/sensors/camera/front_left_cam/image_raw"/>
<arg name="use_yolo_model1" value="True"/>
<arg name="use_yolo_model2" value="False"/>
Expand Down

0 comments on commit 8b09f49

Please sign in to comment.