Commit Graph

1469 Commits (5245fb3bfd2b3f6c5db2f44431281bf9c7499081)

Author SHA1 Message Date
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
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) d75796d4dd Make sure we request MSP_ACTIVEBOXES when we enter modes tab 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
Alberto García Hierro d3ab3986c5 Add support for displaying a small help besides an alarm
Also, add help messages for cap, dist and neg_alt alarms.
7 years ago
Alberto García Hierro 75db725f02 Perform UI-side conversion for alt_alarm too
alt_alarm now performs unit conversion on the UI if the FC
firmware version is greater than 1.7.3
7 years ago
Paweł Spychalski 25748f4ce8 Merge pull request #273 from fiam/osd_vtx
Add support for configuring OSD_VTX_CHANNEL
7 years ago
Alberto García Hierro 72c3a48078 Add support for new distance and negative altitude alarms
Add support for alarms that require unit conversion and non-integer
steps.
Implement support for the aforementioned alarms by using unit
conversion to display them in more convenient units when the OSD
is set to display imperial units.
7 years ago
Alberto García Hierro 8ec5876ebf Refactor code for OSD alarms
Define an array of the available alarms. Display just the ones
understood by the FC.
Move alarm names and their help (if any) to the translatable
messages.
7 years ago
Alberto García Hierro e3c115d302 Add support for OSD_EFFICIENCY
Includes new 2-char symbol for mah/km
7 years ago
Pawel Spychalski (DzikuVx) 99ad84e544 tracking of used rc mapping 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 4feee8f48d Fixing whitespace and comment issues 7 years ago
Stewart Loving-Gibbard 9c9e7cd142 Removing accidental whitespace 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
Pawel Spychalski (DzikuVx) 3320acdbbd Unused varaibles removed 7 years ago
Konstantin Sharlaimov afc8722085 Merge pull request #268 from fiam/osd_fixed
Make the OSD preview fixed in the viewport
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 4bb9c6415d Fix analytics for the RX type and protocol
Left the event name as 'nrf24Protocol', since renaming the event
would make it difficult to compare data in the analytics.
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
Paweł Spychalski 0e287350a0 Merge pull request #269 from fiam/disable_online_button
Disable "Load Firmware [Online]" button while downloading it
7 years ago
Alberto García Hierro 1104e3898d Optimize missing selector on the 1st pass
My fault, not @DzikuVx's. He wouldn't make this mistake.
7 years ago
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.
7 years ago
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
7 years ago
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
7 years ago
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.
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
Alberto García Hierro abfb27ecb7 Add support for OSD_HEADING_GRAPH 7 years ago
Alberto García Hierro 559ca3068f Add AIR symbol and use it for OSD_AIR_SPEED preview 7 years ago
Alberto García Hierro 968905a513 Load SENSOR_CONFIG before showing OSD UI
SENSOR_CONFIG is used for OSD_AIR_SPEED detection
7 years ago
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.
7 years ago
Konstantin Sharlaimov (DigitalEntity) 492ea212d8 Typo fix 7 years ago
Konstantin Sharlaimov (DigitalEntity) 58a9468846 Fix disabled calibrate mag button 7 years ago
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
7 years ago
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
7 years ago
Alberto García Hierro 9e95e441b1 Add support for configuring OSD_MESSAGES 7 years ago
Paweł Spychalski aee549dc57 Merge pull request #259 from fiam/osd_ignore_unknown
Ignore OSD items unknown by the FC in the OSD tab
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
Paweł Spychalski f896d52111 Merge pull request #252 from fiam/osd_hdop
Add HDOP character and support for OSD_GPS_HDOP
7 years ago
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.
7 years ago
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.
7 years ago
Alberto García Hierro a9f6a9d5a7 Add HDOP character and support for OSD_GPS_HDOP 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) be5fd7a605 Rename on other tabs 7 years ago
Pawel Spychalski (DzikuVx) 3acf97e5f9 AUX renamed to CH on Receiver tab 7 years ago
Pawel Spychalski (DzikuVx) 8dfa070624 Port GPS renamed to Sensors and moved to separate column 7 years ago
Paweł Spychalski ce363ee429 Merge pull request #244 from iNavFlight/vtx-support
SmartAudio and Tramp support
7 years ago
Alberto García Hierro 1e18c6d08c Add support for new OSD elements
- Support OSD_ONTIME_FLYTIME and OSD_RTC_TIME
- Add support for OSD elements with localized names
- Add support for displaying some help besides an OSD element
7 years ago
Alberto García Hierro 868af88ea9 Add clock character to all fonts 7 years ago
Pawel Spychalski (DzikuVx) 3920cfa443 SmartAudio and Tramp support 7 years ago
Konstantin Sharlaimov 06d6f40aee Merge pull request #225 from fiam/fw_motorstop_airmode
Set MOTOR_STOP and AIRMODE features in all FW presets
7 years ago
Konstantin Sharlaimov 94ec0c0720 Merge pull request #236 from fiam/osd_uk_units
Add support for selecting UK mode in the OSD units
7 years ago
Paweł Spychalski 929b600bda Merge pull request #237 from fiam/nw-fixes
Fix drag and drop not working on NW.js
7 years ago
Alberto García Hierro 0c57b5d9f9 Fix drag and drop not working on NW.js
NW.js requires us to disable pointer events on the inline images,
otherwise the drag/drop events are generated for the images rather
than for the html elements representing OSD items.
7 years ago
Alberto García Hierro 37171dc603 Add support for selecting UK mode in the OSD units
Fixes #233
7 years ago
Alberto García Hierro 398bf5aeac Copy js/workers/hex_parser.js to build/
This avoids having to list it only for the dist task
7 years ago
Alberto García Hierro 14f9cb80df Cleanup gulpfile.js, fix minification
Move outputDir to a constant.
Add an output variable which contains the filenames for each
output file.
Remove usage of 'let' and 'for(... of [Object])' from osd.js,
since uglify doesn't support ES6 and babel failed on
google-analytics-bundle.js
Fix 'deploy-receiver-css'. uglify() was being called as part of
the pipeline instead of the correct minifyCSS() call.
Let npm sort the deps rather than editing them manually
Add missing openlayers dependency
7 years ago
Alberto García Hierro e79911d327 Add characters for NAV modes
[RTH], [WPT], [ALT], [POS] and [A+H].

Characters have been added to all character maps. Leave a white
character after mp/h and the first 2-char image intentionally to
avoid the preview in the configurator showing an icon between
2 lines.
7 years ago
Alberto García Hierro f4c07566db Set MOTOR_STOP and AIRMODE features in all FW presets
AIRMODE will only be set if INAV version is > 1.7.2, since it
does nothing in previous versions even when the feature is
advertised.
7 years ago
Pawel Spychalski (DzikuVx) ccc92ac3b6 Blackbox moved to Pheripherials column 7 years ago
Konstantin Sharlaimov 089a7d34bf Merge pull request #221 from azolyoung/add-rcsplit-support-to-inav
Add rcsplit support to inav
7 years ago
azolyoung 02d4a8ae47 use FC version as condition to detect which is support rcsplit or not. 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
Pawel Spychalski (DzikuVx) 04f1f163e4 airspeed in OSD 7 years ago
Konstantin Sharlaimov e394d4fd86 Merge pull request #204 from iNavFlight/de_add_slack
Add font-awesome; Add support links
7 years ago
Paweł Spychalski 8b65076c74 Merge pull request #217 from marbalon/marbalon-osd-fixes
Lot of fixes to make OSD render more similar to real layout
7 years ago
Marcin Baliniak 03d725cf07 Lot of fixes to make OSD render more similar to real layout 7 years ago
Pawel Spychalski (DzikuVx) 357dc98c24 fixes #206 7 years ago
Pawel Spychalski (DzikuVx) a919702c6a fixes #193 7 years ago
Pawel Spychalski (DzikuVx) 46e616bc7f fixes #216 7 years ago
Pawel Spychalski (DzikuVx) 8d3980bfa2 Rangefinder setting is back 7 years ago
Konstantin (DigitalEntity) Sharlaimov 64464291c4 Add font-awesome; Add support links 7 years ago
Paweł Spychalski e113e5db94 Merge pull request #202 from iNavFlight/css-structure-rework
CSS files moved to src folder
7 years ago
Pawel Spychalski (DzikuVx) 36358ae175 CSS files moved to src folder 7 years ago
Pawel Spychalski (DzikuVx) 8aebbbfa93 Allow servo rate 125% 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) eb4eff59fb RTH and Landing settings 7 years ago
Pawel Spychalski (DzikuVx) 9d1e00268f current meter scale raised to 10000 7 years ago
Paweł Spychalski 99da3a0311 Merge pull request #188 from oleost/patch-5
Mention that they change pwm refresh for servos.
8 years ago
Paweł Spychalski 4d843cfb34 Merge pull request #183 from iNavFlight/updated-5inch-gps-preset
updated 5in GPS preset
8 years ago
Ole-Petter 48df85c80f Update profiles.js
Added in description for tricopter that they apply faster pwm for servos.
8 years ago
Konstantin Sharlaimov (DigitalEntity) 7cbb7c053f Add donation via Yandex.Money (RU) 8 years ago
Konstantin Sharlaimov (DigitalEntity) 134bcb2e72 Enable PositionXY PID D 8 years ago
Pawel Spychalski (DzikuVx) 40c5dde34b updated 5in GPS preset 8 years ago
Konstantin Sharlaimov 0a01e5f391 Merge pull request #171 from iNavFlight/presets-update
Presets update
8 years ago
Konstantin Sharlaimov 00f5240ec2 Merge pull request #177 from iNavFlight/fix-msp-rx-control
Change stick mapping in Stick Control feature to default AETR
8 years ago
Konstantin Sharlaimov (DigitalEntity) 55e480ddca Change stick mapping in Stick Control feature to default AETR 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
Pawel Spychalski (DzikuVx) 5d58275414 Merge remote-tracking branch 'origin/master' into failsafe-improvements 8 years ago
Pawel Spychalski (DzikuVx) 3fb9dcc58d updated GPS 5" profile 8 years ago
Pawel Spychalski (DzikuVx) c6dccdefb4 proreess 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