* Make backup on flash an option
* Move initialization to main
* Alternative
* Just ask
* works locally
* Remove console.log
* Set no dialog by default
* Fix it
* Handle cancelling backup
* Make sonar happy
* Improve error handling
* Increase timeout to reduce corruption
Many people don't realised about the arming flags, this PR aims
to make more clear the arming flags related to the gyro status.
It read the arming flag about NO-GYRO and CALIBRATION to overlay
on the model view a message informing about the status.
Co-authored-by: jesuslopezxing <jesus.lopez@onlyfy.com>
* Update Vue
* Fix sonar
* Fix as many Vue3 issues as possible
The biggest problem is with arrays. Vue3 is not detecting well
reactivity in some arrays because we have the view and the logic in
different files, so we can't access the reactivity proxy in a clean way.
I've added reactivity in the definition of the modules affected as a
workaround, but I'm sure there must be a better way.
---------
Co-authored-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
Fix Three.js no webgl usage
The version of Three.js used still has support for non WebGL 3D
rendering, but the implementation was broken due to the library
internal changes.
This PR bring back the support adding the needed files and making
changes to make it work. Also in order to improve perfomance for
low end devices, the one missing WebGL only, there is the option
to change detail tolerance on legacy mode.
This mode can now be enable via options flag on main menu.
* Hide motor stop when airmode is enable
* Disable instead of hide
* Add tooltip
* Account for enabling MOTOR_STOP in cli
* Style: Disabled switchery styling
* Show real status of MOTOR_STOP
* Add more opacity
---------
Co-authored-by: VitroidFPV <76877124+VitroidFPV@users.noreply.github.com>
* Add array helper
* Apply change to debug
* Remove auto imported nonsense
* Remove commented code
* Extract to separate import
* Include new file
* Fix order
* Change parameter order
* Update virtualfc
* Add missing disarmFlagElements
* Add helper function to add an array instead of single element
* update virtualFC modes-tab
* 1.47=4.6
* Update src/js/VirtualFC.js -- splice for 1.47
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* fixup semver and padding
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* add 1.47 to drop-down
* set virtual fc version to 4.6.0
* set virtual fc port_handler.js virtualMspVersion 1.47
* fixup import
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* remove unsupported versions
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Add configuration for sonar and opticalflow
* Add opticalflow info and put sensortypes in separate file
* Add new file
* did not add this :)
* rename
* update comment
* Do not duplicate messages
* Fix sonar
* Update messages
* Add some helper functions
* Add gps protocol types
* Add opticalflow to sensor_helpers
* Remove wsSerial protocol to allow communication with websockify.
* Follow best practices and use an array to define subprotocols, including binary one used by websockify