Mercurial > public > ostc4
comparison Discovery/Src/text_multilanguage.c @ 539:d784f281833a
Added inertia simulation for compass heading:
In previous version calculated compass values were directly used for visualization of the compass. This causes a fast changing (jumping) of values. With the inertia introduction the compass behalfs more like an analog compass. The final value is reached slowly and the displayed values are more stable.
For configuration a new menu item has been added to the compass menu allowing to switch inertia off (default), small and large inertia simulation
author | Ideenmodellierer |
---|---|
date | Sat, 10 Oct 2020 16:59:18 +0200 |
parents | 88c626d01ee5 |
children | 6960df7ddb09 |
comparison
equal
deleted
inserted
replaced
538:b1eee27cd02b | 539:d784f281833a |
---|---|
175 static uint8_t text_DE_CompassCalib[] = "Kompass kalibrieren"; | 175 static uint8_t text_DE_CompassCalib[] = "Kompass kalibrieren"; |
176 static uint8_t text_FR_CompassCalib[] = "Calibration boussole"; | 176 static uint8_t text_FR_CompassCalib[] = "Calibration boussole"; |
177 static uint8_t text_IT_CompassCalib[] = "Calibrazione bussola"; | 177 static uint8_t text_IT_CompassCalib[] = "Calibrazione bussola"; |
178 static uint8_t text_ES_CompassCalib[] = "Calibrar brújula"; | 178 static uint8_t text_ES_CompassCalib[] = "Calibrar brújula"; |
179 | 179 |
180 static uint8_t text_EN_CompassInertia[] = "Compass inertia level"; | |
181 static uint8_t text_DE_CompassInertia[] = "Kompass Trägheitsfaktor"; | |
182 static uint8_t text_FR_CompassInertia[] = ""; | |
183 static uint8_t text_IT_CompassInertia[] = ""; | |
184 static uint8_t text_ES_CompassInertia[] = ""; | |
185 | |
186 | |
180 // Menu SYS1 and Customview header | 187 // Menu SYS1 and Customview header |
181 static uint8_t text_EN_Compass[] = "Compass"; | 188 static uint8_t text_EN_Compass[] = "Compass"; |
182 static uint8_t text_DE_Compass[] = "Kompass"; | 189 static uint8_t text_DE_Compass[] = "Kompass"; |
183 static uint8_t text_FR_Compass[] = "Boussole"; | 190 static uint8_t text_FR_Compass[] = "Boussole"; |
184 static uint8_t text_IT_Compass[] = "Bussola"; | 191 static uint8_t text_IT_Compass[] = "Bussola"; |
1575 static uint8_t text_DE_SelectCustom[] = "Auswahl Datenanzeige"; | 1582 static uint8_t text_DE_SelectCustom[] = "Auswahl Datenanzeige"; |
1576 static uint8_t text_FR_SelectCustom[] = ""; | 1583 static uint8_t text_FR_SelectCustom[] = ""; |
1577 static uint8_t text_IT_SelectCustom[] = ""; | 1584 static uint8_t text_IT_SelectCustom[] = ""; |
1578 static uint8_t text_ES_SelectCustom[] = ""; | 1585 static uint8_t text_ES_SelectCustom[] = ""; |
1579 | 1586 |
1580 static uint8_t text_EN_SelectBigFont[] = "Select bigfont data views"; | 1587 static uint8_t text_EN_SelectBigFont[] = "Select big font data views"; |
1581 static uint8_t text_DE_SelectBigFont[] = "Auswahl Grosschrift Daten"; | 1588 static uint8_t text_DE_SelectBigFont[] = "Auswahl Grosschrift Daten"; |
1582 static uint8_t text_FR_SelectBigFont[] = ""; | 1589 static uint8_t text_FR_SelectBigFont[] = ""; |
1583 static uint8_t text_IT_SelectBigFont[] = ""; | 1590 static uint8_t text_IT_SelectBigFont[] = ""; |
1584 static uint8_t text_ES_SelectBigFont[] = ""; | 1591 static uint8_t text_ES_SelectBigFont[] = ""; |
1585 | 1592 |
1722 {(uint8_t)TXT2BYTE_ButtonSensitivity,{text_EN_ButtonSensitivity, text_DE_ButtonSensitivity, text_FR_ButtonSensitivity, text_IT_ButtonSensitivity, text_ES_ButtonSensitivity}}, | 1729 {(uint8_t)TXT2BYTE_ButtonSensitivity,{text_EN_ButtonSensitivity, text_DE_ButtonSensitivity, text_FR_ButtonSensitivity, text_IT_ButtonSensitivity, text_ES_ButtonSensitivity}}, |
1723 {(uint8_t)TXT2BYTE_SpecialDiveGas, {text_EN_SpecialDiveGas, text_DE_SpecialDiveGas, text_FR_SpecialDiveGas, text_IT_SpecialDiveGas, text_ES_SpecialDiveGas}}, | 1730 {(uint8_t)TXT2BYTE_SpecialDiveGas, {text_EN_SpecialDiveGas, text_DE_SpecialDiveGas, text_FR_SpecialDiveGas, text_IT_SpecialDiveGas, text_ES_SpecialDiveGas}}, |
1724 {(uint8_t)TXT2BYTE_SpecialDiveGasMenu,{text_EN_SpecialDiveGasMenu, text_DE_SpecialDiveGasMenu, text_FR_SpecialDiveGasMenu, text_IT_SpecialDiveGasMenu, text_ES_SpecialDiveGasMenu}}, | 1731 {(uint8_t)TXT2BYTE_SpecialDiveGasMenu,{text_EN_SpecialDiveGasMenu, text_DE_SpecialDiveGasMenu, text_FR_SpecialDiveGasMenu, text_IT_SpecialDiveGasMenu, text_ES_SpecialDiveGasMenu}}, |
1725 {(uint8_t)TXT2BYTE_SpecialDiveGasMenuCCR,{text_EN_SpecialDiveGasMenuCCR, text_DE_SpecialDiveGasMenuCCR, text_FR_SpecialDiveGasMenuCCR, text_IT_SpecialDiveGasMenuCCR, text_ES_SpecialDiveGasMenuCCR}}, | 1732 {(uint8_t)TXT2BYTE_SpecialDiveGasMenuCCR,{text_EN_SpecialDiveGasMenuCCR, text_DE_SpecialDiveGasMenuCCR, text_FR_SpecialDiveGasMenuCCR, text_IT_SpecialDiveGasMenuCCR, text_ES_SpecialDiveGasMenuCCR}}, |
1726 {(uint8_t)TXT2BYTE_CompassCalib, {text_EN_CompassCalib, text_DE_CompassCalib, text_FR_CompassCalib, text_IT_CompassCalib, text_ES_CompassCalib}}, | 1733 {(uint8_t)TXT2BYTE_CompassCalib, {text_EN_CompassCalib, text_DE_CompassCalib, text_FR_CompassCalib, text_IT_CompassCalib, text_ES_CompassCalib}}, |
1727 {(uint8_t)TXT2BYTE_UseSensor, {text_EN_UseSensor, text_DE_UseSensor, text_FR_UseSensor, text_IT_UseSensor, text_ES_UseSensor}}, | 1734 {(uint8_t)TXT2BYTE_CompassInertia, {text_EN_CompassInertia, text_DE_CompassInertia, text_FR_CompassInertia, text_IT_CompassInertia, text_ES_CompassInertia}}, |
1735 {(uint8_t)TXT2BYTE_UseSensor, {text_EN_UseSensor, text_DE_UseSensor, text_FR_UseSensor, text_IT_UseSensor, text_ES_UseSensor}}, | |
1728 {(uint8_t)TXT2BYTE_WarnDecoMissed, {text_EN_WarnDecoMissed, text_DE_WarnDecoMissed, text_FR_WarnDecoMissed, text_IT_WarnDecoMissed, text_ES_WarnDecoMissed}}, | 1736 {(uint8_t)TXT2BYTE_WarnDecoMissed, {text_EN_WarnDecoMissed, text_DE_WarnDecoMissed, text_FR_WarnDecoMissed, text_IT_WarnDecoMissed, text_ES_WarnDecoMissed}}, |
1729 {(uint8_t)TXT2BYTE_WarnPPO2Low, {text_EN_WarnPPO2Low, text_DE_WarnPPO2Low, text_FR_WarnPPO2Low, text_IT_WarnPPO2Low, text_ES_WarnPPO2Low}}, | 1737 {(uint8_t)TXT2BYTE_WarnPPO2Low, {text_EN_WarnPPO2Low, text_DE_WarnPPO2Low, text_FR_WarnPPO2Low, text_IT_WarnPPO2Low, text_ES_WarnPPO2Low}}, |
1730 {(uint8_t)TXT2BYTE_WarnPPO2High, {text_EN_WarnPPO2High, text_DE_WarnPPO2High, text_FR_WarnPPO2High, text_IT_WarnPPO2High, text_ES_WarnPPO2High}}, | 1738 {(uint8_t)TXT2BYTE_WarnPPO2High, {text_EN_WarnPPO2High, text_DE_WarnPPO2High, text_FR_WarnPPO2High, text_IT_WarnPPO2High, text_ES_WarnPPO2High}}, |
1731 {(uint8_t)TXT2BYTE_WarnBatteryLow, {text_EN_WarnBatteryLow, text_DE_WarnBatteryLow, text_FR_WarnBatteryLow, text_IT_WarnBatteryLow, text_ES_WarnBatteryLow}}, | 1739 {(uint8_t)TXT2BYTE_WarnBatteryLow, {text_EN_WarnBatteryLow, text_DE_WarnBatteryLow, text_FR_WarnBatteryLow, text_IT_WarnBatteryLow, text_ES_WarnBatteryLow}}, |
1732 {(uint8_t)TXT2BYTE_WarnSensorLinkLost,{text_EN_WarnSensorLinkLost, text_DE_WarnSensorLinkLost, text_FR_WarnSensorLinkLost, text_IT_WarnSensorLinkLost, text_ES_WarnSensorLinkLost}}, | 1740 {(uint8_t)TXT2BYTE_WarnSensorLinkLost,{text_EN_WarnSensorLinkLost, text_DE_WarnSensorLinkLost, text_FR_WarnSensorLinkLost, text_IT_WarnSensorLinkLost, text_ES_WarnSensorLinkLost}}, |