Commit Graph

1138 Commits (c70549fb2229a2611e5ab013917f526b12377fd0)

Author SHA1 Message Date
Pawel Spychalski (DzikuVx) d1d5edfcb9 Possible fix for #572 6 years ago
Michel Pastor ca46f477ab Add ICM20689 acc/gyro 6 years ago
Konstantin Sharlaimov (DigitalEntity) 1a25370e9d Compass names catch-up with firmware 6 years ago
Michel Pastor 9b30cbb973 Fix Nano Talon mixer 6 years ago
Alberto García Hierro 21b9ecd65a Add support for showing the "Settings validated" arming blocker 6 years ago
Alberto García Hierro 142e960893 Add support for configuring coordinate digit count on OSD
Depends on https://github.com/iNavFlight/inav/pull/3573
6 years ago
Alberto García Hierro 969ea78dff
Merge pull request #536 from iNavFlight/agh_fix_vtx_powerlevels
Fix VTX power levels
6 years ago
Alberto García Hierro f6407a9598 Fix VTX power levels
Power levels are 1-5 for Tramp and 1-4 for SmartAudio, not 0-4
for both.
6 years ago
Alberto García Hierro 42c45648d3 Add support for editing more OSD settings from the OSD tab
- Voltage decimals
- Crosshairs style
- Sidebar scroll for left and right
- Sidebar scrolling arrows
6 years ago
Alberto García Hierro be1cb6afc4 Add maximum PITCH and ROLL angles to the PID tuning tab
- Add Pitch and Roll angles below the rates
- Add help messages indicating that these values constrain the
maximum inclination during navigation.
- Add help messages for navigation max bank/climb/dive angles
- Add help for pitch2thr
6 years ago
Alberto García Hierro d0ec941a1c Fix FC version display during connection
Version was displayed before it was actually obtained
6 years ago
Michel Pastor 2ee946c358 Fix battery values
Allow negative values of power, mAh drawn and mWh drawn
6 years ago
Alberto García Hierro 76ee83e7a3 Don't stop the promise chain in loadOutputMapping() in < 2.0
Affects the mixer and servos tab. This way they show a couple of
warnings ("no servos" and "upgrade the FC firmware" respectively)
rather than hanging the configurator.

Fixes https://github.com/iNavFlight/inav/issues/3462
6 years ago
Alberto García Hierro 9246f668ee Fix exception while connecting
Introduced in #482
6 years ago
Alberto García Hierro f13231be9a
Merge pull request #481 from iNavFlight/agh_vtx_settings
Add support for latest VTX changes
6 years ago
Alberto García Hierro d73d460bbc
Merge pull request #482 from iNavFlight/agh_fix_unknown_code_warning
Handle MSPV2_INAV_SET_MISC in MSPHelper.js
6 years ago
Alberto García Hierro f7ea65fa6d
Merge pull request #475 from shellixyz/battery_profiles_support
Add support for battery profiles
6 years ago
Alberto García Hierro 2bb4333709
Merge pull request #474 from shellixyz/add_new_features
Add new features THR_VBAT_COMP and BAT_PROFILE_AUTOSWITCH
6 years ago
Alberto García Hierro 1de1f75093 Handle MSPV2_INAV_SET_MISC in MSPHelper.js
Fixes "unknown MSP code" warning
6 years ago
Alberto García Hierro 6da922919f Add support for the new VTX settings API
When a controllable VTX is configured, a new section appears in
the configuration tab which allows the user to set the band, channel
power and "low power on disarm" option.
6 years ago
Pawel Spychalski (DzikuVx) ad513d985f Updated Nano Talon mixer 6 years ago
Michel Pastor e945c0749c Add support for battery profiles 6 years ago
Michel Pastor 17028a7dc9 Add new features THR_VBAT_COMP and BAT_PROFILE_AUTOSWITCH 6 years ago
Paweł Spychalski ff0b0bf2fc
Merge pull request #466 from shellixyz/fix_bug_in_MSP_ACTIVEBOXES_decoding
Fix bug in MSP_ACTIVEBOXES decoding
6 years ago
Pawel Spychalski (DzikuVx) 92f596634f Rangefinder rename 6 years ago
Michel Pastor 1b453762a1 Fix bug in MSP_ACTIVEBOXES decoding
In JS `(1<<32) == 1` so it was causing an issue when the FC was advertising
more than 32 mode boxes
6 years ago
Pawel Spychalski (DzikuVx) b099f68281 Output mapping in mixer tab 6 years ago
Alberto García Hierro aeff96317a
Merge pull request #450 from iNavFlight/agh_workaround_f3_font_bug
Add a workaround for uploading fonts on F3 from macOS
6 years ago
Pawel Spychalski (DzikuVx) f5e60cc40e Servo output in Servo tab 6 years ago
Pawel Spychalski (DzikuVx) 6d40d8e020 show only configured servos 6 years ago
Alberto García Hierro f2f2d7ba9b
Merge pull request #453 from iNavFlight/agh_fix_msp_rx
Fix support for simulated RX via MSP, increase channels to 12
6 years ago
Alberto García Hierro 6e80fd2b4d Fix support for simulated RX via MSP, increase channels to 12
- Fix detection of MSP_RX to show the button in the receiver tab
- Fix path to the .css file for receiver_msp.html
- Increase number of channels to 12
6 years ago
Alberto García Hierro 205d8c2df7 Add a workaround for uploading fonts on F3 from macOS
Change MSP.send_message() and MSP.promise() to accept an optional
protocol version argument. If null or undefined, the default version
set for the MSP instance is used instead.

Use this additional argument in FONT.upload(), so we avoid generating
64 byte writes when uploading a font.
6 years ago
Pawel Spychalski (DzikuVx) def0cd27cc More mixer presets 6 years ago
Konstantin Sharlaimov (DigitalEntity) a160080d05 Add BMI160 gyro 6 years ago
Pawel Spychalski (DzikuVx) f104610f1d MIssing filter configs in FILTER_CONFIG 6 years ago
Pawel Spychalski (DzikuVx) f902c7d803 small cleanup 6 years ago
Paweł Spychalski 323a3c78cf
Merge pull request #440 from iNavFlight/dzikuvx-vtail-airplane-preset
Mixer preset for Vtail airplanes like Mini Talon
6 years ago
Pawel Spychalski (DzikuVx) e19a592e79 Mixer preset for Vtail airplanes like Mini Talon 6 years ago
giacomo892 3d08d068c5 Adding FW with differential thrust 6 years ago
Alberto García Hierro 5574930eef
Merge pull request #437 from iNavFlight/agh_servo_reverse_switch
Use a switch to reverse servos rather than negative rates
6 years ago
Pawel Spychalski (DzikuVx) 1a520cfa0e Enable SERVO_TILT only for pre 2.0 6 years ago
Alberto García Hierro 0d788a430c Use a switch to reverse servos rather than negative rates
Just an UI change, same functionality.
6 years ago
Alberto García Hierro 3b5660bdcc Fix connection to flight controller
Also, refactor the code for invalid firmware variant/version a bit,
removing code used for versions older than 1.6.0.
6 years ago
Pawel Spychalski (DzikuVx) 779e12448e fixed required fc version 6 years ago
Paweł Spychalski 64a0f91411
Merge pull request #401 from shellixyz/msp_decode_output_mapping
Add MSP2_INAV_OUTPUT_MAPPING decoding
6 years ago
Paweł Spychalski 48e4abe8d1
Merge pull request #433 from iNavFlight/dzikuvx-channel-forwarding-removed
Servo tab cleanup, channel forwarding removed
6 years ago
Pawel Spychalski (DzikuVx) 855bf9f045 reject old firmwares 6 years ago
Pawel Spychalski (DzikuVx) 757ca0f5a1 references to INAV 1.4 removed 6 years ago
Pawel Spychalski (DzikuVx) 47a063dccd references to inav 1.3 removed 6 years ago
Pawel Spychalski (DzikuVx) 13f50294f3 references to INAV 1.2 removed 6 years ago
Pawel Spychalski (DzikuVx) 73a15695c5 reference to INAV 1.0.0 removed 6 years ago
Pawel Spychalski (DzikuVx) 55385f5831 Servo tab cleanup 6 years ago
Konstantin Sharlaimov cf176f2201
Merge pull request #428 from iNavFlight/de_opflow_sensor_select
Add selector for optical flow sensor
6 years ago
Konstantin Sharlaimov (DigitalEntity) dc74f95efd Opflow alignment support in MSP API 6 years ago
Michel Pastor 5b5cb519cf Update MSPV2_INAV_OUTPUT_MAPPING to match latest firmware changes 6 years ago
Michel Pastor 0a6b4bdacc Add MSP2_INAV_OUTPUT_MAPPING firmware version check 6 years ago
Michel Pastor 1e981d50a4 Add MSP2_INAV_OUTPUT_MAPPING decoding 6 years ago
Konstantin Sharlaimov (DigitalEntity) 57241b86f8 Add selector for optical flow sensor 6 years ago
Michel Pastor 343e4d244d Add MSP support for the new vbat_cell_detect_voltage setting 6 years ago
Pawel Spychalski (DzikuVx) 9ac86b399a Improved disconnect handling 6 years ago
Pawel Spychalski (DzikuVx) 8c68f34b81 Airplane with differentual thrust mixer preset 7 years ago
Alberto García Hierro 32065e9f45 Add support for configuring multiple OSD layouts 7 years ago
Pawel Spychalski (DzikuVx) a52d1408a0 updated FC version detection 7 years ago
Pawel Spychalski (DzikuVx) e8248c4fb2 increased range for motor rules roll/pitch/yaw to -2/2 7 years ago
Pawel Spychalski (DzikuVx) 614a0c1ed9 motor tab updates 7 years ago
Pawel Spychalski (DzikuVx) 4e5fd3b2b7 ability to add and save mix 7 years ago
Pawel Spychalski (DzikuVx) 34c13c5010 correctly set number of motors and servos 7 years ago
Pawel Spychalski (DzikuVx) 640d0b39a3 cleanups 7 years ago
Pawel Spychalski (DzikuVx) 14a74e76dc possibility to delete mixer rules 7 years ago
Pawel Spychalski (DzikuVx) a7b387a2dc Basic layout 7 years ago
Pawel Spychalski (DzikuVx) 4f48ecff1b Mixer tab, first elements 7 years ago
Pawel Spychalski (DzikuVx) 48c67874f9 old mixer section hiden on compatible FC version 7 years ago
Pawel Spychalski (DzikuVx) c1fe0ede87 Updated list and basic model 7 years ago
Pawel Spychalski (DzikuVx) 2e19037667 Servo mix rules 7 years ago
Pawel Spychalski (DzikuVx) d0cdef46f4 motor mix rules for all default presets 7 years ago
Pawel Spychalski (DzikuVx) 7fbf63b7fc Basic support for MSP2_INAV_MIXER frame 7 years ago
Pawel Spychalski (DzikuVx) c4735d2690 Merge remote-tracking branch 'origin/master' into dzikuvx-new-mixer-approach 7 years ago
Michel Pastor a89661f4cf Make channel mapping more user friendly 7 years ago
Michel Pastor a7afedea92 Fix negative current sensor offset voltage values handling 7 years ago
Konstantin Sharlaimov 824ca3ede5
Merge pull request #386 from iNavFlight/agh_fport
Add support for selecting FPort serial RX protocol
7 years ago
Alberto García Hierro 68dcaa18f8 Add support for selecting FPort serial RX protocol 7 years ago
Konstantin Sharlaimov 578d5f3e73
Merge pull request #365 from shellixyz/air_speed_sensor_graph
Add air speed graph in sensors tab
7 years ago
Sergej Pozdnyakov 87e092cbcb new appearance of the interface, need testing 7 years ago
Michel Pastor 615d559b66 Add air speed graph in sensors tab 7 years ago
Konstantin Sharlaimov cd3aa5a762
Merge pull request #353 from shellixyz/fix_typo
Fix typo in MSPV2_INAV_MISC decoding
7 years ago
Michel Pastor cb321db57d Add feature for enabling/disabling profile selection by TX stick command 7 years ago
Michel Pastor 08a580cb22 Fix typo in MSPV2_INAV_MISC decoding 7 years ago
Konstantin Sharlaimov (DigitalEntity) 6bd0cd2d0a Enable CRAFT_NAME item in OSD 7 years ago
Michel Pastor 8d50387bf7 Merge branch 'master' into capacity_settings_and_data 7 years ago
Michel Pastor f9c970b4c0 MSP: add support for MSPV2_INAV_RATE_PROFILE and MSPV2_INAV_SET_RATE_PROFILE frame types 7 years ago
Michel Pastor b6dc007bd8 Reflect MSP2 changes 7 years ago
Michel Pastor 6d922bee2c Add capacity settings and data 7 years ago
Michel Pastor 7de758c64e Increase vbat resolution 7 years ago
Konstantin Sharlaimov 23ef794d5b
Merge pull request #324 from Afinogen/mission-planer
Mission planer
7 years ago
Konstantin Sharlaimov 353b5f7e36
Merge pull request #339 from iNavFlight/agh_trace_msp
Add support for viewing trace output via MSP from the sensors tab
7 years ago
Alberto García Hierro 08a54197c0 Move code for the debug trace window to an external script
Chrome doesn't allow inline scripts, only external ones
7 years ago
Konstantin Sharlaimov (DigitalEntity) abedf49d38 Fix sensor names 7 years ago
Alberto García Hierro b98d7a8f3b Add support for viewing trace output via MSP from the sensors tab
Use an additional window to show the debug trace, so the configurator
can be used at the same time the user is viewing the output.
7 years ago
giacomo892 8cac88c14f Add FW_LAUNCH feature to configurator 7 years ago
Pawel Spychalski (DzikuVx) eb208af39d chainer for motors tab 7 years ago
Pawel Spychalski (DzikuVx) c9c5f8d2d9 minor code fixes 7 years ago
afinogen db31180753 Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into mission-planer
Fix conflicts:
 _locales/en/messages.json
7 years ago
Pawel Spychalski (DzikuVx) 557f16bbec hide behind semver check 7 years ago
Pawel Spychalski (DzikuVx) 48a9b36d86 Load and save of mmix over MSP 7 years ago
Sergej Pozdnyakov 536c5488e4 Save and load mission from EEPROM, fix bugs 7 years ago
Pawel Spychalski (DzikuVx) 0730408796 MSP2_COMMON_MOTOR_MIXER support 7 years ago
Pawel Spychalski (DzikuVx) bb8507e81b ground work for mmix editing 7 years ago
Alberto García Hierro 824a0d5f8b Add support for changing the craft name
Uses MSP_NAME/MSP_SET_NAME to get and set it. A new section was
added to the Configuration tab which includes an input for the name.
Also, some CSS changes to allow wider fields for string inputs.
7 years ago
Pawel Spychalski (DzikuVx) 958c5f8dc5 Save servo mix over MSP 7 years ago
Pawel Spychalski (DzikuVx) cf3a5b2a64 UI for smix rules 7 years ago
Pawel Spychalski (DzikuVx) 912864bc19 load custom smix rules 7 years ago
Pawel Spychalski (DzikuVx) d158a9283c servo tab uses chaner for MSP data 7 years ago
Sergej Pozdnyakov efda795698 fix load point 7 years ago
Sergej Pozdnyakov 8dee7a6340 fix save point 7 years ago
Sergej Pozdnyakov 0b7598dabd save and load points 7 years ago
Sergej Pozdnyakov 6cd87dbd64 add first version mission planer 7 years ago
Sergej b669fa4d16 fix firmware version, moved compass calibrate (#323) 7 years ago
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