drone-flight-controller icon indicating copy to clipboard operation
drone-flight-controller copied to clipboard

Question

Open Fredek97 opened this issue 1 year ago • 1 comments

Please, how can I proceed if I want to control a hexacopter using your code?

Fredek97 avatar Aug 08 '22 20:08 Fredek97

Hello,

First, you have to understand how an hexacopter moves in the air: which motor has to speed up/down for which move. Then, I suggest you to write in down like this:

Move Motors
Up Increase speed of motors 1 to 6
Down Decrease speed of motors 1 to 6
Moving forward ...
Moving backward ...
... ...

Knowing this, you will have to update pidController in order to deal with 6 ESCs.

There might be other things to change but, here are the first steps I suggest you to follow.

Regards,

lobodol avatar Aug 11 '22 10:08 lobodol