Cannot Connect with Python Example

Post here to get support
Post Reply
davyrobertson
Beginner
Posts: 2
Joined: Sun Nov 02, 2014 8:28 am

Cannot Connect with Python Example

Post by davyrobertson »

Please help - this is driving me potty

I wanted to do some python dev with the copter on Windows. I have installed the Windows PC Client - and all the drivers and it works with a PS3 controller - so all is good

So then I install the python client and all good - except - the examples run - say ramp.py - and then dont connect - they just sit there doing nothing

The callback for connected - is not being called. If I switch off the copter - the disconnected callback works fine - but the connected one just sits there. I am using unmodified code - and I have tried a few others on the internet and these forums - but exactly the same behavior.

Lights do flash and appear to be streaming - but putting the usual debug into the code - the callback for connected simply doesnt get called

Any ideas please ?
davyrobertson
Beginner
Posts: 2
Joined: Sun Nov 02, 2014 8:28 am

Re: Cannot Connect with Python Example

Post by davyrobertson »

So anyway - I had updated my firmware recently from here https://bitbucket.org/bitcraze/crazyfli ... downloads/ I used the latest one Crazyflie_2014.01.0.bin - so I wondered if that was the issue.

So I decided to put the old firmware back - this one: cflie-2013.4.bin

And the examples start working straight away - no problem - ramp.py - nice and easy.

I also tried all this on the latest Xubuntu VM - Version 0.5 - I got same results - examples dont work.

So I guess it must be a firmware issue - however the latest Windows PC Client works perfectly with the new firmware - so I have no idea what the problem is. I also built a version from source of the cfclient - cfclient-2013.4.2 and that didnt work with the new firmware...

slight perplexed

Dave
Post Reply