vectornav icon indicating copy to clipboard operation
vectornav copied to clipboard

vn::timeout Error Occuring

Open advra opened this issue 3 years ago • 2 comments

This is a common occurrence where I cannot connect to the VN. I am using a VN200 to log data of a period of time.

This is occurred on 3 separate occasions: one when the VN is left connected to the USB port of a raspberry pi for roughly a couple days and twice when our logging program crashed. Below is the error we get:

terminate called after throwing an instance of 'vn::timeout'
  what():  timeout
Aborted

The immediately solution is to replug the USB so we can connect to it again. Any idea why this is? Ideally I would prefer not to manually reset the USB as the device is remote during long periods of time. I look forward to any suggestions or insight you may provide.

advra avatar Sep 19 '20 03:09 advra

I just had the same and in my case it was usb issue of the devices and has nothing to do with the ros driver.

bjajoh avatar Oct 02 '22 17:10 bjajoh

There are ways to reset the USB ports in software. I believe you can even power cycle them. https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line

berndpfrommer avatar Oct 02 '22 20:10 berndpfrommer