Passing USB Port argument to included launch file
Hi Folks,
I have 2 launch files that i will start with executing one launch file.
In the one launch file i integrated the launch-files with <include> :
<?xml version="1.0"?>
<launch>
<include file="$(find curio_base)/launch/arduino_controller.launch port:=/dev/ttyUSB0" >
</include>
<include file="$(find curio_base)/launch/base_controller.launch" >
</include>
</launch>
I get the error:
RLException: while processing /home/masterkey/curio_ws/src/curio/curio_base/launch/arduino_controller.launch
port:=/dev/ttyUSB0:
Invalid roslaunch XML syntax: [Errno 2] No such file or directory:
u'/home/masterkey/curio_ws/src/curio/curio_base/launch/arduino_controller.launch port:=/dev/ttyUSB0'
The traceback for the exception was written to the log file
If I enter in the termianl:
roslaunch curio_base arduino_controller.launch port:=/dev/ttyUSB0
it works.
How do I specify the port:=/dev/ttyUSB0 expression correctly in the launch file?