Commit Graph

1213 Commits (14756ef91e018bb3c84505ef0c86a73ff94d3b34)

Author SHA1 Message Date
Pawel Spychalski (DzikuVx) d1bf2242b5 IDLE and number of poles 5 years ago
Pawel Spychalski (DzikuVx) eb9401398d Bump min accepted fiormware to 2.3 5 years ago
Paweł Spychalski 9ffad48591
Merge pull request #885 from iNavFlight/dzikuvx-enable-other-platforms
Enable Rover, Boat and Other platforms
5 years ago
Pawel Spychalski (DzikuVx) 6baf3c4c6c Fix OTHER platform name 5 years ago
Paweł Spychalski 9997caf237
Merge pull request #893 from iNavFlight/agh_tab_loading
Make tab loading async safe and add a small animation
5 years ago
Paweł Spychalski 5f63b73226
Merge pull request #897 from iNavFlight/agh_fix_double_call_dispatch
Fix double dispatch of MSP calls with the same code
5 years ago
Paweł Spychalski 669c440960
Merge pull request #896 from iNavFlight/agh_dataview_as_hex
Add DataView.asHex()
5 years ago
Alberto García Hierro b9fef4e25c Fix double dispatch of MSP calls with the same code
Current MSP handling groups callbacks by their MSP command
and when a response comes back it calls all the pending handlers
with the same response object.

This works fine when all MSP calls are either pure input or pure
output (e.g. the have a non-empty payload in just one direction).
However, we've had some calls that have a payload in both directions
for some time, like MSPV2_SETTING. For those MSP commands, the
response will depend on the request, so calling all handlers on
the first response received produces the wrong results. It's also
problematic on handlers that expect any kind of response, since the
DataView object is reused, but its offset was never reset which
would result in the second handler getting an empty response.

Change this strategy to call just the first pending handlers for
the MSP command received in the response. While this is still
a theoretical race condition (there's no guarantee a sequence of
the same command with different payloads will be replied in the
same order as they were issued to the FC), it's the best we can
do unless we add some kind of nonce/token system to each MSP
request, which would incur a significant overhead.
5 years ago
Alberto García Hierro ad465ec654 Add DataView.asHex()
Returns the DataView as an hex formatted string with a '/' indicating
the current offset position. Useful for debugging.
5 years ago
Alberto García Hierro b7d36044b0 Remove double initialization of helper.defaultsDialog
helper.defaultsDialog.init() was called from both onConnect()
and onValidFirmware(). Thanks to @dzikuvx for pointing out that
just the last call was enough.
5 years ago
Alberto García Hierro 0e01133fc9 Make tab loading async safe and add a small animation
Tab loading was relying on replacing the contents of '#content'
with the loading indicator, then replacing it with the loading tab
content and blocking rendering until the tab was ready by not
yielding. This is problematic for tabs that load some data
asynchronously, like PID and OSD.

Instead, put the loading indicator in front of everything else
and load new content inside '#content' next to the loading indicator
(but without showing it). Once the content and data are fully loaded
we fade out the loading indicator with a 0.4s long animation and
then we remove. This works for both synchronous and asynchonous
loading of tabs.
5 years ago
Niccolò Maggioni 0d3659a92e
Show µs in mixer when "ONE" input is selected 5 years ago
Konstantin (DigitalEntity) Sharlaimov e6b5719cc4 [DJI] Add support for DJI FPV goggles and SBUS Fast protocol 5 years ago
Pawel Spychalski (DzikuVx) 2d284a6c5c Correctly initialize variable length PID banks 5 years ago
Pawel Spychalski (DzikuVx) b92c852ff9 Allow for PID bank 11 5 years ago
Pawel Spychalski (DzikuVx) f8c6ae475d Add boat, rover and other default mixers 5 years ago
Pawel Spychalski (DzikuVx) 20c2d362e1 Enable Rover, Boat and Other platforms 5 years ago
Paweł Spychalski 3102b0dfe3
Merge pull request #868 from iNavFlight/dzikuvx-pid-tuning-tabs
Tabs on PID Tuning tab
5 years ago
Pawel Spychalski (DzikuVx) f56b6ef40c Merge branch 'master' into dzikuvx-pid-tuning-tabs 5 years ago
Pawel Spychalski (DzikuVx) 4ebb8fb3ff Fix some minor issues on mixer tab 5 years ago
Paweł Spychalski bdc76449e1
Merge pull request #875 from shellixyz/add_BMP388_2
Add BMP388 baro
5 years ago
Pawel Spychalski (DzikuVx) 80a81efd7a Allow firmware of 2.4 family 5 years ago
Michel Pastor 07083f93ba Add BMP388 baro 5 years ago
Pawel Spychalski (DzikuVx) 51945769c7 Basic PID Tab rework 5 years ago
Pawel Spychalski (DzikuVx) 761ad4d587 Basic GUI for dynamic filters 5 years ago
Pawel Spychalski (DzikuVx) 34a4057f79 Improve Outputs handling 5 years ago
Pawel Spychalski (DzikuVx) 73015617c7 Enable Blackbox on blackbox page 5 years ago
Pawel Spychalski (DzikuVx) 78fbb84f9e Basic framework to work with features 5 years ago
Pawel Spychalski (DzikuVx) 22335fa99e Merge remote-tracking branch 'origin/master' into release-2-3-0 5 years ago
Pawel Spychalski (DzikuVx) 85893d07cd Activate defaults only on 2.3 firmware 5 years ago
Pawel Spychalski (DzikuVx) 91ffb96e1e Setup miniquad defaults 5 years ago
Pawel Spychalski (DzikuVx) c27d956323 Dummy dialog 5 years ago
Paweł Spychalski 7cce386aab
Merge pull request #851 from iNavFlight/dzikuvx-mandatory-defaults-dialog
Defaults dialog
5 years ago
Pawel Spychalski (DzikuVx) dfce134a2a Merge remote-tracking branch 'origin/master' into dzikuvx-outputs-tab-configuration 5 years ago
Pawel Spychalski (DzikuVx) 4b43259f9e Setup miniquad defaults 5 years ago
Pawel Spychalski (DzikuVx) f18696ab9a Dummy dialog 5 years ago
Pawel Spychalski (DzikuVx) 8c8ddd4f52 Outputs configuration in outputs tab 5 years ago
Pawel Spychalski (DzikuVx) 79a16a8fe3 Cleanup 2.1 version 5 years ago
Pawel Spychalski (DzikuVx) cb1ff69703 Cleanup INAV 2.0.0 5 years ago
Michel Pastor a17b8ee4d1
Add setting name to the MSP2_COMMON_SETTING_INFO message (#843) 5 years ago
Alberto García Hierro 3b9e12a15c
Merge pull request #835 from iNavFlight/agh_frskyosd
Add support for selecting FrSky OSD in the ports tab
5 years ago
Michel Pastor fced137e82 Rename SPL006 to SPL06 5 years ago
Alberto García Hierro 0e47a8415c Add support for selecting FrSky OSD in the ports tab 5 years ago
Pawel Spychalski (DzikuVx) 4b0d70cf3c Sticky operator 5 years ago
Pawel Spychalski (DzikuVx) 87456f2bf6 Cleanup servos tab 5 years ago
Pawel Spychalski (DzikuVx) 9c627f7445 Report logic condiotion activation status 5 years ago
Pawel Spychalski (DzikuVx) 5325ef857a Version bump to 2.3 5 years ago
Michel Pastor 150aa6916b
Add SPL006 barometer (#823) 5 years ago
Pawel Spychalski (DzikuVx) f71fa9a348 Output allocation method that is more aligned with FC counterpart 5 years ago
Alberto García Hierro 9e81e6dbb1 Make firmware flasher more robust
Check for DFU/serial port regularly during 10 seconds instead of
waiting 1s and trying once. Also, make sure that we don't mistake
DFU devices with serial ones, since the serial port might appear
briefly while the FC is rebooting.
5 years ago
Pawel Spychalski (DzikuVx) 9b01cec4fb Support 16 servos 5 years ago
Paweł Spychalski f432bcff45
Merge pull request #794 from nmaggioni/nm_flight_modes_as_logic_conditions
Flight modes as logic conditions
5 years ago
Alberto García Hierro 2f159fb83c Serial: Fix arguments to i18n.getMessage() in onInvalidFirmwareVersion()
Formatting arguments are passed as an array
5 years ago
Niccolò Maggioni ea935bb25e
Flight modes as logic conditions 5 years ago
Pawel Spychalski (DzikuVx) 4a0bf7b93b Fix app not starting in chrome 5 years ago
Michel Pastor a60c481e13
Add new RTH mode AT_LEAST_LINEAR_DESCENT to GUI (#788) 5 years ago
mirko-it e1d92bc114 Fix for Load/Save mission not working (#783)
* Offline missions (with FC disconnected) are now available for load and save to file.
Supports XML file format, should be compatible enough with other software

* removed default file name

* removed code in early stage of future developments

* code style and fc buttons

* map resize handling

* fix include nwdialog and fs packages

* xml2js lib with all dependencies in a single file
5 years ago
Michel Pastor 4cf10eedf9
Add the GSM SMS telemetry option (#781) 5 years ago
Pawel Spychalski (DzikuVx) ad94f9f275 Fix 2.1 compatibility issues 5 years ago
Konstantin Sharlaimov (DigitalEntity) bc95909055 [PORTS] Add ESC and OPFLOW to serial port bit masks 5 years ago
Konstantin Sharlaimov (DigitalEntity) 8b9ed31448 Add SERIALSHOT ESC protocol 5 years ago
giacomo892 7ca5e77b6c
1KHz as default looptime
F3 and up can handle it no issues.
5 years ago
Konstantin Sharlaimov (DigitalEntity) 5916100b22 [OPFLOW] Initial cut on optic flow calibration 5 years ago
Pawel Spychalski (DzikuVx) 74a2d13224 Fix connect bug 5 years ago
Carsten W a9f9487d4f Add configurator support for FFPV24G into configurator (#744)
* add configurator support for FFPV24G

* change naming to match FC code
5 years ago
mirko-it 3dcffdd292 Offline missions (with FC disconnected) on file (#720)
* Offline missions (with FC disconnected) are now available for load and save to file.
Supports XML file format, should be compatible enough with other software

* removed default file name

* removed code in early stage of future developments

* code style and fc buttons

* map resize handling
5 years ago
Paweł Spychalski cec7997bfc
Merge pull request #757 from iNavFlight/dzikuvx-min-max-firmware-changes
Set min and max supported firmware
5 years ago
Paweł Spychalski 06c907ba56
Merge pull request #755 from iNavFlight/dzikuvx-more-settings
More PID tuning settings
5 years ago
Pawel Spychalski (DzikuVx) 61189e4d6c Set min and max supported firmware 5 years ago
Pawel Spychalski (DzikuVx) b5db21ae7c Remove Autoconnect 5 years ago
Pawel Spychalski (DzikuVx) a29578840f Iterm relax settings 5 years ago
Alberto García Hierro 56b0e03165 Remove "SPIx: xxxxx" debug statements from the GUI log 6 years ago
Pawel Spychalski (DzikuVx) 564d1cdca5 Store logic condition with smix rule 6 years ago
Pawel Spychalski (DzikuVx) 57f7035ef0 GUI improvements 6 years ago
Pawel Spychalski (DzikuVx) e23a8a5189 UI improvements and saving 6 years ago
Pawel Spychalski (DzikuVx) 2a4f9309b9 Merge remote-tracking branch 'origin/master' into dzikuvx-logic-conditions 6 years ago
Pawel Spychalski (DzikuVx) cddbbc19fb catchup FC changes 6 years ago
Pawel Spychalski (DzikuVx) d59fd9c9e5 smix input ONE 6 years ago
Michel Pastor 5c1c0a6da4 Fix GUI VTX power settings 6 years ago
Michel Pastor 0bc3365cad
Add missing LPS25H baro hardware entry (#728) 6 years ago
Pawel Spychalski (DzikuVx) 98a9ee7ed8 Add TFmini to rangefinder types 6 years ago
Pawel Spychalski (DzikuVx) 233f3c560e Render table and bind events 6 years ago
Pawel Spychalski (DzikuVx) 9e6e1aec11 More progress on rendering LC table 6 years ago
Pawel Spychalski (DzikuVx) 2946fe5c2a Render basic table 6 years ago
Pawel Spychalski (DzikuVx) 3e1e38f6d2 Operations and operand types definitions 6 years ago
Pawel Spychalski (DzikuVx) d6ded2404e Backend for getting logic conditions from FC 6 years ago
Pawel Spychalski (DzikuVx) 6306f53da6 Switch to MSP2_INAV_SERVO_MIXER when possible 6 years ago
Pawel Spychalski (DzikuVx) 384e2153fd disable RPY D or FF depending on platfrm type 6 years ago
Pawel Spychalski (DzikuVx) d242ecc241 Add FF component to VEL XY 6 years ago
Pawel Spychalski (DzikuVx) 521915b5a9 1.8 removed 6 years ago
Pawel Spychalski (DzikuVx) 97c622fbb1 1.7 family removed 6 years ago
Paweł Spychalski bb587d565a
Merge pull request #628 from iNavFlight/dzikuvx-new-mixer-inputs
New mixer inputs for stabilized axises
6 years ago
Pawel Spychalski (DzikuVx) 91e947fc5c Merge remote-tracking branch 'origin/master' into dzikuvx-old-version-cleanup 6 years ago
Pawel Spychalski (DzikuVx) 29bbf9278a offer update only if latest release is not prerelease 6 years ago
Paweł Spychalski f139a6a155
Merge pull request #685 from iNavFlight/dzikuvx-msp-heavy
MSP queue adjustments
6 years ago
Niccolò Maggioni 092d46fe9a
Typo in new version CLI alert 6 years ago
Pawel Spychalski (DzikuVx) 782a7d0a99 lower periodic tasks frequency 6 years ago
Pawel Spychalski (DzikuVx) 4d901f94bc Increase timeout on serial port 6 years ago
Pawel Spychalski (DzikuVx) b5122b2150 increase MSP timeout to 6s 6 years ago
Pawel Spychalski (DzikuVx) ac21b8dfe7 lower MSP queue frequency 6 years ago