Erin, <br>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.  <br><br>I've updated the tutorial to reflect this at <a href="http://www.ros.org/wiki/turtlesim">http://www.ros.org/wiki/turtlesim</a><br>

<br>Tully<br><br><div class="gmail_quote">On Mon, Mar 22, 2010 at 9:59 AM, Erin Kennedy <span dir="ltr"><<a href="mailto:erin.robotics@robotgrrl.com">erin.robotics@robotgrrl.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div style="word-wrap: break-word;">Hi all,<div><br></div><div>I'm encountering an error when I try to rosrun turtlesim turtlesim_node ...</div><div><br></div><div><span style="font-family: arial,sans-serif; font-weight: bold; white-space: pre-wrap; font-size: small;">[ERROR] 1269276678.662877000: [registerPublisher] Failed to contact master at [localhost:11311].  Retrying...<span></span><span> </span></span></div>

<div><br></div><div>It stalls there. When I press Ctrl-C, this appears:</div><div><br></div><div><span style="font-family: arial,sans-serif; font-size: small;"><div style="padding: 10px 13px 6px; font-family: arial,sans-serif; font-size: small; font-weight: normal; direction: ltr; text-align: left;">

<div style="font-family: arial,sans-serif; font-size: small; min-height: 33px; line-height: 1.35; text-align: left; direction: ltr;"><div style="font-family: arial,sans-serif; font-size: small; white-space: pre-wrap;"><div style="font-family: arial,sans-serif; font-size: small;">

<div style="margin: 0px;">^C[ INFO] 1269277115.920872000: Starting turtlesim with node name /turtlesim</div><div style="margin: 0px;">[ INFO] 1269277115.921579000: Spawning turtle [turtle1] at x=[5.555555], y=[5.555555], theta=[0.000000]</div>

</div></div></div><div style="overflow: hidden; font-family: arial,sans-serif; font-size: small;"></div></div><div style="overflow: visible; font-family: arial,sans-serif; font-size: small;"><div title="Continue this thread" style="font-family: arial,sans-serif; font-size: small;">

</div></div></span></div><div><br></div><div>No simulation window.</div><div><br></div><div>Has anyone had this bug? How do you fix it?</div><div><br></div><div>Best,</div><div>EK</div><font color="#888888"><div><br></div>

</font></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>