Skip to content

Commit

Permalink
Remove conditional launch for NAND
Browse files Browse the repository at this point in the history
  • Loading branch information
PatXue committed Mar 18, 2024
1 parent 403c7c6 commit 4ca3952
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions rb_ws/src/buggy/launch/nand-main.launch
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@

<!-- ENABLE AUTON -->
<!-- autonsystem args: controller start_dist path buggy_name is_sim -->
<!-- Conditional Launch Files, depending on if NAND Exists or not -->
<arg name="NAND_exist" default="true"/>
<group if="$(arg NAND_exist)">
<!-- Run the simulation with NAND -->
<arg name="autonsystem_args" default="--controller $(arg controller) --dist 0.0 --traj $(arg path) --self_name SC --other_name NAND" />
<node name="auton_system" pkg="buggy" type="autonsystem.py" output="screen" args="$(arg autonsystem_args)"/>
</group>
<group unless="$(arg NAND_exist)">
<arg name="autonsystem_args" default="--controller $(arg controller) --dist 0.0 --traj $(arg path) --self_name SC" />
<node name="auton_system" pkg="buggy" type="autonsystem.py" output="screen" args="$(arg autonsystem_args)"/>
</group>
<arg name="autonsystem_args" default="--controller $(arg controller) --dist 0.0 --traj $(arg path) --self_name NAND" />
<node name="auton_system" pkg="buggy" type="autonsystem.py" output="screen" args="$(arg autonsystem_args)"/>
</launch>

0 comments on commit 4ca3952

Please sign in to comment.