Commit Graph

967 Commits (4f48ecff1bcdc46d264017cff1ec1643b171db63)

Author SHA1 Message Date
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
Marcin Baliniak de27e89164 Support for new eLeReS RX_SPI receiver 7 years ago
Paweł Spychalski ab8215080e Merge pull request #201 from iNavFlight/servo-rate-125
Allow servo rate 125%
7 years ago
Pawel Spychalski (DzikuVx) 8aebbbfa93 Allow servo rate 125% 7 years ago
Pawel Spychalski (DzikuVx) 6c76a7337e F72x flashing fix 7 years ago
Pawel Spychalski (DzikuVx) 6300fefdef Angle at min and max removed 7 years ago
Pawel Spychalski (DzikuVx) 0777ef391c MSP_FW_CONFIG frame support 7 years ago
Pawel Spychalski (DzikuVx) 9b8c7b05d0 UBLOX7 selectable for 1.7.1 and newer 7 years ago
Pawel Spychalski (DzikuVx) eb4eff59fb RTH and Landing settings 7 years ago
Konstantin Sharlaimov (DigitalEntity) ae8c7b1b54 Add pitot ADC and VIRTUAL 8 years ago
Konstantin Sharlaimov (DigitalEntity) 0dcbf6109c Add 4800 baud 8 years ago
Konstantin Sharlaimov (DigitalEntity) 12492267b7 Extend baudrates; Allow telemetry baud rates down to 1200 bps 8 years ago
Paweł Spychalski 5e214f6fab Merge pull request #166 from iNavFlight/pid-names
some rationalization in PID table generation and PID names no longer …
8 years ago
Konstantin Sharlaimov (DigitalEntity) 526b216ed5 Add MS5607 baro for 1.6.2+ 8 years ago
Pawel Spychalski (DzikuVx) 973aec053e some rationalization in PID table generation and PID names no longer taken directly from FC 8 years ago
Pawel Spychalski (DzikuVx) 26c9dd44a0 Updated balancing PID tuning 8 years ago
Pawel Spychalski (DzikuVx) d612ffd59c lib updates 8 years ago
Pawel Spychalski (DzikuVx) 2766c1ddc9 updated libs 8 years ago
Pawel Spychalski (DzikuVx) 02803fafd0 updated paths 8 years ago
Pawel Spychalski (DzikuVx) 1b0de34a1d Merge remote-tracking branch 'origin/master' into build-system 8 years ago
Pawel Spychalski (DzikuVx) 94f09db6c2 Updated servo rates 8 years ago
Pawel Spychalski (DzikuVx) 2efb215d86 TBS Crossfire and JETI EXBUS 8 years ago
Konstantin Sharlaimov (DigitalEntity) 26dcf97a46 Fix API version for 3d_deadband_throttle 8 years ago
Konstantin Sharlaimov (DigitalEntity) 4a2abf5718 Fix mispaced statement 8 years ago
Konstantin Sharlaimov (DigitalEntity) 7aa5592f72 Make deadband3d_throttle part of MSP_RC_DEADBAND message 8 years ago
Paweł Spychalski 618f719f6a Merge pull request #121 from iNavFlight/msp-altitude-1_6
Report raw baro altitude in sensors tab
8 years ago
Pawel Spychalski (DzikuVx) 77004021b5 feature OSD 8 years ago
Paweł Spychalski e0223e4fde Merge pull request #129 from iNavFlight/reboot-improvements
reboot procedure improvements
8 years ago
Pawel Spychalski (DzikuVx) 48bd843a17 SOnar, inflight acc calibration, transponder and failsafe features removed 8 years ago
Pawel Spychalski (DzikuVx) 8e9bded7a7 reboot procedure improvements 8 years ago
Pawel Spychalski (DzikuVx) ec7f46f108 dual set of defaults for PIDs: FW and MR 8 years ago
Konstantin Sharlaimov (DigitalEntity) 191aa6ac86 Report raw baro altitude in sensors tab 8 years ago
Pawel Spychalski (DzikuVx) 61316503ca build system - progress 8 years ago
Pawel Spychalski (DzikuVx) e74645f497 Merge branch 'master' into msp-queue 8 years ago
Pawel Spychalski (DzikuVx) a09bee45eb Wireless mode preselection 8 years ago
Pawel Spychalski (DzikuVx) 37738ac269 adaptive intervals 8 years ago
Paweł Spychalski 0ab6c7b849 Merge pull request #117 from iNavFlight/version-check-disabled
update check removed
8 years ago
Pawel Spychalski (DzikuVx) c977b19432 advanced tuning tab done 8 years ago
Pawel Spychalski (DzikuVx) ff95022b86 Merge remote-tracking branch 'origin/master' into advanced-tuning-tab 8 years ago
Pawel Spychalski (DzikuVx) fea2505fde Merge branch 'master' into advanced-tuning-tab 8 years ago
Pawel Spychalski (DzikuVx) 31dad7a826 backend for MSP_POSITION_ESTIMATION_CONFIG 8 years ago
Pawel Spychalski (DzikuVx) 604adf7dae update check disabled 8 years ago
Pawel Spychalski (DzikuVx) dc40b96238 bps save 8 years ago
Pawel Spychalski (DzikuVx) f3aea108bd loosened filtering, andjusted PIDs and fixed roundtrip computation 8 years ago
Pawel Spychalski (DzikuVx) 0ed67a752b port usage removed as not giving any useful data 8 years ago
Pawel Spychalski (DzikuVx) 35adb962fb load balancing on oter tabs 8 years ago
Pawel Spychalski (DzikuVx) 297ad70c5d dynamic polling interval on receiver page 8 years ago
Pawel Spychalski (DzikuVx) 9569c0b5ee GUI to use hard lock queue name Wireless mode 8 years ago
Pawel Spychalski (DzikuVx) a439456ab9 soft and hard serial port lock with watchdog 8 years ago
Pawel Spychalski (DzikuVx) 4ae45333a8 timeout and retry improvements 8 years ago
Pawel Spychalski (DzikuVx) daf06fa466 improved PID controller 8 years ago
Pawel Spychalski (DzikuVx) 38a1d5a40c refactoring 8 years ago
Pawel Spychalski (DzikuVx) a6ad0887b3 packet drop on more tabs 8 years ago
Pawel Spychalski (DzikuVx) d695b7cec3 serial port load balancing on motors tab 8 years ago