Posts

Showing posts with the label matlab tricopter tracking

New firmware v1.1 and GUI released

Today I finished the last test under veeery windy conditions, and everything went fine. The files at the right hand side (GUI and firmware) are updated. Please note that the new firmware will only work with the new GUI and vice versa! You will also not be able to use your old settings files. Double-check the direction of your servo, something has changed here too. The firmware should allow to increase control loop parameters, especially Acro-P and Hover-D. That should make your tricopter more stable. A new default-settings file is included, as well as my settings for the DLX and the DLXm. You can flash the firmware using my GUI. The file Tricopter_m328p_11.hex has to be placed into the GUI folder.

Matlab source code

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.