Friday, May 12, 2006

Helicopter dynamics: how fun can it be?

I've been jungling with MATLAB for the helicopter dynamics course...

En route, I've learned a lot. Especially at some point, I learned how little I knew (cite Descartes, respectfully, here) about dynamic system solving.

I was confused about how I could solve a system, with 8 state variables and 4 control variables. And the simple and clever idea of re-forming the system matices, didn't show up. Instead, I went for the brutal way of solving the equation using a cost-function minimizer method. (do not give the name of the method, be spicy, be mysterious)

En fin, finally, at the end, I could get to the results, however it took quite some efforts. But the solution is possibly one of it's kind, unique.

Now, leave the solution of the system aside, I'm looking forward to interfacing my game-pad with MATLAB, to watch my simple helicopter fly. With a simple 1st order finite-difference scheme I'm able to walk in time. And my code is fast enough to give realistic outputs.

Regards tout le monde!