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

Rosjava - Launch another node from within rosjava node

asked 2013-04-01 23:32:26 -0500

yigit gravatar image

updated 2013-04-01 23:34:07 -0500

Hello everyone,

I have an application on my android device that runs a rosjava node (the example pubsub node) on my robot.

Let's say I have another package X, implemented in C++. I create the node using

rosrun X Y

At the moment pubsub node is started, I want to get Y node started as well. (I assume I do that inside rosjava node)

I don't know how to do that. I appreciate any suggestion.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-07 20:56:30 -0500

damonkohler gravatar image

It sounds like you're trying to make your nodes run in a specific order. That's generally a bad idea. Instead, a node should simply wait until the system is in the state it expects (e.g. a particular topic is being published).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-01 23:32:26 -0500

Seen: 287 times

Last updated: May 07 '13