LIBUSB_ERROR_TIMEOUT on RosLaunch

Firmware/software/electronics/mechanics
Post Reply
novneeton
Beginner
Posts: 4
Joined: Sun Aug 20, 2017 7:16 pm

LIBUSB_ERROR_TIMEOUT on RosLaunch

Post by novneeton »

Hi guys,

I have been trying to use ros packages to teleoperate my two crazyflies. With the help of Wolfgang's pdf (http://act.usc.edu/publications/Hoenig_ ... OS2017.pdf) I was able to do most of the things right and got to operate one crazyflie through my logitech dual action controller using the PS3 launch setup.

But after couple of good connections I am getting a timeout error which says:

"terminate called after throwing an instance of 'std::runtime_error'
what(): LIBUSB_ERROR_TIMEOUT"

[crazyflie_server-2] process has died [pid 4402, exit code -6, cmd /home/bitcraze/crazyflie_ws/devel/lib/crazyflie_driver/crazyflie_server __name:=crazyflie_server __log:=/home/bitcraze/.ros/log/45987774-c6fe-11e7-b4f4-08002749d42b/crazyflie_server-2.log].
log file: /home/bitcraze/.ros/log/45987774-c6fe-11e7-b4f4-08002749d42b/crazyflie_server-2*.log

There are a lot of solutions on the net but if any of you have faced a similar problem please help me out.

Thanks
Novneet
Lama
Beginner
Posts: 12
Joined: Sun Jan 28, 2018 5:41 pm

Re: LIBUSB_ERROR_TIMEOUT on RosLaunch

Post by Lama »

Hey,

@novneeton
I have the same error here! Any suggestions for a solution?

Kind regards
Lama
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: LIBUSB_ERROR_TIMEOUT on RosLaunch

Post by arnaud »

Hi,

I have had the error when I did no set the right URI for my Crazyflie. Are you sure you have the Crazyflie on the right channel/datarate/address?
Lama
Beginner
Posts: 12
Joined: Sun Jan 28, 2018 5:41 pm

Re: LIBUSB_ERROR_TIMEOUT on RosLaunch

Post by Lama »

Hello and thanks for your answer.

Yes we verified the URI before in the other Thread said Error happens (viewtopic.php?f=8&t=2847&p=14258&sid=64 ... f52#p14258).

We tested ROS at another PC (VM at Windows 7 64-bit host) but get the same Error!

So sadly we couldn't fix that problem so far.

Greetings
Lama
Post Reply