mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +08:00
de2e road condition detection toggle
This commit is contained in:
@@ -6,6 +6,7 @@ dragonpilot [latest]
|
||||
* Road Name Display (Online OpenStreetMap)
|
||||
* Speed Camera Warning (Online OpenstreetMap: Untested)
|
||||
* Dedicated Speed Camera Warning (Taiwan)
|
||||
* Dynamic End-to-End w/ Toggleable Road Condition Detection.
|
||||
|
||||
dragonpilot [2024.07.01]
|
||||
=======================
|
||||
|
||||
@@ -242,6 +242,7 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||
{"dp_tetoo_gps", PERSISTENT},
|
||||
{"dp_tetoo_speed_camera_taiwan", PERSISTENT},
|
||||
{"dp_tetoo_speed_camera_threshold", PERSISTENT},
|
||||
{"dp_long_de2e_road_condition", PERSISTENT},
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -80,6 +80,7 @@ def manager_init() -> None:
|
||||
("dp_tetoo_gps", ""),
|
||||
("dp_tetoo_speed_camera_taiwan", "0"),
|
||||
("dp_tetoo_speed_camera_threshold", "0"),
|
||||
("dp_long_de2e_road_condition", "0"),
|
||||
]
|
||||
if not PC:
|
||||
default_params.append(("LastUpdateTime", datetime.datetime.now(datetime.UTC).replace(tzinfo=None).isoformat().encode('utf8')))
|
||||
|
||||
Reference in New Issue
Block a user