Erin,
You need to run roscore before starting the turtlesim node.  ROS nodes will not initialize until they can contact the master which is started as part of roscore. 

I've updated the tutorial to reflect this at http://www.ros.org/wiki/turtlesim

Tully

On Mon, Mar 22, 2010 at 9:59 AM, Erin Kennedy <erin.robotics@robotgrrl.com> wrote:
Hi all,

I'm encountering an error when I try to rosrun turtlesim turtlesim_node ...

[ERROR] 1269276678.662877000: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying... 

It stalls there. When I press Ctrl-C, this appears:

^C[ INFO] 1269277115.920872000: Starting turtlesim with node name /turtlesim
[ INFO] 1269277115.921579000: Spawning turtle [turtle1] at x=[5.555555], y=[5.555555], theta=[0.000000]

No simulation window.

Has anyone had this bug? How do you fix it?

Best,
EK


_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users




--
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote@willowgarage.com
(650) 475-2827