Skip to content

Commit

Permalink
separate serial_bridge from other launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
fdila committed Mar 2, 2020
1 parent 2d3d17b commit c11f765
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions utils/catkin_ws/launch/dario.launch
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<launch>
<!-- Used to transmit and receive from serial -->
<include file="serial_bridge.launch" />

<launch>
<!-- Used to receive cmd_vel from Arduino -->
<node name="rosserial_python" pkg="rosserial_python" type="serial_node.py">
<param name="port" value="/dev/ttyUSB1" />
Expand Down
3 changes: 0 additions & 3 deletions utils/catkin_ws/launch/joypad.launch
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<launch>
<!-- Used to transmit and receive from serial -->
<include file="serial_bridge.launch" />

<node name="joy_node" pkg="joy" type="joy_node" />
<node name="joy_to_cmd_vel" pkg="joypad_bridge" type="joy_to_cmd_vel.py"/>
</launch>
2 changes: 1 addition & 1 deletion utils/catkin_ws/launch/serial_bridge.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<!-- Node used to slow down /cmd_vel transmission to 10Hz -->
<node name="cmd_vel_throttler" type="throttle" pkg="topic_tools"
args="messages /cmd_vel 10 /cmd_vel_throttled" />
args="messages /cmd_vel 20 /cmd_vel_throttled" />

<!-- Serial port -->
<param name="serial_port" value="/dev/ttyUSB0"/>
Expand Down

0 comments on commit c11f765

Please sign in to comment.