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

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)">

https://github.com/ros/ros_comm/issue...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

ahendrix gravatar image

The capabilities package can be used to manage startup dependencies between launch files: http://wiki.ros.org/capabilities Most of the documentation lives on http://docs.ros.org/lunar/api/capabil... . 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

Comments

Thank you. I will read this pages and have a try with http://wiki.ros.org/capabilities .

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

Question Tools

2 followers

Stats

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

Seen: 485 times

Last updated: Aug 21 '18