-
Notifications
You must be signed in to change notification settings - Fork 324
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
Multiple instances in Linux #2270
Comments
This isn't quite what you're asking for, but -
The fastest way to do that is to run "diff", then open the diff file. Open the new model and either load the whole diff or copy-paste whatever sections you want. That's much quicker and less error-prone than clicking every setting in the GUI, one at a time. That's not what you asked for, but it might be what you want - it's a quick, reliable method of accomplishing your stated goal. |
@sensei-hacker this is off topic unfortunately. Having more than 1 instances helps visualize a lot of settings, which from diff are not understandable. Also not all settings can be setup from the command line. |
I found a solution. Run every instance from the terminal with the following line /opt/inav/inav-configurator/inav-configurator --user-data-dir=/home/user/inav/inav1 This will create a new forlder inav in home, and 3 different config directories in it, but configuration of inav-configurator actually is not needed for anything, so you can delete them afterwards or you can leave them there. I would like this functionality though to be available by default so please don't close this feature request. |
Actually, it's the opposite. Every setting is available in the CLI. Not everything is available in Configurator. If you hover over something in the Configurator. It should show you the CLI parameter. |
Of course a diff can be interpreted and copied. https://github.com/iNavFlight/inav/blob/master/docs/Settings.md allows interpretation. Copying is simply a matter of copying and pasting the parameters you want to copy. If you want the same settings on multiple installations. Selecting parts of the diff to be pasted in to all setups is by far the quickest method. |
@cptX that's an easy challenge. Just perform a diff all. Find the adjustments which are under I have done that many times for adjustments. For information on the commands for sections like the adjustments. https://github.com/iNavFlight/inav/blob/master/docs/Cli.md#cli-command-reference would be a good place to look. |
Hi, I'm using INAV in Linux (LM 22) and I would like to have multiple instances open in order to copy settings from one model to another.
Current Behavior
At the moment when I try to open another instance it just fails. If I run the binary from the terminal it says:
Opening in existing browser session.
libva error: vaGetDriverNames() failed with unknown libva error
Desired Behavior
Multiple instances/windows should be able to run. There is no reason not to as every instance can select its serial port independently, so I believe there will not be any conflict. If there is conflict with the inav config settings then this should be addressed in the design of the program.
The text was updated successfully, but these errors were encountered: