de2e road condition detection toggle

This commit is contained in:
Rick Lan
2024-07-13 17:15:04 +08:00
parent a0b6d5dbd0
commit 7d5a3c2c32
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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]
=======================
+1
View File
@@ -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
+1
View File
@@ -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')))