USB port stops receiving messages


#1

Hi,

I have a Magni Silver and I connected a laser XV-11 Neato Lidar to do the navigation. But only in raspberry with the ubiquityrobot linux image, after running the laser for a brief time the ttyUSB0 port stops receiving messages.

The system log message when this occurs is as follows:

Jan 11 17:06:25 ubiquityrobot kernel: [663.875537] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

What do you suggest me to correct this?

Thank you!


#2

A robot I have does this on our image and uses the get surreal controller attached to a Raspberry Pi 3.
https://www.getsurreal.com/product/xv-lidar-controller-v1-2/

You must use a very good power source for the raspberry Pi 3 (as always) and use a short and very good USB cable to the controller so power is fine on the controller and Lidar.
The page I have for a link has disappeared, sorry.

I would not recommend trying to do it all yourself with just a neato lidar and USB serial port as it is more prone to issues but is apparently possible. I have not done that.


#3

Yes separate power is probably indicated - you can connect directly to the 5V main power supply on the robot.


#4

The xv11 motor uses 3.3 volts. I have used an addition with an on board 3.3 v supply so I didn’t behave to build a:-) s:-)Sparta:-)he:-) circuit.


#5

Thanks for all help!

but I solved this by changing kernel parameters. More precisely just changing dwc_otg.speed -> 1 and the lidar started to run without falls :slight_smile: