Yes that could also be the problem.. nxt_ros only works on top of the default nxt firmware.<div><br></div><div>-Melonee<br><br><div class="gmail_quote">On Sun, Aug 8, 2010 at 1:15 PM, Max B <span dir="ltr"><<a href="mailto:skinkworks42@gmail.com">skinkworks42@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have re-flashed by brick with NXT-G and the ultrasonic sensor now works. Before I was using lejos.<div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Sun, Aug 8, 2010 at 12:46 PM, Melonee Wise <span dir="ltr"><<a href="mailto:mwise@willowgarage.com" target="_blank">mwise@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>Yes I understand...I need to look into the problem more carefully Monday.. My thoughts are right now to put a try and catch in for the exception and to take another look at the raw nxt stream and see if there is anything I missed the first time I stumbled upon this problem.. If you want to work on it some more try looking at usbsock.py in nxt_python you can set debug to True and look at the data coming over the wire. <br>


<font color="#888888"><br>-Melonee</font></div><div><div></div><div><div><br>On Aug 8, 2010, at 4:49 AM, Max B <<a href="mailto:skinkworks42@gmail.com" target="_blank">skinkworks42@gmail.com</a>> wrote:<br>

<br></div><div></div><blockquote type="cite"><div>You say this happens periodically, but for me, it happens almost every time I run nxt_ros. I have set nxt_ros to respawn in the launch file, and it just keeps respawning. I applied the fix noted in <a href="http://code.google.com/p/nxt-python/issues/detail?id=5&can=1&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20Stars" target="_blank">Issue 5</a> on the nxt-python bug tracker, but it provided no help either.<div>




<br></div><div>From,</div><div>    Max<br><br><div class="gmail_quote">On Sat, Aug 7, 2010 at 6:08 PM, Melonee Wise <span dir="ltr"><<a href="mailto:mwise@willowgarage.com" target="_blank"></a><a href="mailto:mwise@willowgarage.com" target="_blank">mwise@willowgarage.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a problem in the underlying driver in nxt_python... It occurs when the I2C bus is pulled too quickly by the python library... I will look more into a more permanent fix on monday morning since I don't have a brick at home. For now if it only happens periodically set nxt_ros respawn in your launch file..<br>





<br>
-Melonee<br>
<div><div></div><div><br>
On Aug 7, 2010, at 2:34 PM, Max B <<a href="mailto:skinkworks42@gmail.com" target="_blank"></a><a href="mailto:skinkworks42@gmail.com" target="_blank">skinkworks42@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
>     I am using cturtle from the Ubuntu Lucid repositories, with the svn version of the nxt stack. I am running Ubuntu Lucid x64 with kernel 2.6.32-generic. I have an NXT controller, and I am trying to use it with ROS. I have an ultrasonic sensor configured for use on the robot. When I run nxt_ros with bluetooth, I get the error "nxt.error.I2CError: ls_get_status timeout" when it is setting up the sensors, and nxt_ros dies. When I use USB, I get the error "usb.USBError: No error" and nxt_ros dies. What can I do to fix this? If I comment out the ultrasonic sensor from the yaml file (and just leave two motors and a gyro), the process runs just fine.<br>





> From,<br>
>    Max<br>
</div></div>> _______________________________________________<br>
> ros-users mailing list<br>
<div>> <a href="mailto:ros-users@code.ros.org" target="_blank"></a><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
</div><div>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank"></a><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>



</div>_______________________________________________<br>
ros-users mailing list<br>
<div><a href="mailto:ros-users@code.ros.org" target="_blank"></a><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
</div><div><div></div><div><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank"></a><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a></div>


</div></blockquote></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>ros-users mailing list</span><br><span><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a></span><br>


<span><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>



ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">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>
</div></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>Senior Engineer<br>Willow Garage<br>68 Willow Rd.<br>Menlo Park, Ca 94025<br>
</div>