-
Notifications
You must be signed in to change notification settings - Fork 105
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
Dongle hangs when application doesn't do a clean exit #11
Comments
It seems that this doesn't only happen on exit, it also happens during normal use on Mac OSX. Original Comment By: Marcus Eliasson |
Currently experiencing this bug with a brand-new dongle, crazyflie 2.0 in the VirtualBox image on both a windows and mac host. Seemed okay when I first got the quad up and running, but by the end of the night it couldn't hold a stable connection with the dongle. Very frustrating. |
What behaviour are you observing? Does the dongle hangs completely to the point that you have to disconnect it from the computer or is do you 'just' loose connection and have to reconnect the copter? |
The dongle seems to be hanging completely. The desktop application reports success when I ask it to reconnect and I occasionally can spin up the props, only to have it error out soon after. I tried using the radio with the android app over USB OTG directly after one of these crashes and it worked a treat. Perhaps I've got something funky going on with my VMs. |
If you can reconnect without removing the dongle from the PC then the dongle is not hanging. The PC client will consider the copter to be disconnected after a certain amount of packet lost. If there is a lot of radio noise on the channel you use it is possible to get disconnected because the noise is blocking too many packet in a row. Can you try to set another radio channel and change the datarate to 2Mbps? |
I changed the channel from 80 to 15, and the datarate up to 2Mbps. Initially this made it difficult to connect to the crazyflie (I moved it right beside the radio to scan successfully) and then managed to get a decent flight (~20 seconds) before the dongle failed again. The exact message I'm recieving is as follows.
|
I think when I had this issue, I accidentally flashed the CrazyRadio PA with the CrazyRadio(non PA) radio firmware. Hope that helps! Sent from my iPony
|
Could this be an issue if I haven't messed around with the firmware? The dongle should be on stock AFAIK. |
This is the second report of this problem in a week so something is going on. The other report is also coming from someone using the VM. I created a ticket for this issue #28. Can you tell me, in the ticket #28, what operating system you are running, what version of the VM and what version of virtualbox you are using? This way I can try to reproduce the problem. |
Ya, probably not an issue if you didn’t try to re-flash. ad
|
I've been running Virtualbox 5.1.2 on Windows 10 and 5.1.4 on El Capitan, both using the 2016-06 image. |
FWIW, I've had issues with Virtual Box 5.x and my MacBook Air. Is VirtualBox running hot? terminal top -o cpu should show you. I've had Virtual Box running > 95% cpu. Something to do with the network drivers, but not sure if its related. Sent from my iPony
|
Thanks for the info @Gregorsharpe, I am continuing on #28. |
The dongle will hang if the application using it doesn't do a clean exit like if you Ctrl-C the headless client or the Kinect client. This has also been reported to happen more frequently on Mac OSX in the forums (link).
The error message is:
The text was updated successfully, but these errors were encountered: