include rosrun image_proc image_proc to roslaunch file
How can I include the command:
ROS_NAMESPACE=camera/color rosrun image_proc image_proc
into a launch file. I tried (in the launch file):
<launch>
...
<!-- Include image processing-->
<node name="image_raw_2_image_rect" pkg="image_proc" type="image_proc">
<param name="ROS_NAMESPACE" value="/camera/color" />
</node>
...
</launch>
Ubuntu 18.04 ros melodic
Please see whether #q314560 answers this.