CurryKitten / CurryKitten-Sim

FPV quad simulator
70 stars 7 forks source link

Add individual rates for quads #72

Closed CurryKitten closed 3 years ago

CurryKitten commented 3 years ago

This was in my thought process, but a user on YouTube has reminded me about it, so let's open an issue before we forget again. The RC Rate/SuperRate/RC Expo is currently all handled through a single control - so SuperRate is the same for roll/pitch/yaw... as is everything else. It was designed like this for simplicity, but more experienced pilots appreciate a more nuanced control scheme.

Often, people do have all the same rates anyway, but giving people the option is always good. Perhaps just being able to slow down the yaw in comparison to the other controls might be useful anyway.

My only concern is how to implement the UI. It's pretty easy in the code. I already do all the processing for it, it's just a case of using specific yaw/roll/pitch rates instead of the generic one. What I'm thinking is switching from "simple rates" to "advanced rates" where simple keeps the existing scheme, but advanced take you to a sub menu where you can mess around in more detail - perhaps with the graph similar to the betaflight configurator.

CurryKitten commented 3 years ago

I've completed this now, and it looks like this -

Screenshot 2021-03-08 at 22 53 26

The sliders change RC Rate/SuperRate and RC Expo on Roll/Pitch/Yaw with the degrees per second rate listed for each. By moving the sticks you will see a coloured dot move along the curve for each of the axis and the quad image rotate and the appropriate rate.

This screen will now replace the existing Flight Assist menu, so the pre-defined rates replace the beginner/intermediate/advanced pilot and power options. The Radio/Gamepad option has been removed as I detect that the user is using and alter the rates appropriately. This will be released in 0.53b