Commit Graph

1172 Commits (0376bc41bf771a1e9c98cea5fdf78cd4b425e302)

Author SHA1 Message Date
Pawel Spychalski (DzikuVx) 180bc84e2c Move RX configuration to Receiver tab 5 years ago
Paweł Spychalski 39a5266cc9
Merge pull request #926 from iNavFlight/dzikuvx-feature-3d-rename
Rename feature 3D to REVERSIBLE_MOTORS
5 years ago
Paweł Spychalski 6f758ce2d4
Merge pull request #918 from iNavFlight/dzikuvx-extended-lc-events
Add new Logic Conditions events
5 years ago
Pawel Spychalski (DzikuVx) 8e7e83f282 Rename 3D to REVERSIBLE_MOTORS 5 years ago
Pawel Spychalski (DzikuVx) 94b617dcc9 Rename 3D feature to REVERSIBLE_MOTORS 5 years ago
Pawel Spychalski (DzikuVx) 1c8624dba0 Add new Logic Conditions events 5 years ago
Pawel Spychalski (DzikuVx) d76e1dcb21 Catch up on Stage2 filters 5 years ago
Paweł Spychalski 45bac2a2bb
Merge pull request #911 from iNavFlight/agh_localize_element_titles
[i18n] Applying localization to elements with non-empty titles
5 years ago
Alberto García Hierro c023b94166 [i18n] Applying localization to elements with non-empty titles
This way links will display the correct tooltip when hovering them
5 years ago
Alberto García Hierro 10ccf049bd Complete rename from motors to outputs tab
Rename files, classes and i18n keys
5 years ago
Paweł Spychalski d52e42369f
Merge pull request #899 from iNavFlight/dzikuvx-idle-and-poles-settings
IDLE and number of poles
5 years ago
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) 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