Page 1 of 1

Dongle communication error when running python scripts

Posted: Sun May 04, 2014 7:43 pm
by animan
Hello,

I am new to crazyflie programming, trying to run some python scripts to control the quadcopter.
When I run the ramp.py example I always get the following:

Scanning interfaces for Crazyflies...
Crazyflies found:
radio: //0/7/2M
Connecting to radio://0/7/2M
Disconnected from radio://0/7/2M
Connection to radio://0/7/2M lost: Dongle communication error (ackStatus==None)

I have tried other python scripts but invariably get communication error.
Connecting to the crazyflie via "Crazyflie PC client" works fine and I am able to fly it around. So this problem seems to happen only while running python scripts.

I am using the Bitcraze VM 0.5 on a Windows 8.1. I have updated the crazyflie projects directory using update_all repos script.
Any help will be greatly appreciated.
Thanks!

Re: Dongle communication error when running python scripts

Posted: Wed May 07, 2014 2:11 am
by animan
Is anyone else using else using python scripts to control the crazyflie?
If it is working for you, can you please provide some guidance on what might the problem in my case.
Thanks.

Re: Dongle communication error when running python scripts

Posted: Wed May 14, 2014 8:10 am
by marcus
Hi,

This is a bug that has been seen from time to time (issue here). If you remove the dongle from the computer and insert it again this error should be fixed.

Re: Dongle communication error when running python scripts

Posted: Sat May 17, 2014 12:45 am
by animan
Hi,

Thanks for the information. I have seen this issue on clean exits also... seems to work the first time, then requires several tries, unplugging dongle etc to work again.
Do you know when the bug is expected to be fixed?
Thanks.

Re: Dongle communication error when running python scripts

Posted: Mon May 19, 2014 9:30 am
by marcus
Do you only see the issue when you are running the ramp example (or other examples) or is it also when running the normal cf-client? We haven't prioritized this one since it hasn't been see under normal circumstances, but we might have to change that. Currently there's no estimated date on fixing it.

Re: Dongle communication error when running python scripts

Posted: Sun May 25, 2014 2:23 am
by animan
marcus wrote:Do you only see the issue when you are running the ramp example (or other examples) or is it also when running the normal cf-client? We haven't prioritized this one since it hasn't been see under normal circumstances, but we might have to change that. Currently there's no estimated date on fixing it.
Hi, I don't have any issues with the crazy flie client application, I can open close connection multiple times without removing the dongle. I see the issue only with the ramp application and while running other python scripts I am experimenting with.
Thanks.

Re: Dongle communication error when running python scripts

Posted: Mon May 26, 2014 8:02 am
by marcus
animan wrote:
marcus wrote:Do you only see the issue when you are running the ramp example (or other examples) or is it also when running the normal cf-client? We haven't prioritized this one since it hasn't been see under normal circumstances, but we might have to change that. Currently there's no estimated date on fixing it.
Hi, I don't have any issues with the crazy flie client application, I can open close connection multiple times without removing the dongle. I see the issue only with the ramp application and while running other python scripts I am experimenting with.
Thanks.
I think this is an error in the example scripts. They don't seem to wait long enough for the dongle to close. I've added an issue for the examples here.