1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 03:49:53 +03:00
Commit graph

320 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
f85a17d1ad Get GVAR status from FC 2020-04-10 21:37:24 +02:00
Pawel Spychalski (DzikuVx)
554bec3606 MSP layer for global functions 2020-04-05 18:09:15 +02:00
Pawel Spychalski (DzikuVx)
8e7e83f282 Rename 3D to REVERSIBLE_MOTORS 2020-02-19 14:11:18 +01:00
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.
2020-01-21 21:03:03 +00:00
Konstantin (DigitalEntity) Sharlaimov
e6b5719cc4 [DJI] Add support for DJI FPV goggles and SBUS Fast protocol 2020-01-02 10:34:57 +01:00
Pawel Spychalski (DzikuVx)
79a16a8fe3 Cleanup 2.1 version 2019-10-27 20:17:20 +01:00
Pawel Spychalski (DzikuVx)
cb1ff69703 Cleanup INAV 2.0.0 2019-10-26 22:30:59 +02:00
Michel Pastor
a17b8ee4d1
Add setting name to the MSP2_COMMON_SETTING_INFO message (#843) 2019-10-17 23:44:40 +02:00
Alberto García Hierro
0e47a8415c Add support for selecting FrSky OSD in the ports tab 2019-09-26 09:47:30 +01:00
Pawel Spychalski (DzikuVx)
9c627f7445 Report logic condiotion activation status 2019-09-14 12:55:16 +02:00
Michel Pastor
4cf10eedf9
Add the GSM SMS telemetry option (#781) 2019-05-25 17:30:50 +02:00
Pawel Spychalski (DzikuVx)
ad94f9f275 Fix 2.1 compatibility issues 2019-05-25 13:51:08 +02:00
Konstantin Sharlaimov (DigitalEntity)
bc95909055 [PORTS] Add ESC and OPFLOW to serial port bit masks 2019-05-11 22:04:23 +02:00
Konstantin Sharlaimov (DigitalEntity)
5916100b22 [OPFLOW] Initial cut on optic flow calibration 2019-05-01 21:42:31 +02:00
Carsten W
a9f9487d4f Add configurator support for FFPV24G into configurator (#744)
* add configurator support for FFPV24G

* change naming to match FC code
2019-04-29 17:24:19 +02:00
Alberto García Hierro
56b0e03165 Remove "SPIx: xxxxx" debug statements from the GUI log 2019-04-25 19:45:13 +01:00
Pawel Spychalski (DzikuVx)
564d1cdca5 Store logic condition with smix rule 2019-04-04 17:28:26 +02:00
Pawel Spychalski (DzikuVx)
e23a8a5189 UI improvements and saving 2019-04-01 21:22:22 +02:00
Pawel Spychalski (DzikuVx)
d6ded2404e Backend for getting logic conditions from FC 2019-03-10 14:39:32 +01:00
Pawel Spychalski (DzikuVx)
6306f53da6 Switch to MSP2_INAV_SERVO_MIXER when possible 2019-03-10 12:07:30 +01:00
Pawel Spychalski (DzikuVx)
d242ecc241 Add FF component to VEL XY 2019-03-09 11:57:33 +01:00
Pawel Spychalski (DzikuVx)
521915b5a9 1.8 removed 2019-02-26 15:23:04 +01:00
Pawel Spychalski (DzikuVx)
97c622fbb1 1.7 family removed 2019-02-26 09:12:04 +01:00
Pawel Spychalski (DzikuVx)
91e947fc5c Merge remote-tracking branch 'origin/master' into dzikuvx-old-version-cleanup 2019-02-26 08:46:09 +01:00
Michel Pastor
5f6e453fe9
Increase max servo mix rate to 1000% (#672) 2019-02-08 21:10:12 +01:00
Michel Pastor
0a720f44f6
Temperature sensors support (#670) 2019-02-08 21:08:09 +01:00
Jonathan Hudson
99699ee6f3 support extended bbl denom 2019-02-03 18:44:59 +00:00
Pawel Spychalski (DzikuVx)
529c40e556 1.6 is gone 2019-01-15 17:50:23 +01:00
Pawel Spychalski (DzikuVx)
0958b45dad v 1.5 removed 2019-01-15 17:21:24 +01:00
Michel Pastor
c0c06d7882 Add rangefinder to ports sensor list 2019-01-07 23:55:14 +01:00
Pawel Spychalski (DzikuVx)
c04d363348 Removed never working smix reverse partial support 2019-01-02 22:18:36 +01:00
Konstantin Sharlaimov
08d50f7fee
Merge pull request #604 from nmaggioni/cli_rebase
Rebase CLI tab on latest CF
2018-12-10 11:37:41 +01:00
Michel Pastor
07bb404a07 Add support for MSPV2_INAV_DEBUG 2018-12-02 23:37:39 +01:00
Niccolò Maggioni
a340443c43
Rebase CLI tab on latest CF
Integrates Save to File and Clear Output buttons, plus some minor
iNav compatibility patches
2018-11-29 14:26:02 +01:00
Pawel Spychalski (DzikuVx)
4f86dfa946 MSP layer 2018-10-06 19:43:14 +02:00
Alberto García Hierro
142e960893 Add support for configuring coordinate digit count on OSD
Depends on https://github.com/iNavFlight/inav/pull/3573
2018-07-12 01:11:00 +01:00
Alberto García Hierro
969ea78dff
Merge pull request #536 from iNavFlight/agh_fix_vtx_powerlevels
Fix VTX power levels
2018-07-11 17:30:52 +01:00
Alberto García Hierro
f6407a9598 Fix VTX power levels
Power levels are 1-5 for Tramp and 1-4 for SmartAudio, not 0-4
for both.
2018-07-11 17:26:01 +01:00
Alberto García Hierro
42c45648d3 Add support for editing more OSD settings from the OSD tab
- Voltage decimals
- Crosshairs style
- Sidebar scroll for left and right
- Sidebar scrolling arrows
2018-07-11 10:54:47 +01:00
Alberto García Hierro
be1cb6afc4 Add maximum PITCH and ROLL angles to the PID tuning tab
- Add Pitch and Roll angles below the rates
- Add help messages indicating that these values constrain the
maximum inclination during navigation.
- Add help messages for navigation max bank/climb/dive angles
- Add help for pitch2thr
2018-07-09 14:02:53 +01:00
Michel Pastor
2ee946c358 Fix battery values
Allow negative values of power, mAh drawn and mWh drawn
2018-06-28 01:11:52 +02:00
Alberto García Hierro
76ee83e7a3 Don't stop the promise chain in loadOutputMapping() in < 2.0
Affects the mixer and servos tab. This way they show a couple of
warnings ("no servos" and "upgrade the FC firmware" respectively)
rather than hanging the configurator.

Fixes https://github.com/iNavFlight/inav/issues/3462
2018-06-27 13:18:54 +01:00
Alberto García Hierro
9246f668ee Fix exception while connecting
Introduced in #482
2018-06-22 09:51:10 +01:00
Alberto García Hierro
f13231be9a
Merge pull request #481 from iNavFlight/agh_vtx_settings
Add support for latest VTX changes
2018-06-22 09:20:38 +01:00
Alberto García Hierro
d73d460bbc
Merge pull request #482 from iNavFlight/agh_fix_unknown_code_warning
Handle MSPV2_INAV_SET_MISC in MSPHelper.js
2018-06-21 21:02:57 +01:00
Alberto García Hierro
1de1f75093 Handle MSPV2_INAV_SET_MISC in MSPHelper.js
Fixes "unknown MSP code" warning
2018-06-20 15:58:24 +01:00
Alberto García Hierro
6da922919f Add support for the new VTX settings API
When a controllable VTX is configured, a new section appears in
the configuration tab which allows the user to set the band, channel
power and "low power on disarm" option.
2018-06-20 15:56:24 +01:00
Michel Pastor
e945c0749c Add support for battery profiles 2018-06-16 04:26:35 +02:00
Michel Pastor
1b453762a1 Fix bug in MSP_ACTIVEBOXES decoding
In JS `(1<<32) == 1` so it was causing an issue when the FC was advertising
more than 32 mode boxes
2018-06-05 01:52:15 +02:00
Pawel Spychalski (DzikuVx)
f5e60cc40e Servo output in Servo tab 2018-05-24 20:28:04 +02:00