-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Servo output configuration to programming interface #8572
Comments
Alternatively - This kind of feature wouldn't be out of place under the battery profile selection. Quite often batteries of different weights will require different trim settings. |
this is all possible. In the mixer tab you have all the way to the right a flag to enable a mixer based on a logic condition. I am planning the same with a Nano Drak that I want to fly in 3 different configs. for the trims these should be adjusted mechanically so the software trim in inav is as close as possible to 1500 for each setup. If you fly in Acro, then use Continous servo trim to fine adjust it in flight. If you usually fly in manual, then just let the plane fly in angle or acro mode for a few seconds after launch with sticks centered before you swith to manual mode. |
@b14ckyy I disagree, the mixer settings yes but not the servo output settings.
|
2 and 3 I see your point, although that's only a problem if you really only want to fly manual exclusively. Both would just need a few seconds of stick center flight in acro or angle to trim. Not sure if this few seconds of inconvenience after a wing swap (I guess you don't swap them for every single launch) justifies the work to add multiple Output profiles. This would not only raise the firmware size but also the config size and might kill off F722 and F411 FCs even sooner. For something that only 0.01% of pilots might need. As I said I am planning the same and I would not other with waiting for the trim to be done. Especially as I fly mostly in Acro. Just thinking loud. |
I could be wrong but limiting the throws in the mixer will limit the overall throw. In the case I describe the amount of movement in one direction is greater than the other. |
Ah okay got ya. so you want to limi the throw in just one direction and for that either change the endpoints or the center position. Makes sense then. |
yes exactly, I've got -150ms from the bottom range chopped off. I've got both the battery and pid profiles changing between setups so that works. I kinda like the way you can set certain parameters with "feature BAT_PROF_AUTOSWITCH" that would be a really convenient way to handle this in my case. |
Yeah I use that on my Dart 250G as I fly it on 2S liion sometimes for cruising or on 4S 850mAh for ripping around. But on 4S it needs different pids as well. So it switches automatically depending on the battery. |
Do you mean you would like to change these parameters between different wings?
The But since changing the wing takes some time, you can copy/paste the CLI commands after the installation. @b14ckyy |
@shota3527 that's exactly what I mean, yes. My laptop's lack of battery capacity is my problem but it is a problem ;) |
@shota3527 imho it would make sense. @fernandodlc and myself are already 2 persons who are building a modular plane with quick swappable Wing/Tail Configs. |
Current Behavior
Currently you cannot use programming logic to modify trims or servo configuration.
Use Case: I have a nano drak with 2 sets of wings, I want to use the logic conditions to modify the servo setup and mixing to switch between the 2. The linkage geometry is different for each set of wings, the larger wings will be flown with a tail. I need to setup the trims and limits for the servos differently for each set of wings but I am unable to do so. I don't need to reverse any servos but I can see how this could have been the case.
Desired Behavior
Ability to apply a logic condition to change the trims, limits and servo reversing.
Suggested Solution
The ability to apply a logic condition like in the mixer would be ideal
Who does this impact? Who is this for?
Anyone who wants to have 2 different wing setups on the same plane eg draks
The text was updated successfully, but these errors were encountered: