Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait_for_server: is it necessary to require node to be initialised? #16

Closed
liborw opened this issue Oct 18, 2013 · 1 comment
Closed
Labels

Comments

@liborw
Copy link

liborw commented Oct 18, 2013

When I try to call wait_for_server from script not node or from python interpreter the following error is raised:

ROSInitException: time is not initialized. Have you called init_node()?

The problem is that the wait_for_service uses rospy.get_rostime(). Is it necessary, The wait_for_service uses time and it works perfectly fine?

@dirk-thomas
Copy link
Member

In order to utilize the communication infrastructure (which wait_for_server needs) the ROS node must have been initialized. Please consider asking question on http://answers.ros.org in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants