Commit Graph

920 Commits (8243e36d0e77d067aae23b45295a13c7971aa543)

Author SHA1 Message Date
Konstantin Sharlaimov (DigitalEntity) 9942e9508e Calibration tab. Squashed commit. Kudos to @DzikuVx, @skaman82, @Afinogen 7 years ago
afinogen 6ccba50734 add check new app version 7 years ago
skaman82 9e7be86de0 Fix toggle color 7 years ago
Alberto García Hierro c18807405e Fix incorrectly swapped bits for legacy RX
Code for handling versions using feature bits for RX had the
feature bits for RX_PPM and RX_PWM swapped, causing incorrectly
displayed values.
7 years ago
Alberto García Hierro 89831dd1d7 Add MSPHelper.getRTC() and MSPHelper.setRTC()
Functions for getting and setting the RTC. Not used for now, but
can be manually called from the debug console for testing RTC
related changes.
7 years ago
azol eddf5473f4 Change 'RunCam Split' to 'RunCam Device' 7 years ago
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
7 years ago
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
7 years ago
Alberto García Hierro fb0605d639 Add support for the new value FS_ONLY in nav_rth_allow_landing 7 years ago
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.
7 years ago
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) 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
Paweł Spychalski 25748f4ce8 Merge pull request #273 from fiam/osd_vtx
Add support for configuring OSD_VTX_CHANNEL
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 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
Pawel Spychalski (DzikuVx) 7d7a1dc866 RC_MAP update 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 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
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 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
Konstantin Sharlaimov (DigitalEntity) 492ea212d8 Typo fix 7 years ago
Konstantin Sharlaimov (DigitalEntity) 58a9468846 Fix disabled calibrate mag button 7 years ago
Paweł Spychalski ef5619fefb Merge pull request #255 from iNavFlight/dzikuvx-ports-sensor-column
Port GPS renamed to Sensors and moved to separate column
7 years ago
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.
7 years ago
Pawel Spychalski (DzikuVx) 8dfa070624 Port GPS renamed to Sensors and moved to separate column 7 years ago
Paweł Spychalski e8997dceb7 Merge pull request #251 from iNavFlight/de_dfu_update
Update STM32 USB DFU driver
7 years ago
Konstantin Sharlaimov (DigitalEntity) df9abf057b Update STM32 USB DFU driver 7 years ago
Pawel Spychalski (DzikuVx) 3920cfa443 SmartAudio and Tramp support 7 years ago
Konstantin Sharlaimov a54c461bfe Merge pull request #239 from iNavFlight/de_add_msp_version_status
Add MSP version to status line
7 years ago
Konstantin Sharlaimov (DigitalEntity) d391258180 Merge branch 'marbalon_new_gps_type_mtk' of https://github.com/marbalon/inav-configurator into marbalon-marbalon_new_gps_type_mtk 7 years ago
Konstantin Sharlaimov (DigitalEntity) 7f7bdc0a59 Add MSP version to status line 7 years ago
Konstantin Sharlaimov (DigitalEntity) 57da32d30b Support large MSP_DATAFLASH_READ payloads 7 years ago
Alberto García Hierro acd455d6da Add support for MSPv2
MWC side detection is done by sending an MSPv1 message for
MSP_API_VERSION. If the MSP_VERSION supports MSPv2 (>= 2.0.0),
then the rest of the messages for the session will be MSPv2 only.
7 years ago
Alberto García Hierro dbf4fa164d Add support for JUMBO frames
Fixes https://github.com/iNavFlight/inav/issues/1986
7 years ago
Alberto García Hierro 1948e3687a Cleanup MSP.read()
Use symbols and constants rather than magic numbers. Makes the
code easier to read.
7 years ago
Alberto García Hierro 2ef9947dfd Add support for FEATURE_AIRMODE in the Configuration tab
Setting the feature also hides the mode from the modes tab, since
the FC won't register the BOXID as an active one. FC support
detection is based on INAV version >= 1.7.3, since support for
the AIRMODE feature has been advertised by previous releases
but it's not really supported (it does nothing).

Support for INAV is at https://github.com/iNavFlight/inav/pull/1949

Fixes #154
7 years ago
Pawel Spychalski (DzikuVx) ccc92ac3b6 Blackbox moved to Pheripherials column 7 years ago
azol 73f324e4c1 add runcam split suport
add peripherals column on ports page

fixed ports page will show the rcsplit with apiversion less 1.27.0

move the modeName adjust function to peripherals.js, and add failsafe modename not update when rcsplit available

cleanup

clean up
7 years ago
Marcin Baliniak 748f72c81c New GP module type MTK 7 years ago
Pawel Spychalski (DzikuVx) ecab75a610 Fixes #214 7 years ago