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

Create anonymous node in rosjava

asked 2015-03-13 17:21:21 -0600

Tal gravatar image

updated 2015-03-13 17:23:43 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-21 04:54:59 -0600

Tal gravatar image
edit flag offensive delete link more

Question Tools


Asked: 2015-03-13 17:21:21 -0600

Seen: 171 times

Last updated: Mar 21 '15