Search found 6 matches

by BradQuick2
Fri Jul 26, 2013 2:33 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 57213

Re: Changing PID Values with a Pot

Here's a link to the theory behind my autotune code. If you understand how it works, it may be easier to port to Multi-Wii. One thing that will make it difficult to port is that to the best of my knowledge Multi-Wii uses nested loops for PID control. I believe it uses one PID loop for angular veloci...
by BradQuick2
Sun Jun 30, 2013 3:37 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52096

Re: Reorganising source *.c code with *.h headers; Eclipse I

Hello all. I just released my code from a somewhat similar project: m It's based on some multiwii ideas, but it's pretty much a complete re-write. It's all done with .c and .h files. I do the development in Xcode on a Mac. I'm sure it would adapt to eclipse quite easily. For distribution, I just cop...
by BradQuick2
Sun Jun 30, 2013 3:18 pm
Forum: Ideas
Topic: Altitude floor
Replies: 7
Views: 3282

Re: Altitude floor

I see that felix beat me to the punch. My "Uncrashability Mode" (see link above) works like this: The code anticipates when the aircraft might go below an altitude threshold by monitoring the rate of descent and predicting what the altitude will be one second in the future. If it's going t...
by BradQuick2
Mon Jun 24, 2013 1:25 am
Forum: Ideas
Topic: Position hold using Accelerometer and Gyro
Replies: 9
Views: 3789

Re: Position hold using Accelerometer and Gyro

The answer is: No you can't. You can integrate the acceleration over time to get velocity and integrate the velocity over time to get position. The problem is that there is always error involved and you are integrating the error as well. So after a few seconds, the error grows to an unacceptable lev...
by BradQuick2
Thu Apr 18, 2013 3:12 am
Forum: Software development
Topic: Change Angle Mode maximum angle
Replies: 2
Views: 1770

Re: Change Angle Mode maximum angle

As far as I can tell, that would change the maximum angle, but you would only use a small portion of your stick throw. Instead, I think you can change the pitch and roll rate using the config program.
by BradQuick2
Wed Apr 17, 2013 1:14 pm
Forum: Software development
Topic: MultiWii roadmap for 2.3
Replies: 62
Views: 21808

Re: MultiWii roadmap for 2.3

I'm currently working on my own code which has a lot of code borrowed from MultiWii. I'm developing on a Mac using Xcode because I don't like the Arduino IDE. The code is formatted fairly traditionally, with header and source files. It doesn't use any Arduino libraries directly. I can make the proje...