Konstantin Sharlaimov
12cf9fe2e5
Merge pull request #272 from StewLG/MinimumFailsafeDistance
...
Minimum failsafe distance
7 years ago
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
7 years ago
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.
7 years ago
Stewart Loving-Gibbard
dd18679c7a
Fixing so we only protect two new variables, not the old ones.
7 years ago
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.
7 years ago
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
7 years ago
Konstantin Sharlaimov (DigitalEntity)
d75796d4dd
Make sure we request MSP_ACTIVEBOXES when we enter modes tab
7 years ago
Konstantin Sharlaimov (DigitalEntity)
16a23cd39a
Support more than 32-bits of modes using MSP_ACTIVEBOXES API
7 years ago
StewLG
b8d86756e1
Merge branch 'master' into MinimumFailsafeDistance
7 years ago
Stewart Loving-Gibbard
cf1c676eaa
* Changing from meters to centimeters
...
* Other minor tweaks to help text
* Finalizing API checks
7 years ago
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.
7 years ago
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
7 years ago
Paweł Spychalski
25748f4ce8
Merge pull request #273 from fiam/osd_vtx
...
Add support for configuring OSD_VTX_CHANNEL
7 years ago
Paweł Spychalski
83edacecfa
Merge pull request #275 from iNavFlight/dzikuvx-rc-map-tracking
...
Tracking of used rc mapping
7 years ago
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.
7 years ago
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.
7 years ago
Alberto García Hierro
e3c115d302
Add support for OSD_EFFICIENCY
...
Includes new 2-char symbol for mah/km
7 years ago
Pawel Spychalski (DzikuVx)
99ad84e544
tracking of used rc mapping
7 years ago
Paweł Spychalski
d9d94af6a8
Merge pull request #256 from iNavFlight/dzikuvx-aux-rename-to-ch
...
AUX renamed to CH
7 years ago
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.
7 years ago
Stewart Loving-Gibbard
4feee8f48d
Fixing whitespace and comment issues
7 years ago
Stewart Loving-Gibbard
9c9e7cd142
Removing accidental whitespace
7 years ago
Stewart Loving-Gibbard
8491d7769a
Merge branch 'master' of https://github.com/StewLG/inav-configurator
7 years ago
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.
7 years ago
Stewart Loving-Gibbard
9edac50952
Cleaning up some whitespace, adding comments to make clear where I still have questions.
7 years ago
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.
7 years ago
Stewart Loving-Gibbard
2ddcd38a48
Working dropdown for minimum distance procedure.
...
* Needs to look tidier
* Needs help annotations
* needs controlling checkbox
7 years ago
Stewart Loving-Gibbard
b61d20323d
This functions, but does not look great, and needs some debris cleaned up before merging. This could ship in an emergency but I will try to do better first.
7 years ago
Pawel Spychalski (DzikuVx)
7d7a1dc866
RC_MAP update
7 years ago
Pawel Spychalski (DzikuVx)
3320acdbbd
Unused varaibles removed
7 years ago
Konstantin Sharlaimov
afc8722085
Merge pull request #268 from fiam/osd_fixed
...
Make the OSD preview fixed in the viewport
7 years ago
Alberto García Hierro
7fb0579d4f
Merge pull request #267 from fiam/rx_cleanup
...
Add support for the RX changes in MSP
7 years ago
Alberto García Hierro
4bb9c6415d
Fix analytics for the RX type and protocol
...
Left the event name as 'nrf24Protocol', since renaming the event
would make it difficult to compare data in the analytics.
7 years ago
Alberto García Hierro
5ea5399eb2
Fix values for PPM and PWM, rename RX_PARALLEL_PWM to RX_PWM
...
Name RX_PARALLEL_PWM was confusing, so it's been renamed to
just RX_PWM.
Values for RX_PWM and RX_PPM were swapper, they're now the correct
ones.
Set the order of the rx types as serial, ppm, pwm, spi, msp and none.
Allow versions using the feature bits to select RX_NONE by clearing
all relevant bits in the features.
7 years ago
Alberto García Hierro
42f332e627
Rename all references to NRF24 as protocol to SPI
...
For consistency. We now have other receivers that work over SPI
and might have more in the future.
7 years ago
Paweł Spychalski
0e287350a0
Merge pull request #269 from fiam/disable_online_button
...
Disable "Load Firmware [Online]" button while downloading it
7 years ago
Konstantin Sharlaimov
a2ae69b170
Merge pull request #271 from fiam/mspv2_fix
...
Fix decoding MSPv2 message codes with high byte != 0
7 years ago
Alberto García Hierro
1104e3898d
Optimize missing selector on the 1st pass
...
My fault, not @DzikuVx's. He wouldn't make this mistake.
7 years ago
Alberto García Hierro
41cd4e9637
Optimize the selector for the "Load Firmware" button
...
As requested by @DzikuVx. I haven't profiled the code, but I
trust his instincts. And so should you.
7 years ago
Paweł Spychalski
b0fc685fb7
Merge pull request #270 from fiam/uk_preview
...
Show the correct preview for OSD_GPS_SPEED in UK mode
7 years ago
Alberto García Hierro
8fd6e93fe2
Fix decoding MSPv2 message codes with high byte != 0
...
OR the high byte of the MSPv2 code with the "code" variable rather
than with this.message_length_expected. This wasn't caught earlier
because it would work for MSPv2 commands with the high byte set to
zero anyway.
7 years ago
Alberto García Hierro
9d7b31fd75
Show the correct preview for OSD_GPS_SPEED in UK mode
...
It was showing the speed in km/h rather than mp/h
7 years ago
Alberto García Hierro
eae7af4565
Disable "Load Firmware [Online]" button while downloading it
...
Provides feedback to the user to let he know that the configurator
didn't hang up
7 years ago
Alberto García Hierro
80f2845772
Make the OSD preview fixed in the viewport
...
Allows seeing the preview when scrolling down to see all available
OSD elements.
7 years ago
Alberto García Hierro
52c17cf8b7
Read and write nrf24rx_channel_count setting
...
Wasn't read not written by the configurator, so the new receiver_type
byte was interpreted as the SPI channel count.
7 years ago
Alberto García Hierro
587d1c5cb4
Add support for the RX changes in MSP
...
Implement a combobox selector for the receiver type, showing
just the options for the specific type (e.g. selecting serial
receiver reveals the combobox for the serial protocol).
On INAV > 1.7.3 read and write receiver type to RX_CONFIG rather
than to feature bits. Note that this will break the configurator
in builds with version = 1.7.4 before https://github.com/iNavFlight/inav/pull/1596/files
is applied.
7 years ago
Paweł Spychalski
836f72661c
Merge pull request #266 from fiam/heading_graph
...
Add support for OSD_HEADING_GRAPH
7 years ago
Alberto García Hierro
abfb27ecb7
Add support for OSD_HEADING_GRAPH
7 years ago
Alberto García Hierro
1de198f5c2
Add arrow down symbol
...
Used for scrolling sidebars in OSD
7 years ago
Alberto García Hierro
b4686368e0
Update nw to 0.25.4
...
0.24.4 has graphic glitches on macOS High Sierra
7 years ago