How to access python to alter crazyflie w/ windows cfclient

Discussions about all things Bitcraze
Post Reply
jaymc
Beginner
Posts: 5
Joined: Mon Jun 04, 2018 8:53 pm

How to access python to alter crazyflie w/ windows cfclient

Post by jaymc » Mon Jun 04, 2018 9:14 pm

Hello.
I am currently running into a problem where I have to figure out how to turn off only one of the thrusters, and I assume I have to alter my crazyflie via a python client. However, I am not using Ubuntu due to weird problems with my computer, so I used windows' cfclient instead and it works perfectly. But now I do not know how to access this framework in order to modify my drone. Does anyone know how I can solve this?

arnaud
Bitcraze
Posts: 1671
Joined: Tue Feb 06, 2007 12:36 pm

Re: How to access python to alter crazyflie w/ windows cfclient

Post by arnaud » Mon Jun 11, 2018 2:09 pm

You can control the motors individually using a couple of log variables. You will find the log variables in the log tab: https://github.com/bitcraze/crazyflie-f ... #L110-L116. The value you set are the PWM ratio between 0 and 65535.

If you want to program the drone, as in modify its firmware, you will have to install a toolchain for ARM and make. There is some documentation about hot to compile the firmware on windows in the wiki: https://wiki.bitcraze.io/doc:crazyflie:dev:env:windows.

Post Reply