ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to launch a node with it's dependencies have started

asked 2018-08-21 09:49:01 -0500

itfanr gravatar image

I have 5 launch file. Some node must start when some nodes have started , or they cannot work.

If all the nodes are written by myself, it is easy to deal with.

But now, I use some packages like moveit, whose code is not in my workspace and I donnot want to rewrite it :

<node name="move_group" launch-prefix="$(arg launch_prefix)" pkg="moveit_ros_move_group" type="move_group" respawn="false" output="screen" args="$(arg command_args)">

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-21 17:30:55 -0500

ahendrix gravatar image

The capabilities package can be used to manage startup dependencies between launch files: Most of the documentation lives on . It's a bit rough, so I'd advise that you browse around a bit to get a sense for all of the things that are possible.

edit flag offensive delete link more


Thank you. I will read this pages and have a try with .

itfanr gravatar image itfanr  ( 2018-08-28 00:54:21 -0500 )edit

Question Tools



Asked: 2018-08-21 09:49:01 -0500

Seen: 491 times

Last updated: Aug 21 '18