Page 1 of 1

Can't get motion commander example to work

Posted: Fri Mar 22, 2019 11:51 am
by jalalirs
Hello all,

I have been trying to run the motion commander example https://github.com/bitcraze/crazyflie-l ... er_demo.py but no success. I managed to run the ramp.py but not any example with SyncCrazyflie. Astonishingly, the scripts run ok with no error but the quadcopter is never triggered. I have tried to debug the code but I couldn't find any bug. I put print statement everywhere in the code, including the send_packet function. Everything seems fine and the numbers look reasonable. Can you please advice

I am using Crazyflie 2 with a flow deck. I am running python3.7 on Mac

I attached the logs

Regards,

Re: Can't get motion commander example to work

Posted: Fri Mar 22, 2019 12:05 pm
by jalalirs
Waw. Right after I posted this question, I was able to solve it by updating the framework of the crazyflie using the iphone app. This solved the problem

Re: Can't get motion commander example to work

Posted: Fri Mar 22, 2019 1:26 pm
by arnaud
It is most likely that the firmware in your crazyflie was too old for these example. The examples assumes you are running the latest version of the Crazyflie firmware. Since I assume you have a Crazyradio, updating the firmware using the PC client is much quicker than using your iphone, see the getting started guide for instruction: https://www.bitcraze.io/getting-started ... #latest-fw.