(beginner)How can modify CF1.0 open sources?

Firmware/software/electronics/mechanics
Post Reply
fdfd0896468
Beginner
Posts: 1
Joined: Fri Feb 13, 2015 1:17 am

(beginner)How can modify CF1.0 open sources?

Post by fdfd0896468 »

HI, all

I'm beginner of CF1.0
Actually, i wanna modify opensources and run it.
Here is my scenario. if i press a switch connected Raspberry pi, Raspberry send a signal to CF1.0 and CF1.0 will go up.
My first goal is sending a signal to CF1.0 in Raspberry pi b+ and CF1.0 goes up and up..but i don't know how can make it. i know a little bit python but you know, this CF1.0 controller is Xbox360. Please help me..

PS. I'm foreigner so i'm still learning english. sorry
poizone
Member
Posts: 59
Joined: Thu Feb 05, 2015 3:59 am
Location: Ohio, USA

Re: (beginner)How can modify CF1.0 open sources?

Post by poizone »

You're going to need to spend a bit of time learning the crazyflie firmware and client code first. You'll need knowledge of C and Python, and a few days of reading through, charting, and working with the control structure of the control code.

The most relevant bits would be the PID controller, the Stabilization code, and the pygame interface of the client. Just sending the flie a command to go up isn't enough. You need to give the flie a point to point representation it can feed into the PID controller for each maneuver required (Total thrust upwards while keeping a stable position, then reduced thrust to hover again.) I would recommend getting used to building the firmware on your own first, and then looking into how the controller is interpreted by the client. Use that to build a command structure that you can reuse to give the flie precise instructions.
One day our flies will drown out the sun in an autonomous Skynet of whirring motors and blinking lights.
Post Reply