Compare commits

...

298 Commits

Author SHA1 Message Date
Rick Lan 7fa3899883 Merge branch 'devel-i18n' into devel-zht 2020-04-10 09:16:33 +10:00
Rick Lan d61d7c21c9 re-add apks 2020-04-07 22:08:16 +10:00
Rick Lan a3bce89635 Merge branch 'testing' into devel-zht 2020-03-31 15:07:52 +10:00
Rick Lan 895eee3b95 Merge branch 'testing' into devel-zht 2020-03-31 11:24:31 +10:00
Rick Lan 13ecf69e32 Merge branch 'devel-i18n' into devel-zht 2020-03-28 12:16:39 +10:00
Rick Lan af09d09ca1 Merge branch 'devel-i18n' into devel-zht 2020-03-27 12:52:17 +10:00
Rick Lan 6ff40b6284 fix translation 2020-03-22 15:40:50 +10:00
Rick Lan f61949bd55 Merge branch 'testing' into devel-zht 2020-03-22 15:21:24 +10:00
dragonpilot 95a2afef18 sidebar translation 2020-03-17 16:22:21 +10:00
dragonpilot c1d2f6893e Merge branch 'devel-i18n' into devel-zht 2020-03-17 16:21:29 +10:00
dragonpilot 1d259a2275 Merge branch 'devel-i18n' into devel-zht 2020-03-14 11:33:08 +10:00
dragonpilot d1c47059a2 Merge branch 'devel-i18n' into devel-zht 2020-03-06 15:07:25 +10:00
dragonpilot 6cd95ae615 Merge branch 'devel-en' into devel-zht 2020-03-04 13:33:32 +10:00
dragonpilot 4cb93b8674 Merge branch 'devel-en' into devel-zht 2020-02-25 13:42:58 +10:00
dragonpilot e366ae40c2 Merge branch 'devel-en' into devel-zht 2020-02-21 14:12:45 +10:00
dragonpilot 504f44eb97 Merge branch 'devel-en' into devel-zht 2020-02-14 11:25:08 +10:00
dragonpilot 26b7682e72 Merge branch 'devel-en' into devel-zht 2020-02-08 13:34:04 +10:00
dragonpilot 8085b03447 re-enable allow gas, commented out somehow 2020-01-31 17:35:28 +10:00
dragonpilot 10addc25d1 Merge branch 'devel-zht' of https://github.com/dragonpilot-community/dragonpilot into devel-zht 2020-01-31 17:30:46 +10:00
dragonpilot 01412aeb76 keep chinese fonts 2020-01-31 17:23:29 +10:00
dragonpilot 49ea4d0329 Merge branch 'devel-en' into devel-zht 2020-01-31 17:22:32 +10:00
dragonpilot a02e331c26 Merge branch 'devel-en' into devel-zht 2020-01-29 22:04:33 +10:00
dragonpilot d6c12928ff Merge branch 'devel-en' into devel-zht 2020-01-23 15:08:31 +10:00
dragonpilot 7ffb1ed00d add translations 2020-01-19 21:47:20 +10:00
dragonpilot ffa84400fe Merge branch 'devel-en' into devel-zht 2020-01-19 21:03:15 +10:00
dragonpilot 59a7f99e1b Merge branch 'devel-en' into devel-zht 2020-01-14 15:39:21 +10:00
dragonpilot 97a8b5329c Merge branch 'devel-en' into devel-zht 2020-01-08 15:06:00 +10:00
dragonpilot f2e275708b Merge branch 'devel-en' into devel-zht 2020-01-06 13:15:40 +10:00
dragonpilot 1b3e431acb Merge branch 'devel-en' into devel-zht 2019-12-31 18:13:17 +10:00
Rick Lan cbce7adad0 Merge branch 'devel-en' into devel-zht 2019-12-29 22:16:12 +10:00
dragonpilot cb7d6dbda0 Merge branch 'devel-en' into devel-zht 2019-12-18 14:42:31 +10:00
dragonpilot e3ab074e1d Merge branch 'devel-en' into devel-zht 2019-12-18 11:57:29 +10:00
dragonpilot bdf5cb2e5e update translation 2019-12-17 12:55:07 +10:00
dragonpilot 422f57d7c6 Merge branch 'devel-en' into devel-zht 2019-12-17 12:54:34 +10:00
dragonpilot 18e12b813f update translation 2019-12-17 10:47:12 +10:00
dragonpilot 26016f4082 Merge branch 'devel-en' into devel-zht 2019-12-17 10:40:30 +10:00
dragonpilot 2799779f28 Merge branch 'devel-en' into devel-zht 2019-12-10 11:41:51 +10:00
dragonpilot d791f0e74f Merge branch 'devel-en' into devel-zht 2019-11-21 09:23:19 +10:00
dragonpilot f64ffbdc4e Merge branch 'devel-en' into devel-zht 2019-11-19 16:04:18 +10:00
dragonpilot c809db4d14 Merge branch 'devel-en' into devel-zht 2019-11-19 10:12:38 +10:00
dragonpilot 59fdb08e90 Merge branch 'devel-en' into devel-zht 2019-11-18 08:02:34 +10:00
dragonpilot bb4217906e bug fix 2019-11-15 18:28:24 +10:00
dragonpilot 519a2c3f7c Merge branch 'devel-en' into devel-zht 2019-11-15 16:17:44 +10:00
dragonpilot ddf9967140 Merge branch 'devel-en' into devel-zht 2019-11-15 09:11:54 +10:00
dragonpilot 0c07b3bf84 Merge branch 'devel-en' into devel-zht 2019-11-13 13:19:26 +10:00
dragonpilot 2948e058f1 more translations 2019-11-12 13:34:02 +10:00
dragonpilot 44701b21ac Merge branch 'devel-en' into devel-zht 2019-11-12 12:40:31 +10:00
dragonpilot 241c94bf7c Merge branch 'devel-en' into devel-zht 2019-11-11 10:49:01 +10:00
dragonpilot 9da86984d7 Merge branch 'devel-en' into devel-zht 2019-11-08 13:11:09 +10:00
dragonpilot 624725bb54 Merge branch 'devel-en' into devel-zht 2019-11-07 14:21:15 +10:00
dragonpilot 9a8e094db4 Merge branch 'devel-en' into devel-zht 2019-11-07 11:43:04 +10:00
dragonpilot 2e8bd5e3f9 Merge branch 'devel-en' into devel-zht 2019-11-06 16:45:16 +10:00
dragonpilot c1b14a342e Merge branch 'devel-en' into devel-zht 2019-11-06 16:34:42 +10:00
dragonpilot e59026f7ab Merge branch 'devel-en' into devel-zht 2019-11-06 15:22:12 +10:00
dragonpilot 6fd8edd115 disable force update 2019-11-06 15:20:57 +10:00
dragonpilot af1d977ab2 Merge branch 'devel-en' into devel-zht 2019-11-06 14:58:13 +10:00
dragonpilot fb2a14ddfd Merge branch 'devel-en' into devel-zht 2019-11-06 14:52:03 +10:00
dragonpilot 334dfc88d3 Merge branch 'devel-en' into devel-zht 2019-11-05 14:42:00 +10:00
dragonpilot 5a720bd4c3 Merge branch 'devel-en' into devel-zht 2019-11-04 16:44:24 +10:00
dragonpilot 4c8a5d189a Merge branch 'devel-en' into devel-zht 2019-11-01 13:39:31 +10:00
dragonpilot 03e7c6c504 Merge branch 'devel-en' into devel-zht 2019-11-01 13:36:34 +10:00
dragonpilot 9b9f9447fc Merge branch 'devel-en' into devel-zht 2019-11-01 11:12:13 +10:00
dragonpilot 7b48dcc0d6 Merge branch 'devel-en' into devel-zht 2019-10-31 11:25:46 +10:00
dragonpilot fbfcdeab61 Merge branch 'devel-en' into devel-zht 2019-10-30 11:56:35 +10:00
dragonpilot 3cac144b51 update carcontroller.py for honda 2019-10-30 10:59:44 +10:00
dragonpilot 5cc255941d Merge branch 'devel-en' into devel-zht 2019-10-30 10:37:56 +10:00
dragonpilot 06079802eb Merge branch 'devel-en' into devel-zht 2019-10-30 09:32:16 +10:00
dragonpilot 56711d5e7b update APK 2019-10-29 10:26:28 +10:00
dragonpilot dcad6ea6e1 Merge branch 'devel-en' into devel-zht 2019-10-29 10:18:01 +10:00
dragonpilot 721467ff0d Merge branch 'devel-en' into devel-zht 2019-10-28 14:13:18 +10:00
dragonpilot 63ec430d63 Merge branch 'devel-en' into devel-zht 2019-10-28 12:34:45 +10:00
dragonpilot 5d7a4ef9ef Merge branch 'devel-en' into devel-zht 2019-10-27 09:57:18 +10:00
dragonpilot 63ac70dfb4 Merge branch 'devel-en' into devel-zht 2019-10-25 09:18:30 +10:00
dragonpilot 83ce66b4c4 Merge branch 'devel-en' into devel-zht 2019-10-24 13:44:27 +10:00
dragonpilot 9095357e77 Merge branch 'devel-en' into devel-zht 2019-10-22 16:54:27 +10:00
dragonpilot 843dc44ca5 Merge branch 'devel-en' into devel-zht 2019-10-21 19:05:24 +10:00
dragonpilot 458742decc update APK 2019-10-21 11:29:06 +10:00
dragonpilot 8cc0d2bbda Merge branch 'devel-en' into devel-zht 2019-10-21 11:24:30 +10:00
dragonpilot 95b7ba9292 Merge branch 'devel-en' into devel-zht 2019-10-18 09:49:19 +10:00
dragonpilot 1ea1114a46 update APK 2019-10-17 14:37:09 +10:00
dragonpilot f20f1395c5 Merge branch 'devel-en' into devel-zht 2019-10-17 14:30:13 +10:00
dragonpilot 2b45a1bedc Merge branch 'devel-en' into devel-zht 2019-10-17 13:35:26 +10:00
dragonpilot 623202e42f update APK 2019-10-17 10:36:23 +10:00
dragonpilot 109dd6c124 Merge branch 'devel-en' into devel-zht 2019-10-17 10:33:01 +10:00
dragonpilot 33fe61381f Merge branch 'devel-en' into devel-zht 2019-10-16 17:22:45 +10:00
dragonpilot f47260498a Merge branch 'devel-en' into devel-zht 2019-10-16 16:11:48 +10:00
dragonpilot 686cadcc3b Merge branch 'devel-en' into devel-zht 2019-10-16 11:58:16 +10:00
dragonpilot aa6a29b131 Merge branch 'devel-en' into devel-zht 2019-10-16 10:36:54 +10:00
dragonpilot a688db5d1f Merge branch 'devel-en' into devel-zht 2019-10-15 12:03:21 +10:00
dragonpilot 88c7fec070 Update APK 2019-10-14 17:17:18 +10:00
dragonpilot e30427c8ae Merge branch 'devel-en' into devel-zht 2019-10-14 17:15:32 +10:00
dragonpilot a2505dfacd Merge branch 'devel-en' into devel-zht 2019-10-14 16:56:16 +10:00
dragonpilot 87f88030ba Merge branch 'devel-en' into devel-zht 2019-10-14 16:04:46 +10:00
dragonpilot 55d81668fa update APK 2019-10-14 13:54:44 +10:00
dragonpilot 8414b92cb6 Merge branch 'devel-en' into devel-zht 2019-10-14 13:46:16 +10:00
dragonpilot b2d26f87a0 update APK 2019-10-14 12:34:53 +10:00
dragonpilot 486aa87955 Merge branch 'devel-en' into devel-zht 2019-10-14 12:34:37 +10:00
dragonpilot 6543308a37 Merge branch 'devel-en' into devel-zht 2019-10-14 11:04:58 +10:00
dragonpilot e2c778c8da Merge branch 'devel-en' into devel-zht 2019-10-13 10:58:23 +10:00
dragonpilot 2147e67a9e Merge branch 'devel-en' into devel-zht 2019-10-13 10:37:55 +10:00
dragonpilot d66e766cb1 Merge branch 'devel-en' into devel-zht 2019-10-13 10:26:23 +10:00
dragonpilot 80f7f3caad Merge branch 'devel-en' into devel-zht 2019-10-11 14:24:40 +10:00
dragonpilot 035e224fcb Merge branch 'devel-en' into devel-zht 2019-10-11 13:44:50 +10:00
dragonpilot 45892d1eea Merge branch 'devel-en' into devel-zht 2019-10-11 13:38:28 +10:00
dragonpilot d02bf7f40e Merge branch 'devel-en' into devel-zht 2019-10-11 10:23:58 +10:00
dragonpilot 2145cfdaef Merge branch 'devel-zht' of https://github.com/dragonpilot-community/dragonpilot into devel-zht 2019-10-11 09:58:10 +10:00
dragonpilot 79db0ff796 Merge branch 'devel-en' into devel-zht 2019-10-11 09:58:00 +10:00
dragonpilot 29fd3412be more translation 2019-10-10 23:32:08 +10:00
dragonpilot 7b262445f3 Merge branch 'devel-en' into devel-zht 2019-10-10 22:09:10 +10:00
dragonpilot 57a8178717 Merge branch 'devel-en' into devel-zht 2019-10-10 21:51:31 +10:00
dragonpilot d351e3c30e Translate updater 2019-10-10 16:14:29 +10:00
dragonpilot 454a8a224f Merge branch 'devel-en' into devel-zht 2019-10-10 15:08:15 +10:00
dragonpilot 13ca838ad2 Update APK 2019-10-10 15:00:55 +10:00
dragonpilot 34393c5f60 Merge branch 'devel-en' into devel-zht 2019-10-10 14:36:43 +10:00
dragonpilot 3f0e8c8ffb Update APK 2019-10-10 12:58:37 +10:00
dragonpilot 55313f8ffe Merge branch 'devel-en' into devel-zht 2019-10-10 12:40:30 +10:00
dragonpilot d55e6c2e25 Merge branch 'devel-en' into devel-zht 2019-10-09 14:46:52 +10:00
dragonpilot 168ca679ef Merge branch 'devel-en' into devel-zht 2019-10-08 14:44:05 +10:00
dragonpilot ca3872566f Update APK 2019-10-08 11:27:10 +10:00
dragonpilot 1c2ee28c10 Merge branch 'devel-en' into devel-zht 2019-10-08 11:27:03 +10:00
dragonpilot 5fbb85eac7 Merge branch 'devel-en' into devel-zht 2019-10-08 10:26:18 +10:00
dragonpilot 1670fae9a6 Merge branch 'devel-en' into devel-zht 2019-10-07 21:12:50 +10:00
dragonpilot 4e8813b672 Merge branch 'devel-en' into devel-zht 2019-10-01 12:18:46 +10:00
dragonpilot c89edafb32 Merge branch 'devel-en' into devel-zht 2019-09-30 12:47:37 +10:00
dragonpilot c7d48ce2e9 Merge branch 'devel-en' into devel-zht 2019-09-30 11:45:02 +10:00
dragonpilot 0995a1ef49 Merge branch 'devel-en' into devel-zht 2019-09-28 16:37:04 +10:00
dragonpilot e02f0f7396 Merge branch 'devel-en' into devel-zht 2019-09-27 15:12:08 +10:00
dragonpilot b5050b15a6 Merge branch 'devel-en' into devel-zht 2019-09-26 16:59:50 +10:00
dragonpilot 56283e7d9a Merge branch 'devel-en' into devel-zht 2019-09-26 16:51:15 +10:00
dragonpilot da590e7080 Update APK 2019-09-25 10:54:34 +10:00
dragonpilot 7e0b289bb0 Update APK 2019-09-25 10:43:36 +10:00
dragonpilot 6d23d68c3e Merge branch 'devel-en' into devel-zht 2019-09-25 10:43:22 +10:00
dragonpilot 739627a7ec Merge branch 'devel-en' into devel-zht 2019-09-23 14:44:47 +10:00
dragonpilot ec1b04b1c3 Update APK 2019-09-23 14:22:38 +10:00
dragonpilot 4e0a923332 Merge branch 'devel-en' into devel-zht 2019-09-23 14:22:31 +10:00
dragonpilot 6dfd4f28c3 update APK 2019-09-23 13:43:03 +10:00
dragonpilot a5cebd5e5a Merge branch 'devel-en' into devel-zht 2019-09-23 13:42:45 +10:00
dragonpilot fa61c2d23a Merge branch 'devel-en' into devel-zht 2019-09-23 12:39:08 +10:00
dragonpilot 1a631a4b65 update APK 2019-09-20 15:55:46 +10:00
dragonpilot d9d2fb6a6e Merge branch 'devel-en' into devel-zht 2019-09-20 15:55:30 +10:00
dragonpilot af6b8ce49f Merge branch 'devel-en' into devel-zht 2019-09-20 15:25:27 +10:00
dragonpilot 437de933a4 Revert "create a new service to handle greygps mode"
This reverts commit 428bdb0517.
2019-09-20 15:22:56 +10:00
dragonpilot 428bdb0517 create a new service to handle greygps mode 2019-09-20 15:20:47 +10:00
dragonpilot c52b6aba74 Merge branch 'devel-en' into devel-zht 2019-09-19 16:40:23 +10:00
dragonpilot 382b1ab9a9 Update APK 2019-09-17 16:23:48 +10:00
dragonpilot 42cd92734b Merge branch 'devel-en' into devel-zht 2019-09-17 12:42:20 +10:00
dragonpilot ec0ed455a4 Merge branch 'devel-en' into devel-zht 2019-09-14 18:21:00 +10:00
dragonpilot ab370780f0 Merge branch 'devel-en' into devel-zht 2019-09-13 23:14:14 +10:00
dragonpilot f0702c4e81 Merge branch 'devel-en' into devel-zht 2019-09-13 16:34:33 +10:00
dragonpilot 6771c7b1d7 Update APK 2019-09-13 15:48:03 +10:00
dragonpilot b7dafb4c7a TC tranlsation 2019-09-13 15:47:45 +10:00
dragonpilot 72d5f9f92b Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-09-13 15:44:23 +10:00
dragonpilot 742a2fd31d Merge branch 'devel-en' into devel-zht 2019-09-09 14:25:38 +10:00
dragonpilot a030b89a8c Merge branch 'devel-en' into devel-zht 2019-09-09 14:18:23 +10:00
dragonpilot e60463ed43 更新APK 2019-09-09 13:07:46 +10:00
dragonpilot 2a0d64b8c5 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.frame.apk
#	apk/ai.comma.plus.offroad.apk
2019-09-09 13:04:32 +10:00
dragonpilot 89ccd869d5 Merge branch 'devel-en' into devel-zht 2019-09-05 15:33:50 +10:00
dragonpilot 5de7c2e931 Merge branch 'devel-en' into devel-zht 2019-09-05 11:16:41 +10:00
dragonpilot 390c8a6261 Merge branch 'devel-en' into devel-zht 2019-09-04 15:38:09 +10:00
dragonpilot df51d1227e 打開 GPS 高精確度定位模式 2019-09-04 15:37:03 +10:00
dragonpilot c19ffdf25b Merge branch 'devel-en' into devel-zht 2019-09-04 14:40:52 +10:00
dragonpilot 0ab0bd8a06 Merge branch 'devel-en' into devel-zht 2019-09-04 12:26:16 +10:00
dragonpilot 27b3cc95e7 Merge branch 'devel-en' into devel-zht 2019-09-02 15:35:30 +10:00
dragonpilot 66e5df437a Merge branch 'devel-en' into devel-zht 2019-09-02 14:46:19 +10:00
dragonpilot f15e689142 Merge branch 'devel-en' into devel-zht 2019-09-02 13:24:50 +10:00
dragonpilot 4e7a464fef 更新APK 2019-09-02 12:02:45 +10:00
dragonpilot c7a392b19c 更新APK 2019-09-02 11:53:05 +10:00
dragonpilot 94aa1efebf Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.frame.apk
2019-09-02 11:52:01 +10:00
dragonpilot 9eb6ce5721 Merge branch 'devel-en' into devel-zht 2019-08-30 17:20:20 +10:00
dragonpilot fe6b9bfef3 更新APK 2019-08-30 15:33:02 +10:00
dragonpilot 8742f29a84 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-30 15:25:20 +10:00
dragonpilot 493220a57e Merge branch 'devel-en' into devel-zht 2019-08-30 14:14:32 +10:00
dragonpilot c8026e7485 Merge branch 'devel-en' into devel-zht 2019-08-30 13:57:18 +10:00
dragonpilot 113a7fa3a7 更新APK 2019-08-30 13:48:05 +10:00
dragonpilot 9a2548f9ea Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-30 13:41:48 +10:00
dragonpilot f5c704a61e 更新APK 2019-08-30 12:44:26 +10:00
dragonpilot d0c6f10130 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-30 12:06:50 +10:00
dragonpilot 483b51389f 更新APK 2019-08-28 16:15:37 +10:00
dragonpilot 3cc4a9936a Merge branch 'devel-en' into devel-zht 2019-08-28 16:08:36 +10:00
dragonpilot 0bc0937e74 Merge branch 'devel-en' into devel-zht 2019-08-28 16:05:04 +10:00
dragonpilot 9b445c9a3b Merge branch 'devel-en' into devel-zht 2019-08-28 11:24:21 +10:00
dragonpilot 2b3f80a62c Merge branch 'devel-en' into devel-zht 2019-08-28 11:11:08 +10:00
dragonpilot 5794196452 Merge branch 'devel-en' into devel-zht 2019-08-27 17:25:05 +10:00
dragonpilot c6feedcd39 Merge branch 'devel-en' into devel-zht 2019-08-27 17:22:03 +10:00
dragonpilot e724ebc27b 更新APK 2019-08-27 17:18:53 +10:00
dragonpilot edcbffb727 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-27 17:17:12 +10:00
dragonpilot 660834c5bc 更新APK 2019-08-27 13:44:50 +10:00
dragonpilot 88ee5426a4 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-27 13:00:20 +10:00
dragonpilot cf368cbf4a Merge branch 'devel-en' into devel-zht 2019-08-23 01:25:50 +10:00
dragonpilot 118837fdc1 Merge branch 'devel-en' into devel-zht 2019-08-23 01:22:36 +10:00
dragonpilot 47d9615a7b Merge branch 'devel-en' into devel-zht 2019-08-23 01:10:22 +10:00
dragonpilot b9c29aa347 Merge branch 'devel-en' into devel-zht 2019-08-23 01:00:15 +10:00
dragonpilot 4ebaf34e83 Merge branch 'devel-en' into devel-zht 2019-08-23 00:56:04 +10:00
dragonpilot d58977aba0 優化appd 2019-08-23 00:54:47 +10:00
dragonpilot bfb28e73be 更新APK 2019-08-23 00:49:21 +10:00
dragonpilot 3c88face3d Merge branch 'devel-en' into devel-zht 2019-08-23 00:49:09 +10:00
dragonpilot 3df4721fc5 Merge branch 'devel-en' into devel-zht 2019-08-22 18:06:04 +10:00
dragonpilot ff7428a9fa 更新APK 2019-08-22 16:36:02 +10:00
dragonpilot 8ef746eb4f Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-22 16:34:05 +10:00
dragonpilot b2f25fd938 更新APK 2019-08-22 16:06:33 +10:00
dragonpilot 2c8321a115 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-22 16:03:36 +10:00
dragonpilot ca53ab0c00 Merge branch 'devel-en' into devel-zht 2019-08-22 00:12:28 +10:00
dragonpilot 398728334e 更新APK 2019-08-21 17:59:35 +10:00
dragonpilot eb65a385ea Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-21 17:54:03 +10:00
dragonpilot 1b2703ff98 Merge branch 'devel-en' into devel-zht 2019-08-21 13:01:51 +10:00
dragonpilot c2fc3df39f 更新APK 2019-08-21 12:44:25 +10:00
dragonpilot d5b8edd30f Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-21 12:37:33 +10:00
dragonpilot a790bd7b5a Merge branch 'devel-en' into devel-zht 2019-08-20 16:21:34 +10:00
dragonpilot 713d5b2298 Merge branch 'devel-en' into devel-zht 2019-08-20 15:56:30 +10:00
dragonpilot a514d2cb6e 更新APK 2019-08-20 13:27:44 +10:00
dragonpilot fc8a6fb9bd Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-20 12:47:19 +10:00
dragonpilot 41b466e34a Merge branch 'devel-en' into devel-zht 2019-08-19 16:50:30 +10:00
dragonpilot 0fd0e6219f Merge branch 'devel-en' into devel-zht 2019-08-19 15:26:31 +10:00
dragonpilot 901bb726ed 讓tomtom/autonavi 在起動時自動啟動,熄火時自動關閉 2019-08-19 15:18:53 +10:00
dragonpilot a037825934 Merge branch 'devel-en' into devel-zht 2019-08-19 14:26:52 +10:00
dragonpilot ed3c3d08c8 Merge branch 'devel-en' into devel-zht 2019-08-19 12:49:31 +10:00
dragonpilot 5450405875 semibold 字型改 medium 2019-08-19 12:45:12 +10:00
dragonpilot 96fd81b6dd Merge branch 'devel-en' into devel-zht 2019-08-19 12:26:20 +10:00
dragonpilot 9c119858e6 Merge branch 'devel-en' into devel-zht 2019-08-19 12:12:24 +10:00
dragonpilot f08a21821a 更新APK 2019-08-19 11:57:12 +10:00
dragonpilot 82beac2773 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.frame.apk
#	apk/ai.comma.plus.offroad.apk
2019-08-19 11:55:08 +10:00
dragonpilot 53f0769bc1 Merge branch 'devel-en' into devel-zht 2019-08-19 10:31:25 +10:00
dragonpilot b72416df91 Merge branch 'devel-en' into devel-zht 2019-08-15 17:16:52 +10:00
dragonpilot 18ca040023 更新APK 2019-08-15 16:43:39 +10:00
dragonpilot 83c1bd1b1a 介面翻譯 2019-08-15 16:15:34 +10:00
dragonpilot 9cfc7160b5 Merge branch 'devel-en' into devel-zht 2019-08-15 15:38:39 +10:00
dragonpilot bceaea130e 更新預設語系 2019-08-15 15:16:50 +10:00
dragonpilot b7753e0fff Merge branch 'devel-en' into devel-zht 2019-08-15 15:16:27 +10:00
dragonpilot 8b7d601637 Merge branch 'devel-en' into devel-zht 2019-08-14 14:00:19 +10:00
dragonpilot 42f31523ed 更新APK 2019-08-14 12:10:32 +10:00
dragonpilot de86c4cc62 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	selfdrive/manager.py
2019-08-14 12:07:30 +10:00
dragonpilot a95d0ee8f1 在 frame 之後再開啟 tomtom/autonavi 2019-08-14 12:01:00 +10:00
dragonpilot 75325a0266 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-14 11:54:57 +10:00
dragonpilot b022dde0b8 Merge branch 'devel-en' into devel-zht 2019-08-14 11:01:50 +10:00
dragonpilot 70c6d56258 更新APK 2019-08-13 17:09:32 +10:00
dragonpilot a0539281a7 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-13 17:07:05 +10:00
dragonpilot 4a6c682b54 更新APK 2019-08-12 23:20:11 +10:00
dragonpilot 6694d4b8f4 fix conflict 2019-08-12 23:17:26 +10:00
dragonpilot ce4d9b1179 Merge branch 'devel-en' into devel-zht 2019-08-11 02:08:13 +10:00
dragonpilot f527b82632 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	selfdrive/car/car_helpers.py
2019-08-06 15:46:48 +10:00
Dragonpilot eb73df9d54 更新指紋暫存 logic, 寄指紋至 sentry 2019-08-02 09:11:01 +10:00
Dragonpilot fe548a1b8d Merge branch 'devel-en' into devel-zht 2019-08-02 08:54:11 +10:00
Dragonpilot e2e657d95b 修正翻譯 2019-08-01 16:20:08 +10:00
Dragonpilot fec395cc01 更新 APK 2019-08-01 12:07:27 +10:00
Dragonpilot 8a477d1ba5 更新 APK 2019-08-01 11:58:12 +10:00
Dragonpilot 44e503dde2 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-08-01 11:46:08 +10:00
dragonpilot e8e55e7083 Merge branch 'devel-en' into devel-zht 2019-07-31 23:22:46 +10:00
Dragonpilot a4be7514d8 更新 APK 2019-07-31 15:52:43 +10:00
Dragonpilot 3fdc1ae3ae Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-31 15:51:10 +10:00
Dragonpilot 8763450529 更新 APK 2019-07-31 11:37:44 +10:00
Dragonpilot a9c8e64455 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-31 11:33:05 +10:00
Dragonpilot 6a069f16ce Merge branch 'devel-en' into devel-zht 2019-07-29 15:05:00 +10:00
Dragonpilot 10c56ea0d7 Merge branch 'devel-en' into devel-zht 2019-07-29 14:09:58 +10:00
Dragonpilot 2133830e8c 更新 APK 2019-07-29 14:05:05 +10:00
Dragonpilot bdfaa87837 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-29 14:03:43 +10:00
Dragonpilot e92209ce1d Merge branch 'devel-en' into devel-zht 2019-07-29 10:40:04 +10:00
dragonpilot 64e92848c7 Merge branch 'devel-en' into devel-zht 2019-07-28 10:23:09 +10:00
Dragonpilot 94103e3cb2 更新 APK 2019-07-26 15:27:27 +10:00
Dragonpilot 00ee1ff666 更新 APK 2019-07-26 15:15:43 +10:00
Dragonpilot ead5cb7d15 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-26 15:02:44 +10:00
Dragonpilot 042efada91 Merge branch 'devel-en' into devel-zht 2019-07-26 12:03:47 +10:00
dragonpilot 9c9b709e62 更新 APK 2019-07-25 22:24:48 +10:00
dragonpilot 007bf14639 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-25 22:23:34 +10:00
dragonpilot 2334cb5898 Merge branch 'devel-en' into devel-zht 2019-07-24 00:29:50 +10:00
Dragonpilot 9e89f5c60b Merge branch 'devel-en' into devel-zht 2019-07-23 15:52:25 +10:00
Dragonpilot 0a579ec35c Merge branch 'devel-en' into devel-zht 2019-07-23 15:41:11 +10:00
Dragonpilot 48c079e98d 更新 APK 2019-07-23 12:32:56 +10:00
Dragonpilot 8af74aa9fa Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-23 12:31:20 +10:00
Dragonpilot 32081799cf 更新 APK 2019-07-23 11:18:27 +10:00
Dragonpilot 4e73f70e47 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-23 11:06:32 +10:00
Dragonpilot 8979aebf77 Merge branch 'devel-en' into devel-zht 2019-07-22 16:38:03 +10:00
Dragonpilot ac77d0d8cc 更新 APK 2019-07-22 16:33:35 +10:00
Dragonpilot 8eaa60e6bd Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-22 16:31:20 +10:00
Dragonpilot bbd7b3a37c Merge branch 'devel-en' into devel-zht 2019-07-16 15:25:48 +10:00
Dragonpilot e220f7e316 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-16 11:35:22 +10:00
Dragonpilot cf7a0dd77a 更新 APK 2019-07-15 11:47:02 +10:00
Dragonpilot 4fe2e7179b 更新 APK 2019-07-15 11:37:47 +10:00
Dragonpilot 167d216edb Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-15 11:36:56 +10:00
dragonpilot 7a7b9fd38a Merge branch 'devel-en' into devel-zht 2019-07-13 22:47:36 +10:00
dragonpilot 2e8d84555e Merge branch 'devel-en' into devel-zht 2019-07-13 22:38:34 +10:00
dragonpilot 46caedb19e Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-12 21:13:04 +10:00
dragonpilot 464a755416 Merge branch 'devel-en' into devel-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-12 20:24:30 +10:00
Dragonpilot 215dbe3134 更新 APK 2019-07-12 13:50:57 +10:00
Dragonpilot b088acf167 更新 APK 2019-07-12 13:35:23 +10:00
Dragonpilot ea081bd910 Merge branch 'dragonpilot-dev-en' into dragonpilot-dev-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-12 13:35:12 +10:00
Dragonpilot c2622e7013 更新 APK 2019-07-12 12:09:51 +10:00
Dragonpilot 14d2a5837b Merge branch 'dragonpilot-dev-en' into dragonpilot-dev-zht 2019-07-12 12:08:48 +10:00
Dragonpilot c620ec8103 翻譯 2019-07-12 12:03:46 +10:00
Dragonpilot 52e5d5048e Merge branch 'dragonpilot-dev-en' of https://github.com/dragonpilot/dragonpilot-dev into dragonpilot-dev-zht 2019-07-12 12:01:45 +10:00
Dragonpilot 678cc85b90 Merge branch 'dragonpilot-dev-en' into dragonpilot-dev-zht 2019-07-11 10:58:17 +10:00
Rick Lan 98847efe34 更新 APK 2019-07-10 16:38:57 +10:00
Rick Lan 2d09e9dc0a Merge branch 'dragonpilot-dev' into dragonpilot-dev-zht
# Conflicts:
#	apk/ai.comma.plus.offroad.apk
2019-07-10 16:32:38 +10:00
Rick Lan 71f07b2c78 調整空格 2019-07-04 14:09:44 +10:00
Rick Lan e0a3becdf2 加入更多的錯誤訊息 2019-07-04 14:08:20 +10:00
Rick Lan ed3336340b 加入 commIssueNoEntry 錯誤訊息 2019-07-04 14:00:13 +10:00
dragonpilot de44c1c27e Merge pull request #2 from eFiniLan/dragonpilot-dev-zht
加入繁體中文翻譯
2019-07-03 15:12:19 +10:00
Rick Lan e5c536f470 Merge branch 'dragonpilot-dev' of https://github.com/dragonpilot/dragonpilot into dragonpilot-dev-zht 2019-07-03 15:10:46 +10:00
Rick Lan 65adaa15f0 加入繁體中文翻譯 2019-07-03 14:54:41 +10:00
15 changed files with 265 additions and 266 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -31,7 +31,7 @@
# Android system locale, zh-TW = Traditional Chinese, zh-CN = Simplified Chinese
#lang=en
lang=zh-TW
update_font=0
remove_old_font=0
@@ -67,5 +67,5 @@ if [ $update_font -eq "1" ] || [ $remove_old_font -eq "1" ]; then
# change system locale
fi
#setprop persist.sys.locale $lang
#setprop persist.sys.local $lang
setprop persist.sys.locale $lang
setprop persist.sys.local $lang
+6 -6
View File
@@ -31,9 +31,9 @@ FRAMEBUFFER_LIBS = -lutils -lgui -lEGL
.PHONY: all
all: updater
OBJS = opensans_regular.ttf.o \
opensans_semibold.ttf.o \
opensans_bold.ttf.o \
OBJS = NotoSansCJKtc-Regular.otf.o \
NotoSansCJKtc-Medium.otf.o \
NotoSansCJKtc-Bold.otf.o \
../../selfdrive/common/touch.o \
../../selfdrive/common/framebuffer.o \
$(PHONELIBS)/json11/json11.o \
@@ -52,15 +52,15 @@ updater: updater.o $(OBJS)
-lcutils -lm -llog
strip updater
opensans_regular.ttf.o: ../../selfdrive/assets/fonts/opensans_regular.ttf
NotoSansCJKtc-Regular.otf.o: ../../selfdrive/assets/fonts/NotoSansCJKtc-Regular.otf
@echo "[ bin2o ] $@"
cd '$(dir $<)' && ld -r -b binary '$(notdir $<)' -o '$(abspath $@)'
opensans_bold.ttf.o: ../../selfdrive/assets/fonts/opensans_bold.ttf
NotoSansCJKtc-Bold.otf.o: ../../selfdrive/assets/fonts/NotoSansCJKtc-Bold.otf
@echo "[ bin2o ] $@"
cd '$(dir $<)' && ld -r -b binary '$(notdir $<)' -o '$(abspath $@)'
opensans_semibold.ttf.o: ../../selfdrive/assets/fonts/opensans_semibold.ttf
NotoSansCJKtc-Medium.otf.o: ../../selfdrive/assets/fonts/NotoSansCJKtc-Medium.otf
@echo "[ bin2o ] $@"
cd '$(dir $<)' && ld -r -b binary '$(notdir $<)' -o '$(abspath $@)'
Binary file not shown.
+37 -37
View File
@@ -43,12 +43,12 @@ const char *manifest_url = MANIFEST_URL_EON;
#define UPDATE_DIR "/data/neoupdate"
extern const uint8_t bin_opensans_regular[] asm("_binary_opensans_regular_ttf_start");
extern const uint8_t bin_opensans_regular_end[] asm("_binary_opensans_regular_ttf_end");
extern const uint8_t bin_opensans_semibold[] asm("_binary_opensans_semibold_ttf_start");
extern const uint8_t bin_opensans_semibold_end[] asm("_binary_opensans_semibold_ttf_end");
extern const uint8_t bin_opensans_bold[] asm("_binary_opensans_bold_ttf_start");
extern const uint8_t bin_opensans_bold_end[] asm("_binary_opensans_bold_ttf_end");
extern const uint8_t bin_opensans_regular[] asm("_binary_NotoSansCJKtc_Regular_otf_start");
extern const uint8_t bin_opensans_regular_end[] asm("_binary_NotoSansCJKtc_Regular_otf_end");
extern const uint8_t bin_opensans_semibold[] asm("_binary_NotoSansCJKtc_Medium_otf_start");
extern const uint8_t bin_opensans_semibold_end[] asm("_binary_NotoSansCJKtc_Medium_otf_end");
extern const uint8_t bin_opensans_bold[] asm("_binary_NotoSansCJKtc_Bold_otf_start");
extern const uint8_t bin_opensans_bold_end[] asm("_binary_NotoSansCJKtc_Bold_otf_end");
namespace {
@@ -322,18 +322,18 @@ struct Updater {
std::string stage_download(std::string url, std::string hash, std::string name) {
std::string out_fn = UPDATE_DIR "/" + util::base_name(url);
set_progress("Downloading " + name + "...");
set_progress("下載 " + name + " 中...");
bool r = download_file(url, out_fn);
if (!r) {
set_error("failed to download " + name);
set_error("無法下載 " + name);
return "";
}
set_progress("Verifying " + name + "...");
set_progress("驗證 " + name + " 中...");
std::string fn_hash = sha256_file(out_fn);
printf("got %s hash: %s\n", name.c_str(), hash.c_str());
printf("得到 %s hash: %s\n", name.c_str(), hash.c_str());
if (fn_hash != hash) {
set_error(name + " was corrupt");
set_error(name + " 已損壞");
unlink(out_fn.c_str());
return "";
}
@@ -357,7 +357,7 @@ struct Updater {
}
if (!check_space()) {
set_error("2GB of free space required to update");
set_error("您需要至少 2GB 的空間進行升級");
return;
}
@@ -365,7 +365,7 @@ struct Updater {
const int EON = (access("/EON", F_OK) != -1);
set_progress("Finding latest version...");
set_progress("尋找最新的版本...");
std::string manifest_s;
if (EON) {
manifest_s = download_string(curl, manifest_url);
@@ -374,12 +374,12 @@ struct Updater {
exit(0);
}
printf("manifest: %s\n", manifest_s.c_str());
printf("宣示說明: %s\n", manifest_s.c_str());
std::string err;
auto manifest = json11::Json::parse(manifest_s, err);
if (manifest.is_null() || !err.empty()) {
set_error("failed to load update manifest");
set_error("無法載入新的宣示說明");
return;
}
@@ -394,7 +394,7 @@ struct Updater {
// std::string installer_hash = manifest["installer_hash"].string_value();
if (ota_url.empty() || ota_hash.empty()) {
set_error("invalid update manifest");
set_error("錯誤的宣示說明");
return;
}
@@ -406,12 +406,12 @@ struct Updater {
std::string recovery_fn;
if (recovery_url.empty() || recovery_hash.empty() || recovery_len == 0) {
set_progress("Skipping recovery flash...");
set_progress("跳過 recovery 更新...");
} else {
// only download the recovery if it differs from what's flashed
set_progress("Checking recovery...");
set_progress("檢查 recovery...");
std::string existing_recovery_hash = sha256_file(RECOVERY_DEV, recovery_len);
printf("existing recovery hash: %s\n", existing_recovery_hash.c_str());
printf("目前 recovery hash: %s\n", existing_recovery_hash.c_str());
if (existing_recovery_hash != recovery_hash) {
recovery_fn = stage_download(recovery_url, recovery_hash, "recovery");
@@ -441,18 +441,18 @@ struct Updater {
if (!recovery_fn.empty()) {
// flash recovery
set_progress("Flashing recovery...");
set_progress("刷新 recovery...");
FILE *flash_file = fopen(recovery_fn.c_str(), "rb");
if (!flash_file) {
set_error("failed to flash recovery");
set_error("刷新 recovery 失敗");
return;
}
FILE *recovery_dev = fopen(RECOVERY_DEV, "w+b");
if (!recovery_dev) {
fclose(flash_file);
set_error("failed to flash recovery");
set_error("刷新 recovery 失敗");
return;
}
@@ -467,7 +467,7 @@ struct Updater {
if (bytes_read != bytes_written) {
fclose(recovery_dev);
fclose(flash_file);
set_error("failed to flash recovery: write failed");
set_error("刷新 recovery 失敗: 無法寫入");
return;
}
}
@@ -475,12 +475,12 @@ struct Updater {
fclose(recovery_dev);
fclose(flash_file);
set_progress("Verifying flash...");
set_progress("驗證新的 recovery...");
std::string new_recovery_hash = sha256_file(RECOVERY_DEV, recovery_len);
printf("new recovery hash: %s\n", new_recovery_hash.c_str());
printf("新的 recovery hash: %s\n", new_recovery_hash.c_str());
if (new_recovery_hash != recovery_hash) {
set_error("recovery flash corrupted");
set_error("刷新 recovery 失敗");
return;
}
@@ -489,13 +489,13 @@ struct Updater {
// write arguments to recovery
FILE *cmd_file = fopen(RECOVERY_COMMAND, "wb");
if (!cmd_file) {
set_error("failed to reboot into recovery");
set_error("無法重啟至 recovery");
return;
}
fprintf(cmd_file, "--update_package=%s\n", ota_fn.c_str());
fclose(cmd_file);
set_progress("Rebooting");
set_progress("重新啟動");
// remove the continue.sh so we come back into the setup.
// maybe we should go directly into the installer, but what if we don't come back with internet? :/
@@ -562,9 +562,9 @@ struct Updater {
}
void draw_battery_screen() {
low_battery_title = "Low Battery";
low_battery_text = "Please connect EON to your charger. Update will continue once EON battery reaches 35%.";
low_battery_context = "Current battery charge: " + battery_cap_text + "%";
low_battery_title = "電量過低";
low_battery_text = "請將您的 EON 充電。當電量達到 35% 時系統將會繼續更新。";
low_battery_context = "目前的電量為: " + battery_cap_text + "%";
nvgFillColor(vg, nvgRGBA(255,255,255,255));
nvgTextAlign(vg, NVG_ALIGN_CENTER | NVG_ALIGN_BASELINE);
@@ -601,7 +601,7 @@ struct Updater {
int powerprompt_y = 312;
nvgFontFace(vg, "opensans_regular");
nvgFontSize(vg, 64.0f);
nvgText(vg, fb_w/2, 740, "Ensure EON is connected to power.", NULL);
nvgText(vg, fb_w/2, 740, "請確保您的 EON 已接上充電器。", NULL);
NVGpaint paint = nvgBoxGradient(
vg, progress_x + 1, progress_y + 1,
@@ -635,10 +635,10 @@ struct Updater {
switch (state) {
case CONFIRMATION:
draw_ack_screen("An update to NEOS is required.",
"Your device will now be reset and upgraded. You may want to connect to wifi as download is around 1 GB. Existing data on device should not be lost.",
"Continue",
"Connect to WiFi");
draw_ack_screen("NEOS 需要更新。",
"您的設備將在點擊繼續後開始更新。\n更新檔約為 1GB 我們建議您先連接至無線網路。\n設備上現有的檔案不會丟失。",
"繼續",
"連線至無線網路");
break;
case LOW_BATTERY:
draw_battery_screen();
@@ -647,7 +647,7 @@ struct Updater {
draw_progress_screen();
break;
case ERROR:
draw_ack_screen("There was an error", (error_text).c_str(), NULL, "Reboot");
draw_ack_screen("發生錯誤", (error_text).c_str(), NULL, "重新啟動");
break;
}
+197 -198
View File
@@ -77,99 +77,99 @@ ALERTS = [
Alert(
"fcw",
"BRAKE!",
"Risk of Collision",
"剎車!",
"有碰撞的風險",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.fcw, AudibleAlert.chimeWarningRepeat, 1., 2., 2.),
Alert(
"fcwStock",
"BRAKE!",
"Risk of Collision",
"馬上剎車!",
"有碰撞風險",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.fcw, AudibleAlert.none, 1., 2., 2.), # no EON chime for stock FCW
Alert(
"steerSaturated",
"TAKE CONTROL",
"Turn Exceeds Steering Limit",
"接管控制",
"彎道超過方向盤轉向限制",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimePrompt, 1., 2., 3.),
Alert(
"steerTempUnavailable",
"TAKE CONTROL",
"Steering Temporarily Unavailable",
"接管控制",
"轉向控制暫時失效",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning1, .4, 2., 3.),
Alert(
"steerTempUnavailableMute",
"TAKE CONTROL",
"Steering Temporarily Unavailable",
"接管控制",
"轉向控制暫時失效",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .2, .2, .2),
Alert(
"preDriverDistracted",
"KEEP EYES ON ROAD: Driver Appears Distracted",
"注意路況:駕駛分心",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1, alert_rate=0.75),
Alert(
"promptDriverDistracted",
"KEEP EYES ON ROAD",
"Driver Appears Distracted",
"注意路況",
"駕駛分心",
AlertStatus.userPrompt, AlertSize.mid,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1),
Alert(
"driverDistracted",
"DISENGAGE IMMEDIATELY",
"Driver Was Distracted",
"立即解除",
"駕駛分心",
AlertStatus.critical, AlertSize.full,
Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1),
Alert(
"preDriverUnresponsive",
"TOUCH STEERING WHEEL: No Face Detected",
"請觸碰方向盤:無駕駛監控",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1, alert_rate=0.75),
Alert(
"promptDriverUnresponsive",
"TOUCH STEERING WHEEL",
"Driver Is Unresponsive",
"請觸碰方向盤",
"駕駛沒有反應",
AlertStatus.userPrompt, AlertSize.mid,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1),
Alert(
"driverUnresponsive",
"DISENGAGE IMMEDIATELY",
"Driver Was Unresponsive",
"立即解除",
"駕駛沒有反應",
AlertStatus.critical, AlertSize.full,
Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1),
Alert(
"driverMonitorLowAcc",
"CHECK DRIVER FACE VISIBILITY",
"Driver Monitor Model Output Uncertain",
"請檢查駕駛面部的可見度",
"駕駛監控模型輸出不明確",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .4, 0., 1.),
Alert(
"geofence",
"DISENGAGEMENT REQUIRED",
"Not in Geofenced Area",
"不在地理圍欄區域之內",
AlertStatus.userPrompt, AlertSize.mid,
Priority.HIGH, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, .1, .1),
Alert(
"startup",
"Be ready to take over at any time",
"Always keep hands on wheel and eyes on road",
"隨時準備好接管",
"請您將手放在方向盤上並持續注意路況",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
@@ -182,50 +182,50 @@ ALERTS = [
Alert(
"startupNoControl",
"Dashcam mode",
"Always keep hands on wheel and eyes on road",
"行車記錄模式",
"請您將手放在方向盤上並持續注意路況",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
Alert(
"startupNoCar",
"Dashcam mode with unsupported car",
"Always keep hands on wheel and eyes on road",
"行車記錄模式 (尚未支援車種)",
"請您將手放在方向盤上並持續注意路況",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., 15.),
Alert(
"ethicalDilemma",
"TAKE CONTROL IMMEDIATELY",
"即刻接管控制",
"Ethical Dilemma Detected",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 1., 3., 3.),
Alert(
"steerTempUnavailableNoEntry",
"openpilot Unavailable",
"Steering Temporarily Unavailable",
"無法使用 dragonpilot",
"轉向控制暫時失效",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 0., 3.),
Alert(
"manualRestart",
"TAKE CONTROL",
"Resume Driving Manually",
"接管控制",
"請自行恢復駕駛",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"resumeRequired",
"STOPPED",
"Press Resume to Move",
"已停止",
"請按 RES 繼續",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"belowSteerSpeed",
"TAKE CONTROL",
"Steer Unavailable Below ",
"接管控制",
"轉向控制暫時失效,車速低於 ",
AlertStatus.userPrompt, AlertSize.mid,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.none, 0., 0.4, .3),
@@ -237,539 +237,539 @@ ALERTS = [
Priority.LOW, VisualAlert.none, AudibleAlert.none, .1, .1, .1),
Alert(
"preLaneChangeLeft",
"Steer Left to Start Lane Change",
"Monitor Other Vehicles",
"請往左打方向盤切換車道",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1, alert_rate=0.75),
Alert(
"preLaneChangeRight",
"Steer Right to Start Lane Change",
"Monitor Other Vehicles",
"請往右打方向盤切換車道",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1, alert_rate=0.75),
Alert(
"laneChange",
"Changing Lane",
"Monitor Other Vehicles",
"切換車道中",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.none, .0, .1, .1),
Alert(
"posenetInvalid",
"TAKE CONTROL",
"Vision Model Output Uncertain",
"接管控制",
"視覺模型輸出不明確",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning1, .4, 2., 3.),
# Non-entry only alerts
Alert(
"wrongCarModeNoEntry",
"openpilot Unavailable",
"Main Switch Off",
"無法使用 dragonpilot",
"主開關關閉",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 0., 3.),
Alert(
"dataNeededNoEntry",
"openpilot Unavailable",
"Data Needed for Calibration. Upload Drive, Try Again",
"無法使用 dragonpilot",
"需要更多的數據來協助校準,請將行車記錄上傳後再試",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 0., 3.),
Alert(
"outOfSpaceNoEntry",
"openpilot Unavailable",
"Out of Storage Space",
"無法使用 dragonpilot",
"儲存空間不足",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 0., 3.),
Alert(
"pedalPressedNoEntry",
"openpilot Unavailable",
"無法使用 dragonpilot",
"Pedal Pressed During Attempt",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, "brakePressed", AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"speedTooLowNoEntry",
"openpilot Unavailable",
"Speed Too Low",
"無法使用 dragonpilot",
"車速過慢",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"brakeHoldNoEntry",
"openpilot Unavailable",
"Brake Hold Active",
"無法使用 dragonpilot",
"駐車煞車已啟用",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"parkBrakeNoEntry",
"openpilot Unavailable",
"Park Brake Engaged",
"無法使用 dragonpilot",
"電子駐車已啟動",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"lowSpeedLockoutNoEntry",
"openpilot Unavailable",
"Cruise Fault: Restart the Car",
"無法使用 dragonpilot",
"巡航系統錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"lowBatteryNoEntry",
"openpilot Unavailable",
"Low Battery",
"無法使用 dragonpilot",
"電池電量過低",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"sensorDataInvalidNoEntry",
"openpilot Unavailable",
"No Data from Device Sensors",
"無法使用 dragonpilot",
"沒有收到任何來自裝置傳感器的資料",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"soundsUnavailableNoEntry",
"openpilot Unavailable",
"Speaker not found",
"無法使用 dragonpilot",
"找不到音效裝置",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"tooDistractedNoEntry",
"openpilot Unavailable",
"Distraction Level Too High",
"無法使用 dragonpilot",
"駕駛分心次數過高",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
# Cancellation alerts causing soft disabling
Alert(
"overheat",
"TAKE CONTROL IMMEDIATELY",
"System Overheated",
"即刻接管控制",
"系統過熱",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"wrongGear",
"TAKE CONTROL IMMEDIATELY",
"Gear not D",
"即刻接管控制",
"檔位不在 D 檔",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"calibrationInvalid",
"TAKE CONTROL IMMEDIATELY",
"Calibration Invalid: Reposition Device and Recalibrate",
"即刻接管控制",
"校準無效:請將裝置放於新的位置並重新校準",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"calibrationIncomplete",
"TAKE CONTROL IMMEDIATELY",
"Calibration in Progress",
"即刻接管控制",
"正在校準相機中",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"doorOpen",
"TAKE CONTROL IMMEDIATELY",
"Door Open",
"即刻接管控制",
"車門開啟",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"seatbeltNotLatched",
"TAKE CONTROL IMMEDIATELY",
"Seatbelt Unlatched",
"即刻接管控制",
"安全帶未繫",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"espDisabled",
"TAKE CONTROL IMMEDIATELY",
"ESP Off",
"即刻接管控制",
"ESP 關閉",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"lowBattery",
"TAKE CONTROL IMMEDIATELY",
"Low Battery",
"即刻接管控制",
"電池電量過低",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"commIssue",
"TAKE CONTROL IMMEDIATELY",
"Communication Issue between Processes",
"即刻接管控制",
"雷達訊號錯誤:請重新發動車子",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"radarCommIssue",
"TAKE CONTROL IMMEDIATELY",
"Radar Communication Issue",
"即刻接管控制",
"雷達通訊出現問題",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"radarCanError",
"TAKE CONTROL IMMEDIATELY",
"Radar Error: Restart the Car",
"即刻接管控制",
"雷達訊號錯誤:請重新發動車子",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"radarFault",
"TAKE CONTROL IMMEDIATELY",
"Radar Error: Restart the Car",
"即刻接管控制",
"AI 模型錯誤:請檢查網路連線",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
Alert(
"lowMemory",
"TAKE CONTROL IMMEDIATELY",
"Low Memory: Reboot Your Device",
"即刻接管控制",
"記憶體不足:請重啟您的裝置",
AlertStatus.critical, AlertSize.full,
Priority.MID, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, .1, 2., 2.),
# Cancellation alerts causing immediate disabling
Alert(
"controlsFailed",
"TAKE CONTROL IMMEDIATELY",
"Controls Failed",
"即刻接管控制",
"控制發生錯誤",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"controlsMismatch",
"TAKE CONTROL IMMEDIATELY",
"Controls Mismatch",
"即刻接管控制",
"控制不匹配",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"canError",
"TAKE CONTROL IMMEDIATELY",
"CAN Error: Check Connections",
"即刻接管控制",
"CAN 訊號錯誤:請檢查接線",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"steerUnavailable",
"TAKE CONTROL IMMEDIATELY",
"LKAS Fault: Restart the Car",
"即刻接管控制",
"LKAS 錯誤:請重新發動車子",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"brakeUnavailable",
"TAKE CONTROL IMMEDIATELY",
"Cruise Fault: Restart the Car",
"即刻接管控制",
"巡航系統錯誤:請重新發動車子",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"gasUnavailable",
"TAKE CONTROL IMMEDIATELY",
"Gas Fault: Restart the Car",
"即刻接管控制",
"油門錯誤:請重新發動車子",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"reverseGear",
"TAKE CONTROL IMMEDIATELY",
"Reverse Gear",
"即刻接管控制",
"切換至倒車檔",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"cruiseDisabled",
"TAKE CONTROL IMMEDIATELY",
"Cruise Is Off",
"即刻接管控制",
"巡航系統關閉",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
Alert(
"plannerError",
"TAKE CONTROL IMMEDIATELY",
"Planner Solution Error",
"即刻接管控制",
"Planner Solution 錯誤",
AlertStatus.critical, AlertSize.full,
Priority.HIGHEST, VisualAlert.steerRequired, AudibleAlert.chimeWarningRepeat, 2.2, 3., 4.),
# not loud cancellations (user is in control)
Alert(
"noTarget",
"openpilot Canceled",
"No close lead car",
"dragonpilot 已取消",
"沒有偵測到前車",
AlertStatus.normal, AlertSize.mid,
Priority.HIGH, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
Alert(
"speedTooLow",
"openpilot Canceled",
"Speed too low",
"dragonpilot 已取消",
"車速過慢",
AlertStatus.normal, AlertSize.mid,
Priority.HIGH, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
# Cancellation alerts causing non-entry
Alert(
"overheatNoEntry",
"openpilot Unavailable",
"System overheated",
"無法使用 dragonpilot",
"系統過熱",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"wrongGearNoEntry",
"openpilot Unavailable",
"Gear not D",
"無法使用 dragonpilot",
"車子不在 D 檔",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"calibrationInvalidNoEntry",
"openpilot Unavailable",
"Calibration Invalid: Reposition Device and Recalibrate",
"無法使用 dragonpilot",
"校準無效:請將裝置放於新的位置並重新校準",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"calibrationIncompleteNoEntry",
"openpilot Unavailable",
"Calibration in Progress",
"無法使用 dragonpilot",
"正在校準相機中",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"doorOpenNoEntry",
"openpilot Unavailable",
"Door open",
"無法使用 dragonpilot",
"車門未關",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"seatbeltNotLatchedNoEntry",
"openpilot Unavailable",
"Seatbelt unlatched",
"無法使用 dragonpilot",
"安全帶未繫",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"espDisabledNoEntry",
"openpilot Unavailable",
"ESP Off",
"無法使用 dragonpilot",
"ESP 關閉",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"geofenceNoEntry",
"openpilot Unavailable",
"Not in Geofenced Area",
"無法使用 dragonpilot",
"不在地理圍欄區域之內",
AlertStatus.normal, AlertSize.mid,
Priority.MID, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"radarCanErrorNoEntry",
"openpilot Unavailable",
"Radar Error: Restart the Car",
"無法使用 dragonpilot",
"雷達訊號錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"radarFaultNoEntry",
"openpilot Unavailable",
"Radar Error: Restart the Car",
"無法使用 dragonpilot",
"雷達訊號錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"posenetInvalidNoEntry",
"openpilot Unavailable",
"Vision Model Output Uncertain",
"無法使用 dragonpilot",
"視覺模型輸出不明確",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"controlsFailedNoEntry",
"openpilot Unavailable",
"Controls Failed",
"無法使用 dragonpilot",
"控制發生錯誤",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"canErrorNoEntry",
"openpilot Unavailable",
"CAN Error: Check Connections",
"無法使用 dragonpilot",
"CAN 訊號錯誤:請檢查接線",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"steerUnavailableNoEntry",
"openpilot Unavailable",
"LKAS Fault: Restart the Car",
"無法使用 dragonpilot",
"LKAS 錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"brakeUnavailableNoEntry",
"openpilot Unavailable",
"Cruise Fault: Restart the Car",
"無法使用 dragonpilot",
"巡航系統錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"gasUnavailableNoEntry",
"openpilot Unavailable",
"Gas Error: Restart the Car",
"無法使用 dragonpilot",
"油門錯誤:請重新發動車子",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"reverseGearNoEntry",
"openpilot Unavailable",
"Reverse Gear",
"無法使用 dragonpilot",
"切換至倒車檔",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"cruiseDisabledNoEntry",
"openpilot Unavailable",
"Cruise is Off",
"無法使用 dragonpilot",
"巡航系統關閉",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"noTargetNoEntry",
"openpilot Unavailable",
"No Close Lead Car",
"無法使用 dragonpilot",
"沒有偵測到前車",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"plannerErrorNoEntry",
"openpilot Unavailable",
"Planner Solution Error",
"無法使用 dragonpilot",
"Planner Solution 錯誤",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeError, .4, 2., 3.),
Alert(
"commIssueNoEntry",
"openpilot Unavailable",
"Communication Issue between Processes",
"無法使用 dragonpilot",
"行程出現通訊問題",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
Alert(
"radarCommIssueNoEntry",
"openpilot Unavailable",
"Radar Communication Issue",
"無法使用 dragonpilot",
"雷達通訊出現問題",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
Alert(
"internetConnectivityNeededNoEntry",
"openpilot Unavailable",
"Please Connect to Internet",
"無法使用 dragonpilot",
"請連接網路",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
Alert(
"lowMemoryNoEntry",
"openpilot Unavailable",
"Low Memory: Reboot Your Device",
"無法使用 dragonpilot",
"記憶體不足:請重啟您的裝置",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.chimeDisengage, .4, 2., 3.),
# permanent alerts
Alert(
"steerUnavailablePermanent",
"LKAS Fault: Restart the car to engage",
"LKAS 錯誤:請重新發動車子",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"brakeUnavailablePermanent",
"Cruise Fault: Restart the car to engage",
"巡航系統錯誤:請重新發動車子",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"lowSpeedLockoutPermanent",
"Cruise Fault: Restart the car to engage",
"巡航系統錯誤:請重新發動車子",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"calibrationIncompletePermanent",
"Calibration in Progress: ",
"Drive Above ",
"正在校準相機中:",
"車速請高於 ",
AlertStatus.normal, AlertSize.mid,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"invalidGiraffeToyotaPermanent",
"Unsupported Giraffe Configuration",
"Visit comma.ai/tg",
"未支援的 Giraffe 設置",
"請查閱 comma.ai/tg",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"internetConnectivityNeededPermanent",
"Please connect to Internet",
"An Update Check Is Required to Engage",
"請連接網路",
"需檢查更新後才能啟用",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"communityFeatureDisallowedPermanent",
"Community Feature Detected",
"Enable Community Features in Developer Settings",
"偵測到社群開發功能",
"請至開發人員設定裡啟用社群開發功能",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.none, AudibleAlert.none, 0., 0., .2), # LOW priority to overcome Cruise Error
Alert(
"sensorDataInvalidPermanent",
"No Data from Device Sensors",
"Reboot your Device",
"沒有收到任何來自 EON 傳感器的資料",
"請重啟您的裝置",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"soundsUnavailablePermanent",
"Speaker not found",
"Reboot your Device",
"找不到音效裝置",
"請重啟您的裝置",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"lowMemoryPermanent",
"RAM Critically Low",
"Reboot your Device",
"記憶體嚴重不足",
"請重啟您的裝置",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"carUnrecognizedPermanent",
"Dashcam Mode",
"Car Unrecognized",
"行車記錄模式",
"無法辨識您的車款",
AlertStatus.normal, AlertSize.mid,
Priority.LOWER, VisualAlert.none, AudibleAlert.none, 0., 0., .2),
Alert(
"vehicleModelInvalid",
"Vehicle Parameter Identification Failed",
"車子參數識別失敗",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOWEST, VisualAlert.steerRequired, AudibleAlert.none, .0, .0, .1),
@@ -777,55 +777,54 @@ ALERTS = [
# offroad alerts
Alert(
"ldwPermanent",
"TAKE CONTROL",
"Lane Departure Detected",
"接管控制",
"偵測到已偏離車道",
AlertStatus.userPrompt, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimePrompt, 1., 2., 3.),
# dragonpilot
Alert(
"manualSteeringRequired",
"STEERING REQUIRED: Lane Keeping OFF",
"請接管方向盤:車道維持關閉",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, .1, .1, alert_rate=0.25),
Alert(
"manualSteeringRequiredBlinkersOn",
"STEERING REQUIRED: Blinkers ON",
"請接管方向盤:方向燈開啟",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, .1, .1, alert_rate=0.25),
Alert(
"leadCarMoving",
"Lead Car Is Moving",
"前車移動中,請開始加速",
"",
AlertStatus.userPrompt, AlertSize.small,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1),
Alert(
"leadCarDetected",
"Lead Car Detected",
"偵測到前車,等待中",
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, .1, .1, alert_rate=0.25),
Alert(
"preAutoLaneChangeLeft",
"Left Auto Lane Change will engage in 3 seconds",
"Monitor Other Vehicles",
"將在三秒後自動切至左車道",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1, alert_rate=0.75),
Alert(
"preAutoLaneChangeRight",
"Right Auto Lane Change will engage in 3 seconds",
"Monitor Other Vehicles",
"將在三秒後自動切至右車道",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1, alert_rate=0.75),
Alert(
"autoLaneChange",
"Changing Lane",
"Monitor Other Vehicles",
"切換車道中",
"請注意其它車輛",
AlertStatus.normal, AlertSize.mid,
Priority.LOW, VisualAlert.steerRequired, AudibleAlert.chimeWarning2, .1, .1, .1),
]
+7 -7
View File
@@ -1,31 +1,31 @@
{
"Offroad_ChargeDisabled": {
"text": "EON charging disabled after car being off for more than 30 hours. Turn ignition on to start charging again.",
"text": "因車輛已熄火超過 30 小時,系統將會停止為 EON 充電,再次發動車輛後 EON 會恢復充電",
"severity": 0
},
"Offroad_TemperatureTooHigh": {
"text": "Device temperature too high. System won't start.",
"text": "裝置溫度過高,系統暫時無法啟用。",
"severity": 1
},
"Offroad_ConnectivityNeededPrompt": {
"text": "Immediately connect to the internet to check for updates. If you do not connect to the internet, openpilot won't engage in ",
"text": "目前 dragonpilot 無法啟用,請馬上連網檢查更新。",
"severity": 0,
"_comment": "Append the number of days at the end of the text"
},
"Offroad_ConnectivityNeeded": {
"text": "Connect to internet to check for updates. openpilot won't engage until it connects to internet to check for updates.",
"text": "請連網檢查更新。不然 dragonpilot 將無法啟用。",
"severity": 1
},
"Offroad_PandaFirmwareMismatch": {
"text": "Unexpected panda firmware version. System won't start. Reboot your device to reflash panda.",
"text": "Panda 的韌體版本出現異常,系統無法啟用。請重啟您的裝置以刷新 Panda 韌體。",
"severity": 1
},
"Offroad_InvalidTime": {
"text": "Invalid date and time settings, system won't start. Connect to internet to set time.",
"text": "系統日期/時間設定錯誤,系統無法啟用。請連上網設定的時間。",
"severity": 1
},
"Offroad_IsTakingSnapshot": {
"text": "Taking camera snapshots. System won't start until finished.",
"text": "相機拍攝中,完成前系統無法啟用。",
"severity": 0
}
}
+7 -7
View File
@@ -973,7 +973,7 @@ static void bb_ui_draw_measures_left(UIState *s, int bb_x, int bb_y, int bb_w )
snprintf(val_str, sizeof(val_str), "-");
}
snprintf(uom_str, sizeof(uom_str), "m ");
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "REL DIST",
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "相對距離",
bb_rx, bb_ry, bb_uom_dx,
val_color, lab_color, uom_color,
value_fontSize, label_fontSize, uom_fontSize );
@@ -1008,7 +1008,7 @@ static void bb_ui_draw_measures_left(UIState *s, int bb_x, int bb_y, int bb_w )
} else {
snprintf(uom_str, sizeof(uom_str), "mph");
}
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "REL SPEED",
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "相對速度",
bb_rx, bb_ry, bb_uom_dx,
val_color, lab_color, uom_color,
value_fontSize, label_fontSize, uom_fontSize );
@@ -1053,7 +1053,7 @@ static void bb_ui_draw_measures_right(UIState *s, int bb_x, int bb_y, int bb_w )
snprintf(val_str, sizeof(val_str), "%.1f°",(scene->angleSteers));
snprintf(uom_str, sizeof(uom_str), "");
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "REAL STEER",
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "實際轉角",
bb_rx, bb_ry, bb_uom_dx,
val_color, lab_color, uom_color,
value_fontSize, label_fontSize, uom_fontSize );
@@ -1077,7 +1077,7 @@ static void bb_ui_draw_measures_right(UIState *s, int bb_x, int bb_y, int bb_w )
snprintf(val_str, sizeof(val_str), "%.1f°",(scene->angleSteersDes));
snprintf(uom_str, sizeof(uom_str), "");
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "DESIR STEER",
bb_h +=bb_ui_draw_measure(s, val_str, uom_str, "所需轉角",
bb_rx, bb_ry, bb_uom_dx,
val_color, lab_color, uom_color,
value_fontSize, label_fontSize, uom_fontSize );
@@ -1342,11 +1342,11 @@ void ui_nvg_init(UIState *s) {
s->font_courbd = nvgCreateFont(s->vg, "courbd", "../assets/fonts/courbd.ttf");
assert(s->font_courbd >= 0);
s->font_sans_regular = nvgCreateFont(s->vg, "sans-regular", "../assets/fonts/opensans_regular.ttf");
s->font_sans_regular = nvgCreateFont(s->vg, "sans-regular", "../../dragonpilot/chinese-fonts/NotoSansCJKtc-Regular.otf");
assert(s->font_sans_regular >= 0);
s->font_sans_semibold = nvgCreateFont(s->vg, "sans-semibold", "../assets/fonts/opensans_semibold.ttf");
s->font_sans_semibold = nvgCreateFont(s->vg, "sans-semibold", "../../dragonpilot/chinese-fonts/NotoSansCJKtc-Medium.otf");
assert(s->font_sans_semibold >= 0);
s->font_sans_bold = nvgCreateFont(s->vg, "sans-bold", "../assets/fonts/opensans_bold.ttf");
s->font_sans_bold = nvgCreateFont(s->vg, "sans-bold", "../../dragonpilot/chinese-fonts/NotoSansCJKtc-Bold.otf");
assert(s->font_sans_bold >= 0);
assert(s->img_wheel >= 0);
+6 -6
View File
@@ -216,7 +216,7 @@ static void ui_draw_sidebar_storage_metric(UIState *s, bool hasSidebar) {
snprintf(storage_value_str, sizeof(storage_value_str), "%d", (int)storage_pct);
snprintf(storage_value_unit, sizeof(storage_value_unit), "%s", "%");
snprintf(storage_label_str, sizeof(storage_label_str), "%s", "STORAGE");
snprintf(storage_label_str, sizeof(storage_label_str), "%s", "儲存空間");
strcat(storage_value_str, storage_value_unit);
ui_draw_sidebar_metric(s, storage_label_str, storage_value_str, storage_severity, storage_y_offset, NULL, hasSidebar);
@@ -240,8 +240,8 @@ static void ui_draw_sidebar_temp_metric(UIState *s, bool hasSidebar) {
}
snprintf(temp_value_str, sizeof(temp_value_str), "%d", s->scene.paTemp);
snprintf(temp_value_unit, sizeof(temp_value_unit), "%s", "°C");
snprintf(temp_label_str, sizeof(temp_label_str), "%s", "TEMP");
snprintf(temp_value_unit, sizeof(temp_value_unit), "%s", "");
snprintf(temp_label_str, sizeof(temp_label_str), "%s", "溫度");
strcat(temp_value_str, temp_value_unit);
ui_draw_sidebar_metric(s, temp_label_str, temp_value_str, temp_severity, temp_y_offset, NULL, hasSidebar);
@@ -254,17 +254,17 @@ static void ui_draw_sidebar_panda_metric(UIState *s, bool hasSidebar) {
if (s->scene.hwType == cereal_HealthData_HwType_unknown) {
panda_severity = 2;
snprintf(panda_message_str, sizeof(panda_message_str), "%s", "NO PANDA");
snprintf(panda_message_str, sizeof(panda_message_str), "%s", " PANDA");
} else if (s->scene.hwType == cereal_HealthData_HwType_whitePanda) {
panda_severity = 0;
snprintf(panda_message_str, sizeof(panda_message_str), "%s", "PANDA\nACTIVE");
snprintf(panda_message_str, sizeof(panda_message_str), "%s", "PANDA\n已連接");
} else if (
(s->scene.hwType == cereal_HealthData_HwType_greyPanda) ||
(s->scene.hwType == cereal_HealthData_HwType_blackPanda) ||
(s->scene.hwType == cereal_HealthData_HwType_uno)) {
if (s->scene.satelliteCount == -1) {
panda_severity = 0;
snprintf(panda_message_str, sizeof(panda_message_str), "%s", "PANDA\nACTIVE");
snprintf(panda_message_str, sizeof(panda_message_str), "%s", "PANDA\n已連接");
} else {
if (s->scene.satelliteCount < 6) {
panda_severity = 1;
+2 -2
View File
@@ -1073,8 +1073,8 @@ int main(int argc, char* argv[]) {
if (s->status != STATUS_STOPPED) {
update_status(s, STATUS_ALERT);
}
snprintf(s->scene.alert_text1, sizeof(s->scene.alert_text1), "%s", "TAKE CONTROL IMMEDIATELY");
snprintf(s->scene.alert_text2, sizeof(s->scene.alert_text2), "%s", "Controls Unresponsive");
snprintf(s->scene.alert_text1, sizeof(s->scene.alert_text1), "%s", "即刻接管控制");
snprintf(s->scene.alert_text2, sizeof(s->scene.alert_text2), "%s", "操控服務沒有反應");
ui_draw_vision_alert(s, s->scene.alert_size, s->status, s->scene.alert_text1, s->scene.alert_text2);
s->alert_sound_timeout = 2 * UI_FREQ;