Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sick TIM310 - LIBUSB - Read Error: -7 #31

Closed
JoaquimUdeM opened this issue Jan 21, 2016 · 4 comments
Closed

Sick TIM310 - LIBUSB - Read Error: -7 #31

JoaquimUdeM opened this issue Jan 21, 2016 · 4 comments

Comments

@JoaquimUdeM
Copy link

Hi, I am having issues getting my Sick Tim310-1030000 to publish data on /scan.

I initially I had a TIMEOUT error, I fixed that by increasing the time out by 500ms in sick_tim_common_usb.cpp.

LIBUSB_ERROR_TIMEOUT + 500

Now I have another error:

... logging to /home/ponn/.ros/log/b15e236c-c068-11e5-bd53-dc5360922b79/roslaunch-ponn-22050.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://139.103.89.70:58715/

SUMMARY
========

PARAMETERS
 * /robot_description
 * /rosdistro
 * /rosversion

NODES
  /
    robot_state_publisher (robot_state_publisher/state_publisher)
    sick_tim310 (sick_tim/sick_tim310)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[robot_state_publisher-1]: started with pid [22071]
process[sick_tim310-2]: started with pid [22089]
[ INFO] [1453404496.214508875]: SICK AG - TIM3XX - [1]
[ INFO] [1453404496.214598429]: ----------------------------------------
[ INFO] [1453404496.214641661]: Device Class: 0x0
[ INFO] [1453404496.214676574]: VendorID:     0x19a2
[ INFO] [1453404496.214714734]: ProductID:    0x5001
[ INFO] [1453404496.214748722]: ----------------------------------------
[ INFO] [1453404496.214818428]: Interfaces: 1
[ INFO] [1453404496.214855117]: ----------------------------------------
[ INFO] [1453404496.214897265]: Number of alternate settings: 1
[ INFO] [1453404496.214933093]: Interface number: 0
[ INFO] [1453404496.214965705]: Number of endpoints: 2
[ INFO] [1453404496.214998357]: Descriptor Type: 5
[ INFO] [1453404496.215033398]: EP Address: 129
[ INFO] [1453404496.215064303]: Descriptor Type: 5
[ INFO] [1453404496.215095864]: EP Address: 2
[ INFO] [1453404496.215131140]: ----------------------------------------
[ INFO] [1453404496.215206142]: LIBUSB - Claimed interface
[ERROR] [1453404497.220469100]: LIBUSB - Read Error: -7.
[ERROR] [1453404497.220819113]: Read Error when getting datagram: -7.

SOPAS - Stopped streaming scan data.
LIBUSB - Released Interface.

I was wondering if anyone knows the solution to this error.

The error occured on both of my out of the box SICK Tim-lasers

Thanks,
Joaquim.

@mintar
Copy link
Member

mintar commented Jan 22, 2016

FYI, "Read error -7" is also LIBUSB_ERROR_TIMEOUT.

There are a couple of related (closed) issues, perhaps you find some useful info there: #7 #29

Unfortunately, I won't have time in the next week for this. @jspricke , could you take a look?

@jspricke
Copy link
Member

Hi Joaquim,

Do you have the scanner connected through a hub, or directly to the PC? Can you try it on a different computer? Can you the steps Martin proposed here: #7 (comment) and send me the bag file?

@mintar
Copy link
Member

mintar commented Mar 30, 2016

Closing due to lack of response.

@mintar mintar closed this as completed Mar 30, 2016
@mintar
Copy link
Member

mintar commented Mar 31, 2016

This bug probably has the same cause as #33 and #35 : The firmware is probably >= 2.50, which doesn't support ranging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants