include rosrun image_proc image_proc to roslaunch file

asked 2020-06-16 15:36:59 -0500

ge82fit gravatar image

updated 2020-06-17 02:49:15 -0500

gvdhoorn gravatar image

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

edit retag flag offensive close merge delete

Comments

1

Please see whether #q314560 answers this.

gvdhoorn gravatar image gvdhoorn  ( 2020-06-17 02:50:23 -0500 )edit