Tuesday, June 2, 2009

10 helicopters in circle formation

After organizing the code a little I am now able to render multiple helicopters and use the same control logic on each. Since they already know how to navigate towards a goal, I thought it would be cool to see how they work in a formation. I do this simply by setting their goal to a relative offset from the target helicopter (the one I am navigating with my joystick).


As you can see in the vid they will try their best to hold the circle formation, but if I move too quickly they fall behind because the PID values are not aggressive enough as they are coded for smooth movements.

No sensors yet though, that's up next!

No comments:

Post a Comment