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

2748 commits

Author SHA1 Message Date
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.
2017-10-07 10:47:22 +01:00
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.
2017-10-07 10:41:00 +01:00
Paweł Spychalski
0e287350a0 Merge pull request #269 from fiam/disable_online_button
Disable "Load Firmware [Online]" button while downloading it
2017-10-07 09:40:37 +02:00
Konstantin Sharlaimov
a2ae69b170 Merge pull request #271 from fiam/mspv2_fix
Fix decoding MSPv2 message codes with high byte != 0
2017-10-07 10:12:17 +10:00
Alberto García Hierro
1104e3898d Optimize missing selector on the 1st pass
My fault, not @DzikuVx's. He wouldn't make this mistake.
2017-10-06 22:10:25 +01:00
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.
2017-10-06 22:00:19 +01:00
Paweł Spychalski
b0fc685fb7 Merge pull request #270 from fiam/uk_preview
Show the correct preview for OSD_GPS_SPEED in UK mode
2017-10-06 22:41:23 +02:00
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.
2017-10-06 21:28:59 +01:00
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
2017-10-06 15:51:53 +01:00
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
2017-10-06 15:45:54 +01:00
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.
2017-10-06 15:32:01 +01:00
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.
2017-10-06 14:01:29 +01:00
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.
2017-10-05 21:37:59 +01:00
Paweł Spychalski
836f72661c Merge pull request #266 from fiam/heading_graph
Add support for OSD_HEADING_GRAPH
2017-10-05 13:44:00 +02:00
Alberto García Hierro
abfb27ecb7 Add support for OSD_HEADING_GRAPH 2017-10-05 11:26:50 +01:00
Alberto García Hierro
1de198f5c2 Add arrow down symbol
Used for scrolling sidebars in OSD
2017-10-03 19:40:45 +01:00
Alberto García Hierro
b4686368e0 Update nw to 0.25.4
0.24.4 has graphic glitches on macOS High Sierra
2017-10-03 19:40:30 +01:00
Paweł Spychalski
57c8d4c2fb Merge pull request #263 from fiam/font_updates2
OSD and Font Updates
2017-09-30 20:22:41 +02:00
Alberto García Hierro
559ca3068f Add AIR symbol and use it for OSD_AIR_SPEED preview 2017-09-29 21:06:48 +01:00
Alberto García Hierro
968905a513 Load SENSOR_CONFIG before showing OSD UI
SENSOR_CONFIG is used for OSD_AIR_SPEED detection
2017-09-29 20:25:25 +01:00
Alberto García Hierro
6e17c69fd1 Update OSD element previews
Now the preview shows exactly the same image as the real OSD.
Also, remove some unused constants for symbols.
2017-09-29 20:21:17 +01:00
Alberto García Hierro
c58d0785e4 Remove unused characters from all fonts
Small 500, 2k5 and MAX chars
Battery char with B A T written in vertical
Old home arrows
[RTH] character
2017-09-29 18:49:25 +01:00
Alberto García Hierro
c45bb16bab Add icon for AIRCRAFT style crosshairs 2017-09-29 18:49:25 +01:00
Alberto García Hierro
af14400e55 Update fonts for new ALT and DIST indicators
Add "number-with-trailing-dot" characters to all font
Add "number-with-leading-dot" characters to all font
Add all ALT/DIST symbols with units to all fonts
2017-09-29 18:49:25 +01:00
Paweł Spychalski
2cf8248e73 Merge pull request #262 from iNavFlight/de_fix_mag_calibrate_button
Fix disabled calibrate mag button
2017-09-29 09:17:49 +02:00
Konstantin Sharlaimov (DigitalEntity)
492ea212d8 Typo fix 2017-09-29 16:44:32 +10:00
Konstantin Sharlaimov (DigitalEntity)
58a9468846 Fix disabled calibrate mag button 2017-09-29 12:11:00 +10:00
Paweł Spychalski
31806e9e91 Merge pull request #261 from fiam/osd_new_elements
Add support for new OSD elements
2017-09-27 11:47:56 +02:00
Alberto García Hierro
52b5039465 Add support for OSD_THROTTLE_POS_AUTO_THR
Shows actual THR from the navigation system when it's controlling
THR, stick input otherwise (like the normal THR indicator).

INAV counterpart submitted as
https://github.com/iNavFlight/inav/pull/2217
2017-09-27 09:42:19 +01:00
Alberto García Hierro
46ba69df98 Add support for OSD_MAIN_BATT_CELL_VOLTAGE
Shows the average cell voltage. INAV counterpart already merged
at https://github.com/iNavFlight/inav/pull/2212
2017-09-27 09:42:19 +01:00
Paweł Spychalski
ee41ced86d Merge pull request #260 from fiam/osd_messages
Add support for configuring OSD_MESSAGES
2017-09-27 10:40:05 +02:00
Paweł Spychalski
3d11e2dd8c Merge pull request #258 from fiam/font_updates
Font updates
2017-09-27 10:39:54 +02:00
Alberto García Hierro
e476ffc6f2 Add auto-THR symbol to all fonts 2017-09-26 12:15:10 +01:00
Alberto García Hierro
27f7ecad84 Reorganize "digit-dot" and alt/dist characters
Use the empty space left by the nav symbols going out
2017-09-26 12:11:12 +01:00
Alberto García Hierro
9d2e34cdcd Remove 2-char nav mode characters
They're not going to be used at the end. We'll use OSD_MESSAGES
for the extended flight mode information for now.
2017-09-26 12:11:12 +01:00
Alberto García Hierro
666be62544 Update default font with more characters
"0." - "9.", used to display numbers with decimals without using
a whole character slot for the decimal separator.
Added ALTm, ALTkm, ALTft, ALTkft, DSTm, DSTkm, DSTft, DSTmi, m,
km and mi.

Added to the default font only for now. If we end up with a
satisfying implementation, bold and large fonts will be updated
later.
2017-09-26 12:11:12 +01:00
Alberto García Hierro
9e95e441b1 Add support for configuring OSD_MESSAGES 2017-09-25 23:22:56 +01:00
Paweł Spychalski
aee549dc57 Merge pull request #259 from fiam/osd_ignore_unknown
Ignore OSD items unknown by the FC in the OSD tab
2017-09-25 19:42:39 +02:00
Paweł Spychalski
ef5619fefb Merge pull request #255 from iNavFlight/dzikuvx-ports-sensor-column
Port GPS renamed to Sensors and moved to separate column
2017-09-25 19:41:54 +02:00
Paweł Spychalski
f896d52111 Merge pull request #252 from fiam/osd_hdop
Add HDOP character and support for OSD_GPS_HDOP
2017-09-25 19:38:09 +02:00
Paweł Spychalski
c8da8056a8 Merge pull request #253 from fiam/osd_vario_preview
Add preview support for OSD vertical elements
2017-09-25 19:37:08 +02:00
Alberto García Hierro
c48a3f43f4 Add preview support for OSD vertical elements
Also, add preview for OSD_VARIO and rename SYM.VARIO to
SYM.M_S, since it points to the m/s character.
2017-09-25 18:18:00 +01:00
Alberto García Hierro
d5bdf53b9a Ignore OSD items unknown by the FC in the OSD tab
Otherwise configuring the OSD of an INAV version older than the
configurator will cause errors.
2017-09-25 11:36:10 +01:00
Alberto García Hierro
a9f6a9d5a7 Add HDOP character and support for OSD_GPS_HDOP 2017-09-25 10:22:57 +01:00
Paweł Spychalski
91aded5f63 Merge pull request #257 from fiam/osd_groups
Organize OSD elements into groups
2017-09-25 08:59:05 +02:00
Alberto García Hierro
974ed52c11 Organize OSD elements into groups
Implement groups which can be declared in any order including
any item in the order deemed more useful. This way we no longer
need to put elements ordered by their osd_items_e value.

Also, elements and even groups can be disabled when the features
or hardware required for drawing them is not present or not
enabled.
2017-09-24 19:02:02 +01:00
Pawel Spychalski (DzikuVx)
be5fd7a605 Rename on other tabs 2017-09-19 22:19:54 +02:00
Pawel Spychalski (DzikuVx)
3acf97e5f9 AUX renamed to CH on Receiver tab 2017-09-19 22:05:48 +02:00
Pawel Spychalski (DzikuVx)
8dfa070624 Port GPS renamed to Sensors and moved to separate column 2017-09-19 21:33:26 +02:00
Paweł Spychalski
e8997dceb7 Merge pull request #251 from iNavFlight/de_dfu_update
Update STM32 USB DFU driver
2017-09-19 20:56:49 +02:00