pass arg to ros node in launch file
How do i properly pass argument to ros node in ros launch file? Here is the ros node which i want to launch from a roslaunch file:
> <launch> <node name="2d_obj_rec"
> pkg="advanced_vision_pkg"
> type="2d_obj_rec" args="image"
> output="screen"/> </launch>
Here i want to pass image arugment like " rosrun advanced_vision_pkg 2d_obj_rec image:=/camera/image"
when i launch the file using cmd " roslaunch advanced_vision_pkg 2d_obj_rec.launch image:=/camera/image"
it is not working.