I got a lot of requests for the matlab source code of my tracking algorithm. (If you wonder what I am talking about, watch this video of the tracking process via Matlab: http://vimeo.com/6347100 )
As you will see, it is not that complicated. I did not upload the complete source code, because that doesn't make too much sense. My GUI for example, contains a lot of code and it is most likely irrelevant to most of you. I left out the calculations of the different parameters for my PID control loop too, they will make things appear more complicated than they really are.
Here comes the code:
Matlab Tricopter Tracking
If you have questions, I would suggest that you put them into the comments for this post. Doing so, more people might benefit from it.
This micro air vehicle is a hobby project. Three MEMS gyroscopes and a two axis MEMS accelerometer are used as sensors.
It performs very well in aerobatics ("acro mode"), but it can also hover on its own ("hover mode").
Watch this video to see what this project is about and to see the copter in action.
Pages
This project was started in November 2008. The goal was to learn something about programming, electronics and control loops. Because I always need a cool project to learn new things, it was clear that something that can fly had to be built.
The project started as a "tricopter-only" project, but as I wanted to build smaller vehicles with more payload capacity, I decided to make some quadrotor, hexacopter and Y6 hexacopter firmwares too. My main interest is to build very small MAVs that fly as good as larger ones (or even better) and that can be controlled by wireless video link. I also experimented with autonomous flight in GPS-denied areas (video), and with GPS assisted autonomous hover (video). It would be cool to add more features to this project but I am pretty busy with my PhD research. But maybe one day I could combine my scientific interests with my hobby projects...
-- William
Contact: Shrediquette @ g m x . d e --- All content published under CC Attribution-Noncommercial-Share Alike 3.0 Germany
The project started as a "tricopter-only" project, but as I wanted to build smaller vehicles with more payload capacity, I decided to make some quadrotor, hexacopter and Y6 hexacopter firmwares too. My main interest is to build very small MAVs that fly as good as larger ones (or even better) and that can be controlled by wireless video link. I also experimented with autonomous flight in GPS-denied areas (video), and with GPS assisted autonomous hover (video). It would be cool to add more features to this project but I am pretty busy with my PhD research. But maybe one day I could combine my scientific interests with my hobby projects...
-- William
Contact: Shrediquette @ g m x . d e --- All content published under CC Attribution-Noncommercial-Share Alike 3.0 Germany
Tuesday, 29 September 2009
Sunday, 27 September 2009
Tricopter - The Movie...
...a new movie showing some of the capabilities of my copter design. This is supposed to be a somewhat less technical movie... Enjoy!
Tricopter - The Movie... from W. Thielicke on Vimeo.
Tricopter - The Movie... from W. Thielicke on Vimeo.
Wednesday, 2 September 2009
Fully autonomous indoor flight!
Finally, it's done... My tricopter flies along a three-dimensional path without me doing anything. The waypoints are recorded by some sort of "teach in" (basically taking snapshots of different positions in space, the flightpath is hence calculated as the cubic interpolation between these snapshots).
Using a cell phone to control the copter
A mobile phone (K800i) controls the tricopter. The phone is linked via bluetooth to the laptop.

Some changes...: I got new motors (Scorpion s2212-26) and new gyro's (ADXRS610). The ESC's were modified for fully digital I2C control. Additionally, I rewrote most of the control loop (finally, I understood what I actually have to control to make stable flights possible). This movie demonstrates two different control modes (control of the angle vs. control of angular velocity).
Subscribe to:
Posts (Atom)









