Robotics StackExchange | Archived questions

Create anonymous node in rosjava

Here a link to simple ros node: listener

there is a way to create anonymous node:

# In ROS, nodes are uniquely named. If two nodes with the same
# node are launched, the previous one is kicked off. The
# anonymous=True flag means that rospy will choose a unique
# name for our 'listener' node so that multiple listeners can
# run simultaneously.
rospy.init_node('listener', anonymous=True)

How i can do the same functionality in rosjava?

Thanks, Tal.

Asked by Tal on 2015-03-13 17:21:21 UTC

Comments

Answers

Daniel answer: https://github.com/rosjava/rosjava_core/issues/208

Asked by Tal on 2015-03-21 04:54:59 UTC

Comments