1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00
Commit graph

83 commits

Author SHA1 Message Date
mikeller
f68a96d1de Added new OSD elements for RTC time and adjustment range. 2017-11-12 10:38:05 +13:00
Michael Keller
01c0aaac0f
Merge pull request #696 from sebsx/add-native-apps-via-nwjs
Add native apps build via nwjs
2017-11-05 07:13:55 +13:00
Harpalyke
d924423ff4 undoing the check on the warnings array and instead checking the api version for 1.37 2017-11-04 09:56:05 +00:00
sebastianp
805ec6063a Added Windows and Mac icons files
Build native Mac and Windows apps. Shamelessly stolen from iNAV, thanks!

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.
2017-11-04 18:27:33 +11:00
Harpalyke
d10a161349 Check if length of OSD.data.warnings matches that of the constants. OSD.data.warnings is empty when using a 3.2.2 firmware. 2017-11-03 22:00:09 +00:00
Dan Nixon
4fcc9b3c1a Add tooltips to section headers in OSD tab 2017-10-29 11:22:00 +00:00
Dan Nixon
b4924d4b1a Add OSD warnings configuration 2017-10-29 11:21:54 +00:00
Miguel Angel Mulero Martinez
71d05b696a Fix the GPS image in OSD to use two symbols 2017-10-26 10:07:03 +02:00
Miguel Angel Mulero Martinez
a85ddc3587 Adjust OSD preview for speed and throttle
Adjust the preview for this elements, as shown in the firmware
2017-10-24 08:57:39 +02:00
Volodymyr Moskalyk
09912c9970 Set Switch all checkbox defaults based on the majority of the switches 2017-10-15 16:20:27 +02:00
Volodymyr Moskalyk
79d5c1a0d0 Enable/Disable all button for OSD screen 2017-10-15 11:12:26 +02:00
Volodymyr Moskalyk
c233db3fc8 Enable/Disable all button for OSD screen 2017-10-14 18:20:12 +02:00
Dan Nixon
7ce02d3bbd Correct formatting of OSD power element in preview 2017-09-11 18:40:41 +01:00
Dan Nixon
2e8024fcf5 Update OSD number formatting to match firmware 2017-09-10 08:04:26 +01:00
Michael Keller
9eb8903379 Merge pull request #643 from basdelfos/osd-tab-improvements
Added note for preview font may not be actual installed font + code cleanup
2017-08-30 18:15:53 +12:00
Bas Delfos
2f7ef2c3da Added note for preview font may not be actual installed font + code cleanup 2017-08-29 23:34:14 +02:00
mikeller
4a2b041f13 Cleaned up the formatting of timers in OSD. 2017-08-29 21:24:01 +12:00
Tuomas Kuosmanen
98925740ca make font manager dialog a bit wider to fit buttons next to label 2017-08-29 10:19:18 +03:00
Dan Nixon
eb56b0783c Improve formatting of OSD timer configuration 2017-08-17 16:08:19 +01:00
Bas Delfos
03185e743c Remove unnecessary comment 2017-07-16 20:57:58 +02:00
Bas Delfos
5b16361f3b Display craftname in OSD preview 2017-07-15 14:48:16 +02:00
Dan Nixon
b8a3e4c8c9 Tidy some formatting in OSD config tab 2017-06-30 13:21:58 +01:00
Dan Nixon
829b0b468a Added new timer elements and stats
Adds array length checking on configurator side

(old timers on stats can simply be replaced as the MSP API version has
ot changed since they were first added)
2017-06-30 13:21:52 +01:00
Dan Nixon
157e6bb68c Bring the configurator up to dat with firmware OSD features
Add:
- blackbox numer stat
- ESC temperature element
- ESC RPM element
- missing tooltip descriptions
2017-06-25 16:22:24 +01:00
mikeller
78f0e11d88 Added OSD visual beeper support. 2017-06-18 19:51:41 +12:00
Miguel Angel Mulero Martinez
3d197b996e Add compass bar to OSD 2017-06-14 09:49:56 +02:00
Michael Keller
bc49247c8e Merge pull request #512 from DanNixon/osd_tab_tooltips
Add tooltips for OSD elements and statistics
2017-06-14 12:53:37 +12:00
Dan Nixon
2efa4755d3 Improve styleing of stat selection
Style the stat selection the smae as element selection.

This imporves looks and makes sure tooltips appear in the correct place
(for first in list).
2017-06-13 14:39:13 +01:00
Dan Nixon
beecf9868c Add tooltips for OSD elements and ststistics 2017-06-13 14:39:13 +01:00
Dan Nixon
1842e96061 Add numerical heading and vario OSD elements 2017-06-13 12:41:23 +01:00
Miguel Angel Mulero Martinez
3b190bacf0 Add MAX DISTANCE stat to OSD 2017-06-13 10:36:34 +02:00
Miguel Angel Mulero Martinez
a8c0b02df3 Add Home Distance to OSD 2017-06-12 18:24:38 +02:00
Michael Keller
6fa9d80dce Merge pull request #520 from McGiverGim/add_home_direction_arrow_to_OSD
Add HOME DIR to OSD
2017-06-12 22:54:38 +12:00
Miguel Angel Mulero Martinez
1456cc2ee1 Adjust precision of GPS LAT and LON in the OSD preview 2017-06-09 10:05:38 +02:00
Miguel Angel Mulero Martinez
9d41f3e912 Add HOME DIR to OSD 2017-06-09 09:59:56 +02:00
Miguel Angel Mulero Martinez
2637fdfec6 Adjust OSD element GPS LAT and LON preview 2017-06-08 10:36:29 +02:00
Dan Nixon
9f9b79e0e3 Add back the OSD disarmed element 2017-05-23 16:54:32 +01:00
Dan Nixon
75a16aae17 Allow toggling OSD stats 2017-05-23 12:53:28 +01:00
Dan Nixon
a5c4afa8a2 Add BFOSD element for armed time 2017-05-22 13:17:23 +01:00
Michael Keller
cc900dda31 Merge pull request #502 from Mistale/make-src-paths-relative
Make absolute path in osd tab (implicitly absolute) relative
2017-05-10 09:10:11 +12:00
Anders G
61a7381d71 Add draggable attribute to draggable div's in osd tab, and fix data-type mismatch when setting / retrieving data.
Most mobile shims for drag-and-drop assumes that you're either dragging an img-tag or an element with the draggable attribute. When not specified, the event-target will be the nested img instead of the div.

On mobile platforms (atleast iOS), no data is returned when dropping an element if getData() and setData() uses different types.
2017-05-09 18:42:14 +02:00
Anders G
3d6c677adb Make absolute path in osd tab (implicitly absolute) relative, to make base-tag work.
This change is needed in repos that use this repo as a submodule, and thereby have other base urls.
All instances of $.load() already have relative paths.
2017-05-09 18:22:18 +02:00
Rodrigo Pérez
52ae219449 Typo 2017-05-08 10:36:06 -03:00
Rodrigo Pérez
ec1e1a87cb Change VTX_CHANNEL preview and added missing elements to OSD Tab
* Change VTX_CHANNEL preview
* Add DEBUG
* ADD GPS Lon/Lat
2017-05-08 10:03:16 -03:00
Hydra
0520f0d473 CF/BF - Update for API v0.35.0 - OSD SLAVE. 2017-05-05 16:01:34 +12:00
Hydra
248f2ec727 CF/BF - Update OSD examples to match latest firmware. 2017-05-05 16:01:33 +12:00
Hydra
b4936958f8 CF/BF - fix some usages of flightControllerVersion which should have
used MSP API version.

FYI:

3.1.0 = api 1.31 -
https://github.com/betaflight/betaflight/blob/v3.1.6/src/main/msp/msp_protocol.h
3.0.1 = api 1.21 -
https://github.com/betaflight/betaflight/blob/v3.0.1/src/main/io/msp_protocol.h
3.0.0 = api 1.20 -
https://github.com/betaflight/betaflight/blob/v3.0.0/src/main/io/msp_protocol.h
2.9.1 = api 1.16 -
https://github.com/betaflight/betaflight/blob/v2.9.1/src/main/io/serial_msp.h
2.8.0 = api 1.16 -
https://github.com/betaflight/betaflight/blob/v.2.8.0/src/main/io/serial_msp.h
2.4.0 = api 1.16 -
https://github.com/betaflight/betaflight/blob/v2.4.0/src/main/io/serial_msp.h
2017-05-05 16:00:38 +12:00
Rodrigo Pérez
8c2a325340 Disable "Upload Font" button when uploading. 2017-05-04 19:42:24 -03:00
Bas Delfos
87a473c2e3 Review changes 2017-05-04 20:43:33 +02:00
Bas Delfos
6d4dc42800 Added OSD configuration for Main Battery Usage progressbar 2017-05-02 21:41:00 +02:00