[ros-users] roslaunch - include extra launch file
Steven Bellens
steven.bellens at mech.kuleuven.be
Mon Feb 7 14:32:19 UTC 2011
2011/2/7 koen buys <koen.buys at mech.kuleuven.be>:
> Hi all,
>
> I'm including the image_view package (which is in its own launch file)
> in another launch file, when I launch this second launch file it seems
> that the image_view is executed from ~/.ros/ folder and also saves
> it output there. Is this default behavior? I would like that my
> included launch files also start from the $PWD location.
There is the cwd attribute for node elements:
http://www.ros.org/wiki/roslaunch/XML/node
I was looking for the same thing two days ago :)
Steven
>
> Greets,
>
> Koen
>
> This is the content from image_view launch file:
>
> koen at pma-09-031
> ~/ros/private-kul-ros-pkg/kul_sensor_launch/launch/streaming $ cat
> ../imview/imview_584.launch
> <launch>
> <param name="use_sim_time" value="false"/>
> <!-- Displaying the images directly without RVIZ -->
> <node pkg="image_view" type="image_view" respawn="false"
> name="prosilica_viewer_color_584" output="screen"
> launch-prefix="gnome-terminal -x">
> <param name="autosize" type="bool" value="False" />
> <param name="window_name" type="str" value="'Prosilica Camera
> 584 (Color)'" />
> <remap from="image" to="prosilica_584/image_color" />
> </node>
> </launch>
>
> And I include it like this:
>
> <include file="$(find kul_sensor_launch)/launch/imview/imview_584.launch" />
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
More information about the ros-users
mailing list