[ros-users] NXT Ultrasonic sensor

Melonee Wise mwise at willowgarage.com
Sat Aug 7 22:08:46 UTC 2010


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..

-Melonee

On Aug 7, 2010, at 2:34 PM, Max B <skinkworks42 at gmail.com> wrote:

> Hello,
>     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.
> From,
>    Max
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users



More information about the ros-users mailing list