1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 11:59:51 +03:00
Commit graph

932 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
eb208af39d chainer for motors tab 2018-02-01 15:45:23 +01:00
Pawel Spychalski (DzikuVx)
c9c5f8d2d9 minor code fixes 2018-01-29 16:13:26 +01:00
Pawel Spychalski (DzikuVx)
557f16bbec hide behind semver check 2018-01-28 18:55:54 +01:00
Pawel Spychalski (DzikuVx)
48a9b36d86 Load and save of mmix over MSP 2018-01-28 18:39:13 +01:00
Pawel Spychalski (DzikuVx)
0730408796 MSP2_COMMON_MOTOR_MIXER support 2018-01-26 15:46:05 +01:00
Pawel Spychalski (DzikuVx)
bb8507e81b ground work for mmix editing 2018-01-26 15:31:42 +01:00
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.
2018-01-24 22:29:42 +00:00
Pawel Spychalski (DzikuVx)
958c5f8dc5 Save servo mix over MSP 2018-01-24 18:15:05 +01:00
Pawel Spychalski (DzikuVx)
cf3a5b2a64 UI for smix rules 2018-01-24 16:25:39 +01:00
Pawel Spychalski (DzikuVx)
912864bc19 load custom smix rules 2018-01-20 11:43:31 +01:00
Pawel Spychalski (DzikuVx)
d158a9283c servo tab uses chaner for MSP data 2018-01-19 21:50:12 +01:00
Sergej
b669fa4d16 fix firmware version, moved compass calibrate (#323) 2018-01-01 15:06:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
9942e9508e Calibration tab. Squashed commit. Kudos to @DzikuVx, @skaman82, @Afinogen 2017-12-31 17:19:49 +10:00
afinogen
6ccba50734 add check new app version 2017-12-28 13:47:40 +03:00
skaman82
9e7be86de0 Fix toggle color 2017-11-24 13:49:42 +01:00
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.
2017-11-18 23:42:47 +00:00
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.
2017-10-31 10:51:03 +00:00
azol
eddf5473f4 Change 'RunCam Split' to 'RunCam Device' 2017-10-19 16:51:48 +08:00
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
2017-10-18 10:20:27 +01:00
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
2017-10-17 19:49:50 +01:00
Alberto García Hierro
fb0605d639 Add support for the new value FS_ONLY in nav_rth_allow_landing 2017-10-16 11:37:04 +01:00
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.
2017-10-11 18:45:49 +01:00
Konstantin Sharlaimov
12cf9fe2e5 Merge pull request #272 from StewLG/MinimumFailsafeDistance
Minimum failsafe distance
2017-10-11 23:39:44 +10:00
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
2017-10-10 09:43:13 -07:00
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.
2017-10-10 06:19:57 -07:00
Stewart Loving-Gibbard
dd18679c7a Fixing so we only protect two new variables, not the old ones. 2017-10-10 06:10:26 -07:00
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.
2017-10-10 05:26:11 -07:00
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
2017-10-10 21:52:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
16a23cd39a Support more than 32-bits of modes using MSP_ACTIVEBOXES API 2017-10-10 20:55:04 +10:00
StewLG
b8d86756e1 Merge branch 'master' into MinimumFailsafeDistance 2017-10-09 20:02:16 -07:00
Stewart Loving-Gibbard
cf1c676eaa * Changing from meters to centimeters
* Other minor tweaks to help text
* Finalizing API checks
2017-10-09 19:56:59 -07:00
Paweł Spychalski
25748f4ce8 Merge pull request #273 from fiam/osd_vtx
Add support for configuring OSD_VTX_CHANNEL
2017-10-09 19:11:10 +02:00
Paweł Spychalski
d9d94af6a8 Merge pull request #256 from iNavFlight/dzikuvx-aux-rename-to-ch
AUX renamed to CH
2017-10-08 16:00:44 +02:00
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.
2017-10-08 10:56:47 +01:00
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.
2017-10-07 22:30:53 -07:00
Pawel Spychalski (DzikuVx)
7d7a1dc866 RC_MAP update 2017-10-07 22:22:26 +02:00
Alberto García Hierro
7fb0579d4f Merge pull request #267 from fiam/rx_cleanup
Add support for the RX changes in MSP
2017-10-07 13:48:27 +01:00
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
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
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
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
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
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)
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
Konstantin Sharlaimov (DigitalEntity)
df9abf057b Update STM32 USB DFU driver 2017-09-16 11:21:52 +10:00
Pawel Spychalski (DzikuVx)
3920cfa443 SmartAudio and Tramp support 2017-09-13 11:21:15 +02:00