Skip to content

Commit

Permalink
Choice of subx_driver to launch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackb18b authored Aug 4, 2024
1 parent 5ad5692 commit 91ef94a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion SubjuGator/command/subjugator_launch/launch/can.launch
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="sub" default="sub8"/>

<!-- To run in simulated mode, set /is_simulation param True -->
<node pkg="mil_usb_to_can" type="sub8_driver.py" name="usb_to_can_driver">
<node pkg="mil_usb_to_can" type="$(arg sub)_driver.py" name="usb_to_can_driver">
<rosparam command="delete" />
<rosparam>
# Path of serial device
Expand Down
4 changes: 3 additions & 1 deletion SubjuGator/command/subjugator_launch/launch/sub8.launch
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
<arg name="environment" value="$(arg environment)" />
</include>

<include file="$(find subjugator_launch)/launch/can.launch" />
<include file="$(find subjugator_launch)/launch/can.launch">
<arg name="sub" value="$(arg sub)"/>
</include>

<!-- Parameters for course-specific geometry -->
<group ns="course">
Expand Down

0 comments on commit 91ef94a

Please sign in to comment.