1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00
Commit graph

21 commits

Author SHA1 Message Date
3djc
e68662764f
Battcheck fixes (#7602)
Battcheck reviewed
2020-05-22 19:55:04 +02:00
Offer Shmuely
e4f8735c7a
Shmuely/horus batt widget reset telemetry (#7407)
Batt widget reset telemetry
2020-03-10 18:02:11 +01:00
Offer Shmuely
cde54f04f4
shmuely/horus batt widget faster (#7338)
BattCheck optimization
2020-01-30 11:34:08 +01:00
Offer Shmuely
13cee8786c Horus widget batt check updates (#6412)
* Gyro added, dead code removed

* CZ translations continued

* Missing translation

* Translations again

* Assert added

* Segfault removed

* Compilation fix

* Cosmetics

* More work for X-Lite S/PRO

* GyrX / GyrY eeprom support on X-Lite S/PRO

* [X3] Only 5 switches

* Renaming PXX / ACCESS modules constants

* ACCESS started in Companion

* Remove obsolete option

* As X3 is X9LITE PCBX9 should be defined

* Compilation fix

* Logical issue: X9DP is NOT an X9D. Will be fixed better when we introduce radio family definitions

* New bunch of translations

* [X3] missing MIXSRC line (+ an assert to avoid it happens again)

* Compilation fix

* [X7] Bootloader fix

* rename x3 to x9lite

* rename x3 to x9lite

* Compilation fix

* Logical issue: X9DP is NOT an X9D. Will be fixed better when we introduce radio family definitions

* cosmetics

* cosmetics

* Renaming continued

* [X9 Lite] Simulator keys fixed

* [X7] Simulator keys fixed

* Update CREDITS.txt

* VC++ compilation

* 3djc/x7 additional switches (#6422)

X7, add two additional switches

* Remaining X3 in code

* Bug with [EXIT Long] in TX / RX Options screen

* Compilation fix

* Cosmetics

* Cosmetics

* Cosmetics

* [X10] Freeze issue fixed

* Cosmetics

* Allow CROSSFIRE serial telemetry mirror

* HORUS fixes

* CZ next round of translations

* HORUS fixes

* Horusgets 60 sensors, not 64

* Build simu for new radios

* Compilation options updated

* Compilation options updated

* Compilation options updated

* Cosmetics

* Verbose nighlies

* Compilation fix

* Fix macosx compile

* Fix macosx compile

* Fix macosx compile

* Compilation options updated

* Windows compilation fight

* Allow accst protocols on xlites

* Windows compilation fight

* Revert "Allow accst protocols on xlites"

This reverts commit 5040e518

* Revert "Compilation options updated"

This reverts commit 68a9edc8

* Windows compilation fight

* Windows compilation fight

* Should work if we compile with -DWIN_DO_FULL_INSTALL=YES -DSIMU_TARGET=NO

* License.txt to ISO-8859-1

* Windows compilation fight

* Windows compilation fight

* Windows compilation fight clean

* Windows compilation fight next round

* Windows compilation fight next round

* Windows compilation fight next round

* Windows compilation fight next round clean

* External module list depends on compilation options
- option PPM=NO is added for radios which don't support PPM anymore
- option SBUS=NO
- option DSM2=NO

* Fixes in channels order in the Multi wizard

* Options for building FrSky release firmware updated

* Translations fix

* Translations fix

* Quel talent !

* Update firmware stamps asap

* small companion fixes

* Fix #•6425

* cosmetics

* Fix eeprom load multiples warnings

* Untranslated strings splitted from others

* cosmetics

* ACCST protocol support added

* Strings big cleaning session (#6426)

Strings cleaning session

* Companion new error detected on flash (when no device found)

* Compilation fix

* X10 extra switches sticks (#6423)

[X10] 2 extra sticks switches + 2 extra pots

* String change

* String change

* String change

* String change

* Compilation fix

* FourCC missing for new boards in Companion

* Will raise a warning next time we forget a FourCC or an EEPROM size

* Compilation fix

* Compilation fix

* Compilation fix

* Compilation fix again (no possible to avoid it with VC++ ???)

* VC++ warnings fixes

* Update gui_common.cpp

Added:
 - BAYANG DHD_D4
 - MJXQ PHOENIX and Freq tuning for E010
 - E01X E016H
 - GD00X V1 and V2
 - BUGSMINI BUGS3H

* ACCST on ACCESS (#6430)

ACCST on ACCESS

* updated japanese translation. (#6429)

* Fix ALT displayed in TopBar in FAI mode (2.3 version) (#6367)

* Some german translations added or corrected (#6344)

Some german translations added or corrected

* Wrong search & replace

* Fix ported from #6331

* #6331

* Prevent dist calculation overflow

* Improve nightly outputs

* Fix GPS overflow

* Make nightlies process more robust

* Make nightlies process more robust

* [companion] Fix Bluetooth fields availability, add ownerId and gyro

* Make nightlies process more robust

* Reserve gyro data for Horus

* Compilation fix

* Multi compile fix

* 日本語オプションを追加

* Add japaneese translation file

* Temporary fix for Sky9X compilation issue

* Use the Force, Luke

* SKY9X-REVA removed as it doesn't even build since 2.2

* Compilation fix

* Unused file removed

* Removing PPM support also removed Trainer / Trainee feature

* CROSSFIRE is no more a default, but firmware option (saves RAM)

* CROSSFIRE module availability is based on sport sharing

* Companion enhancements for checklist editor, model print and compare (2 3 branch) (#6434)

* Model print and compare include GFs enhancement

* Model print and compare include checklist contents

* Add missing brackets and code tidy up

* Print message if cannot open or read checklist file

* Missing GV label translation
Move some checklist code to helpers

* Refactor to use helpers and add cursor position

* Move improved version of removeAccents to helpers and apply to checklist

* Force fixed width font for edit window

* Fixes #6439

* [ACCESS] More bits for the RF protocol enum

* Taranis X9D REV4a support removed (didn't compile since 2.2)

* Problem in Failsafe HOLD / NONE strings

* Allow PXX1 only

* Fix wrong BT password
Thix fixes #6440

* REvert previous fix and do it differently

* Fixes missing or invalid SD path (#6441)

* XLite EEPROM 218 import fix

* Improve massively splash screen ! Thx MHotar !!!

* Fix fiel permissions

* CMake options printed when building a firmware

* Companion import fix

* O9X FourCC support removed

* Fix companion import
This fixes #6443

* Fix for negative gvars precision - inspired by #6446 thanks @ elecpower

* Add mouseover tool tips to label fields with context menus (#6448)

* Aie

* Fix X10 analogs

* Merge bitfield macros

* Fix PPMUS

* Add Jumper t12 support by 3djc (#6451)

* Jumper T12 - companion part

* more work

* Add definitions

* fix libsimulator key handling

* Fix simu keys handling

* Cosmetics

* Continued

* Fix wrong regplace

* Fix wrong regplace

* Please travis

* Please travis

* Add T12 to Travis
Switch naming and display

* Cosmetics

* Work on modules

* Work on modules

* typo

* Fix navigation

* Cosmetics

* Introduce NAVIGATION_type

* Fix

* Make NAVIGATION_type more future proof

* Lots of cleanups and improvements

* Cosmetics

* Fix internal module menu

* Cosmetics

* Fix screen reversed

* Small fixes

* Fix navigation issue

* Please travis

* Fix LCD contrast

* Fix T12 switch layout

* Fix T12 keys screen and all radios keys translations

* Complete rework of SWITCHES screen for all radios

* comsetics

* VC++ compilation

* Prep for switch refactoring

* Typo

* Fix missing

* Switch refactoring continued

* Fix duplicate

* Too long string on 128x64 screens

* Properly disable BT when module not present

(cherry picked from commit 2bc9a00f32)

* X12S has Gimbal switchs handling as well

* Bsongis/power control chip (#6445)

FRSK files support added

* Now module / receiver / sensor firmware update from .frsk files should be OK

* Compilation fix

* Fix X7 switches on main view

* Switches refactoring (#6454)

Switches refactoring

* CZ translations

* Bsongis/accst support over pxx2 (#6455)

ACCST support over PXX2

* Refactoring

* Cosmetics

* Compilation fix

* Compilation fix

* Unused code removal

* Compilation fix

* X9 Lite powering issue

* warning removed

* R9M ACCESS / ACCST refactoring

* Update build options

* Introduce AUX_SERIAL (#6456)

* [XLiteS / X9 Lite] Will only propose "ACCESS / ACCST D16 / ACCST LR12" (no ISRM)

* Initial version

* Module names constants / strings changed again

* Updated Companion French translation for OpenTX 2.3

* R9M bugfix

* R9M improvements

* Clean outdated and unused pxx2 code (#6458)

Remove outdated PXX2 code from X10 / X12S

* Bsongis/menus refactoring (#6463)

Menus refactoring

* Update CREDITS.txt

* R9M warning (#6464)

R9M warning + refactoring

* String change

* Multi protocol updates to MPM version 1.2.1.51 (#6466)

* Travis build error fix for PR #6466 Update MPM for 2.3

* Remove non working Theme

* Update CREDITS.txt

* Negative test inversion. Internal module mode displayed wrongly on X9 Lite

* ACCST D16 / ACCESS mode removed until it is ready

* Same shutdown animation on all boards

* ACCST D16 is OK on ACCESS modules now

* Fixes #6459

* Switches position was not optimal in Main view [Switches]

* Xlite has no trainer port

* Fixes 5602 Special Functions Inc/Dec Gvar (#6442)

Fixes #5602 (2.3)

* Cosmetics

* Add vario sensor to CRSF telemetry

* T12 to use 9x navigation + navigation refactoring  (#6474)

* Move T12 to more suited 9x navigation

* Navigation refactoring

* Navigation refactoring continued

* Channels count in ACCESS mode fix (24 channels max)

* Cosmetics

* Radio / Version: FCC / EU variant displayed

* BIND in ACCST mode didn't take care of 8CH / 16CH

* Cosmetics

* Remove 1ms for mixer to pulse XJT (now 2ms)

* Refactoring around trainer

* ACCESS module type added to Companion

* Compilation fix

* Compilation fix

* Cosmetics

* Fix critical issue when flashing 2.2.x firm from 2.3 bootloader (making 2.3 BL init wrong interupt not handled by 2.2 firm)

* Cosmetics

* Rename serial2 to aux_serial

* Compilation fix

* Compilation fix

* ACCESS support started in Companion

* Renaming "Power control chip" to "Power management unit"

* Fix switch warning for X9 Lite

* Always use 230400bauds for PXX2 on external module

* Improve switch layout display

* Companion T12 support (#6480)

* Introduce T12 own variant, radio side

* T12 Companion support continued

* Remove warnings

* Cosmetics

* Please Travis

* Cosmetics

* Fix an issue in statistics display

* Cosmetics

* Update CREDITS.txt

* R9M subtype selection fix

* Switches fix (because we have more than 256 switches today)

* CZ translations

* X7 didn't have the S.PORT connector enabled

* Fix nightlies compilation and add multi to Travis (it is mainstream after all)

* S.PORT Flash fix

* Lua warning popups could not be canceled!

* Bsongis/radio tools (#6484)

Lua tools now displayed in RADIO / TOOLS
Add a function to write CENTERED text with lcdDrawText

* PXX synchro using Hearbeat (#6482)

* [PXX] Latency using heartbeat sync optimized for X7 (stable @ 12ms)
* [PXX] Latency using heartbeat sync optimized for XLite Pro (stable @ 9ms)

* Add RX numbers to CPN models list (2.3) (#6447)

Add RX numbers to models list (#5088)

* Typo

* cleaner look (optimize additional info)

* fix index-out-of-bound when trying to use it on top bar

* cleaner code

* Keep historical info of lowest cells

* BattCheck, update view in top-bar
2019-12-06 16:39:44 +01:00
offer-shmuely
1ae655f7ea add option to choose the main value, minCell / cellSum, default is cellSum (so no change to user that don't care) 2018-11-05 22:33:10 +02:00
offer-shmuely
19d718ef76 typo: isHaveData --> isDataAvailable 2018-11-05 21:48:51 +02:00
offer-shmuely
faba2dacd7 change message: 'No Voltage Data' --> 'No Cells Data' 2018-11-05 21:46:48 +02:00
offer-shmuely
863487ba5d BattCheck updated look&feel
bigger values of the important cell-value/percentage on every widget size
View is visible even while selecting the widget (instead of warn message)
move the values inside the battery picture, to enable larger font
2018-10-28 23:44:20 +02:00
3djc
da71f4cbbc Make Horus widgets 'shadow' effect an option (#5203)
* Add shadows to c++ widgets

* Add BOOL zone option to Horus LUA

* LUA widgets too
2017-09-11 07:34:49 +02:00
3djc
726b989f6c Horus Shadowed (#4979)
* Introduce SHADOWED and use it for BattCheck

* numbers too

* For drawTimer too

* Compilation fix
2017-06-02 16:36:27 +02:00
3djc
0a1cacf77c Fixes to BattCheck widget 2017-04-10 10:39:14 +02:00
3djc
f6f43ee438 3djc/tiny batt check (#3565)
* Add tiny size for top bar

* Fix volatage with %2.2f format

* There are case where one is better than two :D
2016-06-03 17:08:22 +02:00
3djc
98ee2f8f52 Small fix to allow better display of widget label when selecting widget (#3562) 2016-06-03 09:36:32 +02:00
3djc
f7ba671034 - Improve messages for clarity that FLVSS sensor is neeeded (#3551) 2016-05-30 09:32:51 +02:00
3djc
4765984900 Use only CUSTOM_COLOR, (#3523)
* Use only CUSTOM_COLOR, seem to have no interaction with the rest of the system, albeit issue reports where neither very precise or reproductible

* Fix Xlarge

* Fix medium and large
2016-05-22 20:42:06 +02:00
3djc
8bcbd0f7f6 Give BattCheck a 'selective' memory, that is forget about lowest cell when you change lipo without changing model or turning radio off (#3521) 2016-05-22 11:54:45 +02:00
3djc
c614b1ac67 Proper implementation of update to monitor cells when not displayed on screen (#3520) 2016-05-21 19:19:07 +02:00
3djc
d1e7b66f1a 3djc/batt check widget (#3519)
* Completely rewrite drawing sections to allow MUCHO easier size or position change.

* First take at large widget, missing fine tuning of displayed item, and background data collection

* Comparing lower cell with their live counterparts is so much better

* Make use of newly introduced update() function

* Tidy up
2016-05-21 14:15:39 +02:00
3djc
e032215186 Add widget not configured management (#3511)
Widget size 1/2 now available also
2016-05-19 18:08:26 +02:00
3djc
4268ce9eca 3djc/batt check widget (#3498)
* Add 1/4th screen widget (in addition to existing 1/8th)

* Batt+ filled white

* Cosmetics

* Review copyright and zone handling
2016-05-17 06:56:35 +02:00
3djc
721a166be3 Widget inital load. Currently working ONLY for SMALEST size (#3495)
* Widget inital load. Currently working ONLY for SMALEST size

* Allows selection of Cels sensor in the widgets settings, cosmetic (indentation)

* Change indent to 2
2016-05-14 20:15:07 +02:00