1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-16 21:05:28 +03:00
Commit graph

2805 commits

Author SHA1 Message Date
Konstantin Sharlaimov
91760b53f2 Merge pull request #290 from iNavFlight/agh_osd_rtc_preview
Fix preview of RTC OSD indicator
2017-10-23 17:49:05 +10:00
Konstantin Sharlaimov
d9d10cc573 Merge pull request #291 from iNavFlight/osd_vario_help
Add descriptions and help messages for OSD vario elements
2017-10-23 17:48:55 +10:00
Konstantin Sharlaimov
8159c454ce Merge pull request #295 from iNavFlight/agh_rssi_channel
Allow RSSI channel only on channels >= 5
2017-10-21 22:05:50 +10:00
Alberto García Hierro
24f9823c1f Allow RSSI channel only on channels >= 5
Also, show CH# (e.g. CH7) rather than just the bare number in the
combobox, makes it more obvious that you're selecting an actual
channel number rather than an AUX channel number.
2017-10-20 12:52:21 +01:00
Paweł Spychalski
de7ecb1e6c Merge pull request #293 from azolyoung/update-rcsplit-to-rcdevice
Change 'RunCam Split' to 'RunCam Device'
2017-10-19 11:42:59 +02:00
azol
eddf5473f4 Change 'RunCam Split' to 'RunCam Device' 2017-10-19 16:51:48 +08:00
Alberto García Hierro
2117a54f96 Add descriptions and help messages for OSD vario elements
Added help for VARIO and description and help for VARIO_NUM.
2017-10-18 10:51:04 +01:00
Alberto García Hierro
e58513e9ae Fix preview of RTC OSD indicator
There was an extra space between the clock symbol and the hour
2017-10-18 10:46:12 +01:00
Konstantin Sharlaimov
aba2fc421c Merge pull request #289 from iNavFlight/agh_fix_legacy_rx
Don't test for RX_NONE on INAV <= 1.7.3
2017-10-18 19:24:34 +10:00
Alberto García Hierro
e3821b8a3e Don't test for RX_NONE on INAV <= 1.7.3
Since in RX_NONE bit is undefined, bit_check() will always return
true. Fix is just removing RX_NONE from the available RX types
on versions using feature bits for RX, since they won't allow
not having a RX configured (FC will fall back to RX_PPM).

Fixes #287
2017-10-18 10:20:27 +01:00
Konstantin Sharlaimov
113c763814 Merge pull request #286 from iNavFlight/agh_fix_presets
Use async URL loading for the JSON setting definitions
2017-10-18 10:27:23 +10:00
Alberto García Hierro
850632bfee Use async URL loading for the JSON setting definitions
Chrome disallows synchronous URL loading, so all functions requiring
the JSON definitions for the settings over MSPv2 need to be async.
This required rewriting MSPHelper._getSetting() and all its callers
using promises.

Fixes #284
2017-10-17 19:49:50 +01:00
Alberto García Hierro
ef906c1af2 Make dist task finish before reporting it's done
runSequence will return immediately, so tasks depending on
dist might fail the first time they're run. By explicitely passing
the callback, gulp will wait until runSequence runs both clean
and dist-build until it considers dist finished.
2017-10-17 19:05:41 +01:00
Konstantin Sharlaimov (DigitalEntity)
244b646bd2 Bump version to 1.8.0 2017-10-17 16:26:28 +10:00
Konstantin Sharlaimov
0fcb5790a6 Merge pull request #281 from iNavFlight/rth_allow_landing_fs
Add support for the new value FS_ONLY in nav_rth_allow_landing
2017-10-17 16:25:01 +10:00
Konstantin Sharlaimov
8e12e3e074 Merge pull request #282 from iNavFlight/fix_altitide_typo
Fix typo: Altitide -> Altitude
2017-10-17 16:24:54 +10:00
Alberto García Hierro
fa47265a05 Fix typo: Altitide -> Altitude 2017-10-16 11:40:27 +01:00
Alberto García Hierro
fb0605d639 Add support for the new value FS_ONLY in nav_rth_allow_landing 2017-10-16 11:37:04 +01:00
Paweł Spychalski
ada14ed6cb Merge pull request #280 from fiam/rx_map_fix
Fix RC map validation code.
2017-10-12 15:18:38 +02:00
Alberto García Hierro
7c9154601a Fix RC map validation code.
Small typo introduced in the renaming of AUX channels.
2017-10-12 14:17:04 +01:00
Alberto García Hierro
c81944501f Merge pull request #279 from fiam/mspv2_settings
Use MSPV2_SET_SETTING to set small_angle to 180 on FW presets
2017-10-12 10:07:38 +01:00
Alberto García Hierro
d19bbe9bc1 Merge pull request #276 from fiam/osd_alarms
Add support for OSD alarms for distance and negative altitude
2017-10-12 10:06:48 +01:00
Konstantin Sharlaimov
56ded2e698 Merge pull request #274 from fiam/osd_efficiency
Add support for OSD_EFFICIENCY
2017-10-12 18:53:46 +10:00
Alberto García Hierro
a44a290c8c Use MSPV2_SET_SETTING to set small_angle to 180 on FW presets
- Add a json file with the types of all settings, generated by
the settings generator on INAV.
- Implement MSPV2_SETTING and MSPV2_SET_SETTING, which gives us
access to any value exposed via settings.
- Use this to set small_angle to 180 in FW presets.
2017-10-11 18:45:49 +01:00
Konstantin Sharlaimov
12cf9fe2e5 Merge pull request #272 from StewLG/MinimumFailsafeDistance
Minimum failsafe distance
2017-10-11 23:39:44 +10:00
Stewart Loving-Gibbard
0c1b48351e * Properly guarding JS on for new variables introduced in 1.7.3/1.7.4
* Properly hiding/showing relevant controls for Minimum Failsafe Distance according to version (>= 1.7.4)
* Fixing bad maximum for centimeters distance
2017-10-10 09:43:13 -07:00
Stewart Loving-Gibbard
774d1c97e6 Guarding existing variables which were introduced in 1.7.3, but never implemented in the configurator until now.
Note that these are for the moment just passive passengers -- there's no UI in the configurator to edit them yet.
2017-10-10 06:19:57 -07:00
Stewart Loving-Gibbard
dd18679c7a Fixing so we only protect two new variables, not the old ones. 2017-10-10 06:10:26 -07:00
StewLG
8c1b0f4629 Update MSPHelper.js
Had not realized developer branch was version 1.7.4; I had started this PR on master which which was on 1.7.3. Which explains my initial confusion about what to put here.
2017-10-10 05:26:11 -07:00
Konstantin Sharlaimov
00b0dcda9a Merge pull request #277 from iNavFlight/de_support_more_than_32_boxmodes
Support more than 32-bits of modes using MSP_ACTIVEBOXES API
2017-10-10 21:52:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
d75796d4dd Make sure we request MSP_ACTIVEBOXES when we enter modes tab 2017-10-10 21:37:16 +10:00
Konstantin Sharlaimov (DigitalEntity)
16a23cd39a Support more than 32-bits of modes using MSP_ACTIVEBOXES API 2017-10-10 20:55:04 +10:00
StewLG
b8d86756e1 Merge branch 'master' into MinimumFailsafeDistance 2017-10-09 20:02:16 -07:00
Stewart Loving-Gibbard
cf1c676eaa * Changing from meters to centimeters
* Other minor tweaks to help text
* Finalizing API checks
2017-10-09 19:56:59 -07:00
Alberto García Hierro
d3ab3986c5 Add support for displaying a small help besides an alarm
Also, add help messages for cap, dist and neg_alt alarms.
2017-10-09 19:27:12 +01:00
Alberto García Hierro
75db725f02 Perform UI-side conversion for alt_alarm too
alt_alarm now performs unit conversion on the UI if the FC
firmware version is greater than 1.7.3
2017-10-09 19:18:58 +01:00
Paweł Spychalski
25748f4ce8 Merge pull request #273 from fiam/osd_vtx
Add support for configuring OSD_VTX_CHANNEL
2017-10-09 19:11:10 +02:00
Paweł Spychalski
83edacecfa Merge pull request #275 from iNavFlight/dzikuvx-rc-map-tracking
Tracking of used rc mapping
2017-10-09 08:47:40 +02:00
Alberto García Hierro
72c3a48078 Add support for new distance and negative altitude alarms
Add support for alarms that require unit conversion and non-integer
steps.
Implement support for the aforementioned alarms by using unit
conversion to display them in more convenient units when the OSD
is set to display imperial units.
2017-10-08 23:40:45 +01:00
Alberto García Hierro
8ec5876ebf Refactor code for OSD alarms
Define an array of the available alarms. Display just the ones
understood by the FC.
Move alarm names and their help (if any) to the translatable
messages.
2017-10-08 23:12:45 +01:00
Alberto García Hierro
e3c115d302 Add support for OSD_EFFICIENCY
Includes new 2-char symbol for mah/km
2017-10-08 21:54:08 +01:00
Pawel Spychalski (DzikuVx)
99ad84e544 tracking of used rc mapping 2017-10-08 16:20:50 +02:00
Paweł Spychalski
d9d94af6a8 Merge pull request #256 from iNavFlight/dzikuvx-aux-rename-to-ch
AUX renamed to CH
2017-10-08 16:00:44 +02:00
Alberto García Hierro
e570fcbae4 Add support for configuring OSD_VTX_CHANNEL
Element was disabled due to missing support on INAV. Added messages
for element name and its help too.
2017-10-08 10:56:47 +01:00
Stewart Loving-Gibbard
4feee8f48d Fixing whitespace and comment issues 2017-10-07 23:47:16 -07:00
Stewart Loving-Gibbard
9c9e7cd142 Removing accidental whitespace 2017-10-07 22:38:15 -07:00
Stewart Loving-Gibbard
8491d7769a Merge branch 'master' of https://github.com/StewLG/inav-configurator 2017-10-07 22:34:20 -07:00
Stewart Loving-Gibbard
81be88311e This supports adds Configurator GUI support for Failsafe Minimum Distance.
I believe everything works and is OK, but I am unclear about MSP/FC/Configurator versioning, so some of what I've done here may not be correct, or may need to be done differently. I would appreciate guidance/explanation.
2017-10-07 22:30:53 -07:00
Stewart Loving-Gibbard
9edac50952 Cleaning up some whitespace, adding comments to make clear where I still have questions. 2017-10-07 22:24:58 -07:00
Stewart Loving-Gibbard
f642024886 I believe this is now fully working.
It needs some spacing/comments cleanup I think,
and I need some guidance about version limiting its display. I don't know what the next version is, etc.
2017-10-07 22:24:58 -07:00