fishpepper / OpenGround

frsky compatible opensource firmware for the flysky fs-i6s
GNU General Public License v3.0
84 stars 30 forks source link

Feature: dynamic gimbal setup (Stick-Mode, Reverse) #10

Open shadow974 opened 7 years ago

shadow974 commented 7 years ago

It seems that the Turnigy Evolution is delivered in several combinations of Stick-Modes where the gimbals are just swapped and rotated. I don't know, how this is done with the fs-i6s.

There are two ways to get every combination solved:

  1. preconfigured Input-Mappings with a Menu für the User
  2. dynamic mapping while calibrating the sticks (like in most of the FPV-simulators out there)

For the second option i tought about a step-driven calibration routine:

any pro's or contra's?

Im trying to implement it in my own fork (for learning C, of course :) )

fishpepper commented 7 years ago

Good idea. Maybe it would be more simple like this: 1) ask the user to center all sticks and press a button 2) ask the user to move to all extrema and then put both sticks to the upper right corner and press a button.

This assumes left and right stick are never swapped, or are they?

shadow974 commented 7 years ago

I think they are swapped. Mine came in Mode-1 already, so the mapping in the original branch was false. It seems that there are no pins for the neutralization spring on the throttle gimbal. https://www.youtube.com/watch?v=o9QNUzk90YY

So they are swapped and rotated by 180° to let the cables come out in the middle... If you ask the user every step, it takes longer, yes, but you only do this once...