changing roslaunch parameter
Hi! I would like to use an external webcam with a laptop that already has a built-in webcam which is mapped to /dev/video0. The uvc_camera node wants to use /dev/video0 and would like to change it to /dev/video1 is there any way to change the parameter from command line? I know I could change the .launch file, but I don't want to touch it. I tried to run roslaunch as follows, but it didn't work:
roslaunch uvc_camera camera_node.launch device:=/dev/video1
What is the best way to change a parameter in roslaunch without editing the original roslaunch file?
In the meantime I just found out, that if I copy the original launch file to somewhere in my home directory, I can edit it and I can launch it from there as well. This was probably too obvious, but I was confused by having the package name after the roslaunch command. For example:
cp /opt/ros/groovy/stacks/camera_umd/uvc_camera/launch/camera_node.launch /home/user/ros_workspace/ roslaunch /home/user/ros_workspace/camera_node.launch