]> git.leonardobizzoni.com Git - pioneer-stm32/commitdiff
modify ros launch files to use new serial node
authorfdila <federicadilauro1998@gmail.com>
Tue, 14 Apr 2020 14:08:42 +0000 (16:08 +0200)
committerfdila <federicadilauro1998@gmail.com>
Tue, 14 Apr 2020 14:08:42 +0000 (16:08 +0200)
utils/catkin_ws/launch/joypad.launch
utils/catkin_ws/launch/serial_control.launch [new file with mode: 0644]

index 930186097f63eec7aa8b30e9e21b88c092517b11..eba527b274132d36aeb4bad5fcf471691b4cddde 100644 (file)
@@ -1,5 +1,5 @@
 <launch>
-  <include file="serial_bridge.launch" />
+  <include file="serial_controller.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>
diff --git a/utils/catkin_ws/launch/serial_control.launch b/utils/catkin_ws/launch/serial_control.launch
new file mode 100644 (file)
index 0000000..0fcbc93
--- /dev/null
@@ -0,0 +1,11 @@
+<launch>
+  <!-- Serial bridge nodes -->
+  <node name="serial_control" pkg="serial_bridge" type="serial_control.py"/>
+  
+  <!-- Serial port -->  
+  <param name="serial_port" value="/dev/ttyUSB0"/>
+  
+  <!-- Configuration parameters -->
+  
+  
+</launch>