diff --git a/frogpilot/assets/holiday_themes/april_fools/colors/colors.json b/frogpilot/assets/holiday_themes/april_fools/colors/colors.json new file mode 100644 index 000000000..e2b04a788 --- /dev/null +++ b/frogpilot/assets/holiday_themes/april_fools/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 40, + "green": 185, + "blue": 170, + "alpha": 255 + }, + "LeadMarker": { + "red": 40, + "green": 185, + "blue": 170, + "alpha": 255 + }, + "Path": { + "red": 40, + "green": 185, + "blue": 170, + "alpha": 255 + }, + "PathEdge": { + "red": 32, + "green": 148, + "blue": 136, + "alpha": 255 + }, + "Sidebar1": { + "red": 40, + "green": 185, + "blue": 170, + "alpha": 255 + }, + "Sidebar2": { + "red": 237, + "green": 118, + "blue": 50, + "alpha": 255 + }, + "Sidebar3": { + "red": 203, + "green": 247, + "blue": 18, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/april_fools/icons/button_flag.png b/frogpilot/assets/holiday_themes/april_fools/icons/button_flag.png new file mode 100644 index 000000000..a4fb5af7a Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/icons/button_flag.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/icons/button_home.gif b/frogpilot/assets/holiday_themes/april_fools/icons/button_home.gif new file mode 100644 index 000000000..fbbff5671 Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/april_fools/icons/button_settings.png b/frogpilot/assets/holiday_themes/april_fools/icons/button_settings.png new file mode 100644 index 000000000..757c4f0ca Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/traditional_125 b/frogpilot/assets/holiday_themes/april_fools/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_1.png new file mode 100644 index 000000000..b27704223 Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_2.png new file mode 100644 index 000000000..ebbb433dd Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_3.png new file mode 100644 index 000000000..3c935ad0d Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_4.png new file mode 100644 index 000000000..4b64c193b Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_5.png new file mode 100644 index 000000000..5824c129b Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_6.png new file mode 100644 index 000000000..ebbb433dd Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..8ee0feec0 Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/april_fools/sounds/disengage.wav b/frogpilot/assets/holiday_themes/april_fools/sounds/disengage.wav new file mode 100644 index 000000000..d46dd9eb6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/april_fools/sounds/engage.wav b/frogpilot/assets/holiday_themes/april_fools/sounds/engage.wav new file mode 100644 index 000000000..795aa530e Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/april_fools/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/april_fools/steering_wheel/wheel.png new file mode 100644 index 000000000..c0484bd30 Binary files /dev/null and b/frogpilot/assets/holiday_themes/april_fools/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/colors/colors.json b/frogpilot/assets/holiday_themes/christmas_week/colors/colors.json new file mode 100644 index 000000000..d27669d4b --- /dev/null +++ b/frogpilot/assets/holiday_themes/christmas_week/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 23, + "green": 130, + "blue": 59, + "alpha": 255 + }, + "LeadMarker": { + "red": 194, + "green": 17, + "blue": 17, + "alpha": 255 + }, + "Path": { + "red": 23, + "green": 130, + "blue": 59, + "alpha": 255 + }, + "PathEdge": { + "red": 18, + "green": 104, + "blue": 47, + "alpha": 255 + }, + "Sidebar1": { + "red": 23, + "green": 130, + "blue": 59, + "alpha": 255 + }, + "Sidebar2": { + "red": 54, + "green": 133, + "blue": 192, + "alpha": 255 + }, + "Sidebar3": { + "red": 194, + "green": 17, + "blue": 17, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/christmas_week/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/aggressive.png new file mode 100644 index 000000000..8b0ed8232 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/relaxed.png new file mode 100644 index 000000000..b76bb9311 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/distance_icons/standard.png b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/standard.png new file mode 100644 index 000000000..a44f3fc0a Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/traffic.png new file mode 100644 index 000000000..3d6660575 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/icons/button_flag.gif b/frogpilot/assets/holiday_themes/christmas_week/icons/button_flag.gif new file mode 100644 index 000000000..414516f9a Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/icons/button_home.gif b/frogpilot/assets/holiday_themes/christmas_week/icons/button_home.gif new file mode 100644 index 000000000..414516f9a Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/icons/button_settings.png b/frogpilot/assets/holiday_themes/christmas_week/icons/button_settings.png new file mode 100644 index 000000000..5e213f2c5 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/traditional_125 b/frogpilot/assets/holiday_themes/christmas_week/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_1.png new file mode 100644 index 000000000..54542111d Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_2.png new file mode 100644 index 000000000..d53c1ad8e Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_3.png new file mode 100644 index 000000000..03e678473 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_4.png new file mode 100644 index 000000000..90830fd3c Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_5.png new file mode 100644 index 000000000..242dc73ff Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_6.png new file mode 100644 index 000000000..d53c1ad8e Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..4913d92d9 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/sounds/disengage.wav b/frogpilot/assets/holiday_themes/christmas_week/sounds/disengage.wav new file mode 100644 index 000000000..e10cff254 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/sounds/engage.wav b/frogpilot/assets/holiday_themes/christmas_week/sounds/engage.wav new file mode 100644 index 000000000..9d492a062 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/sounds/startup.wav b/frogpilot/assets/holiday_themes/christmas_week/sounds/startup.wav new file mode 100644 index 000000000..642497959 Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/sounds/startup.wav differ diff --git a/frogpilot/assets/holiday_themes/christmas_week/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/christmas_week/steering_wheel/wheel.png new file mode 100644 index 000000000..e7760fbfa Binary files /dev/null and b/frogpilot/assets/holiday_themes/christmas_week/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/colors/colors.json b/frogpilot/assets/holiday_themes/cinco_de_mayo/colors/colors.json new file mode 100644 index 000000000..ad02ddcfb --- /dev/null +++ b/frogpilot/assets/holiday_themes/cinco_de_mayo/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 40, + "green": 195, + "blue": 169, + "alpha": 255 + }, + "LeadMarker": { + "red": 40, + "green": 195, + "blue": 169, + "alpha": 255 + }, + "Path": { + "red": 40, + "green": 195, + "blue": 169, + "alpha": 255 + }, + "PathEdge": { + "red": 238, + "green": 226, + "blue": 95, + "alpha": 255 + }, + "Sidebar1": { + "red": 40, + "green": 195, + "blue": 169, + "alpha": 255 + }, + "Sidebar2": { + "red": 238, + "green": 226, + "blue": 95, + "alpha": 255 + }, + "Sidebar3": { + "red": 238, + "green": 0, + "blue": 0, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/aggressive.png new file mode 100644 index 000000000..682afd43f Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/relaxed.png new file mode 100644 index 000000000..d0cccd8d7 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/standard.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/standard.png new file mode 100644 index 000000000..68f6bd8e8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/traffic.png new file mode 100644 index 000000000..cd6333e54 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_flag.gif b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_flag.gif new file mode 100644 index 000000000..5c2d051a4 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_home.gif b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_home.gif new file mode 100644 index 000000000..5c2d051a4 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_settings.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_settings.png new file mode 100644 index 000000000..70c4e0423 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/traditional_125 b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_1.png new file mode 100644 index 000000000..b42a3e51c Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_2.png new file mode 100644 index 000000000..8face6df2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_3.png new file mode 100644 index 000000000..05f341cce Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_4.png new file mode 100644 index 000000000..93ad2ac9f Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_5.png new file mode 100644 index 000000000..b1575272a Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_6.png new file mode 100644 index 000000000..8face6df2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..5be6e1668 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/disengage.wav b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/disengage.wav new file mode 100644 index 000000000..94eb940d8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/engage.wav b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/engage.wav new file mode 100644 index 000000000..2d7d866ca Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/startup.wav b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/startup.wav new file mode 100644 index 000000000..8abd3e88e Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/sounds/startup.wav differ diff --git a/frogpilot/assets/holiday_themes/cinco_de_mayo/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/cinco_de_mayo/steering_wheel/wheel.png new file mode 100644 index 000000000..bb7fda27b Binary files /dev/null and b/frogpilot/assets/holiday_themes/cinco_de_mayo/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/colors/colors.json b/frogpilot/assets/holiday_themes/easter_week/colors/colors.json new file mode 100644 index 000000000..db56430a1 --- /dev/null +++ b/frogpilot/assets/holiday_themes/easter_week/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 174, + "green": 113, + "blue": 212, + "alpha": 255 + }, + "LeadMarker": { + "red": 174, + "green": 113, + "blue": 212, + "alpha": 255 + }, + "Path": { + "red": 174, + "green": 113, + "blue": 212, + "alpha": 255 + }, + "PathEdge": { + "red": 139, + "green": 90, + "blue": 170, + "alpha": 255 + }, + "Sidebar1": { + "red": 175, + "green": 219, + "blue": 242, + "alpha": 255 + }, + "Sidebar2": { + "red": 254, + "green": 222, + "blue": 67, + "alpha": 255 + }, + "Sidebar3": { + "red": 174, + "green": 113, + "blue": 212, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/easter_week/icons/button_flag.gif b/frogpilot/assets/holiday_themes/easter_week/icons/button_flag.gif new file mode 100644 index 000000000..59031561b Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/easter_week/icons/button_home.gif b/frogpilot/assets/holiday_themes/easter_week/icons/button_home.gif new file mode 100644 index 000000000..59031561b Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/easter_week/icons/button_settings.png b/frogpilot/assets/holiday_themes/easter_week/icons/button_settings.png new file mode 100644 index 000000000..e85619368 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/traditional_125 b/frogpilot/assets/holiday_themes/easter_week/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_1.png new file mode 100644 index 000000000..20822693a Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_2.png new file mode 100644 index 000000000..8b4480fe6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_3.png new file mode 100644 index 000000000..ffe3dacb9 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_4.png new file mode 100644 index 000000000..fda29dae3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_5.png new file mode 100644 index 000000000..fcffe063e Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..76343ce2b Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/easter_week/sounds/disengage.wav b/frogpilot/assets/holiday_themes/easter_week/sounds/disengage.wav new file mode 100644 index 000000000..f56a0f837 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/easter_week/sounds/engage.wav b/frogpilot/assets/holiday_themes/easter_week/sounds/engage.wav new file mode 100644 index 000000000..a8dd79de4 Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/easter_week/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/easter_week/steering_wheel/wheel.png new file mode 100644 index 000000000..7e098912d Binary files /dev/null and b/frogpilot/assets/holiday_themes/easter_week/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/colors/colors.json b/frogpilot/assets/holiday_themes/fourth_of_july/colors/colors.json new file mode 100644 index 000000000..476aa9fc9 --- /dev/null +++ b/frogpilot/assets/holiday_themes/fourth_of_july/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 99, + "green": 123, + "blue": 244, + "alpha": 255 + }, + "LeadMarker": { + "red": 99, + "green": 123, + "blue": 244, + "alpha": 255 + }, + "Path": { + "red": 99, + "green": 123, + "blue": 244, + "alpha": 255 + }, + "PathEdge": { + "red": 255, + "green": 255, + "blue": 255, + "alpha": 255 + }, + "Sidebar1": { + "red": 255, + "green": 0, + "blue": 0, + "alpha": 255 + }, + "Sidebar2": { + "red": 255, + "green": 255, + "blue": 255, + "alpha": 255 + }, + "Sidebar3": { + "red": 99, + "green": 123, + "blue": 244, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/aggressive.png new file mode 100644 index 000000000..0d6c4b263 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/relaxed.png new file mode 100644 index 000000000..f21d75825 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/standard.png b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/standard.png new file mode 100644 index 000000000..331ec766f Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/traffic.png new file mode 100644 index 000000000..f651ad6c5 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_flag.gif b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_flag.gif new file mode 100644 index 000000000..aee9cbb47 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_home.gif b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_home.gif new file mode 100644 index 000000000..aee9cbb47 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_settings.png b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_settings.png new file mode 100644 index 000000000..3ba8f3055 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/traditional_125 b/frogpilot/assets/holiday_themes/fourth_of_july/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_1.png new file mode 100644 index 000000000..820e6d2f0 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_2.png new file mode 100644 index 000000000..070c4bfa1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_3.png new file mode 100644 index 000000000..52ae1c82e Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_4.png new file mode 100644 index 000000000..570eee066 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_5.png new file mode 100644 index 000000000..f19d9aa8b Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_6.png new file mode 100644 index 000000000..070c4bfa1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..6c9616022 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/sounds/disengage.wav b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/disengage.wav new file mode 100644 index 000000000..cc2f84eac Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/sounds/engage.wav b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/engage.wav new file mode 100644 index 000000000..867fb5a0c Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/sounds/startup.wav b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/startup.wav new file mode 100644 index 000000000..5049b5f46 Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/sounds/startup.wav differ diff --git a/frogpilot/assets/holiday_themes/fourth_of_july/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/fourth_of_july/steering_wheel/wheel.png new file mode 100644 index 000000000..9cd03d08f Binary files /dev/null and b/frogpilot/assets/holiday_themes/fourth_of_july/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/colors/colors.json b/frogpilot/assets/holiday_themes/halloween_week/colors/colors.json new file mode 100644 index 000000000..91690ba0b --- /dev/null +++ b/frogpilot/assets/holiday_themes/halloween_week/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 242, + "green": 117, + "blue": 3, + "alpha": 255 + }, + "LeadMarker": { + "red": 242, + "green": 117, + "blue": 3, + "alpha": 255 + }, + "Path": { + "red": 134, + "green": 47, + "blue": 224, + "alpha": 255 + }, + "PathEdge": { + "red": 161, + "green": 56, + "blue": 255, + "alpha": 255 + }, + "Sidebar1": { + "red": 134, + "green": 47, + "blue": 224, + "alpha": 255 + }, + "Sidebar2": { + "red": 242, + "green": 117, + "blue": 3, + "alpha": 255 + }, + "Sidebar3": { + "red": 80, + "green": 184, + "blue": 72, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/halloween_week/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/aggressive.png new file mode 100644 index 000000000..e1bcfaab5 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/relaxed.png new file mode 100644 index 000000000..fb4e3f693 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/distance_icons/standard.png b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/standard.png new file mode 100644 index 000000000..6c23e0285 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/traffic.png new file mode 100644 index 000000000..57dfe77cf Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/icons/button_flag.gif b/frogpilot/assets/holiday_themes/halloween_week/icons/button_flag.gif new file mode 100644 index 000000000..84ad7b75b Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/icons/button_home.gif b/frogpilot/assets/holiday_themes/halloween_week/icons/button_home.gif new file mode 100644 index 000000000..84ad7b75b Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/icons/button_settings.png b/frogpilot/assets/holiday_themes/halloween_week/icons/button_settings.png new file mode 100644 index 000000000..5e5308ea3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/traditional_125 b/frogpilot/assets/holiday_themes/halloween_week/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_1.png new file mode 100644 index 000000000..2a0b1ce63 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_2.png new file mode 100644 index 000000000..198332722 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_3.png new file mode 100644 index 000000000..1985b2f6a Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_4.png new file mode 100644 index 000000000..6ecf15d5a Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_5.png new file mode 100644 index 000000000..e9a2546a9 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_6.png new file mode 100644 index 000000000..198332722 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..181925e7c Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/sounds/disengage.wav b/frogpilot/assets/holiday_themes/halloween_week/sounds/disengage.wav new file mode 100644 index 000000000..050f4f7ea Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/sounds/engage.wav b/frogpilot/assets/holiday_themes/halloween_week/sounds/engage.wav new file mode 100644 index 000000000..d3154356a Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/sounds/prompt.wav b/frogpilot/assets/holiday_themes/halloween_week/sounds/prompt.wav new file mode 100644 index 000000000..4db4b2cae Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/sounds/prompt.wav differ diff --git a/frogpilot/assets/holiday_themes/halloween_week/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/halloween_week/steering_wheel/wheel.png new file mode 100644 index 000000000..8234e33e3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/halloween_week/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/colors/colors.json b/frogpilot/assets/holiday_themes/may_the_fourth/colors/colors.json new file mode 100644 index 000000000..4f23e2e6f --- /dev/null +++ b/frogpilot/assets/holiday_themes/may_the_fourth/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 76, + "green": 150, + "blue": 255, + "alpha": 255 + }, + "LeadMarker": { + "red": 76, + "green": 150, + "blue": 255, + "alpha": 255 + }, + "Path": { + "red": 76, + "green": 150, + "blue": 255, + "alpha": 255 + }, + "PathEdge": { + "red": 255, + "green": 32, + "blue": 32, + "alpha": 255 + }, + "Sidebar1": { + "red": 76, + "green": 150, + "blue": 255, + "alpha": 255 + }, + "Sidebar2": { + "red": 0, + "green": 255, + "blue": 102, + "alpha": 255 + }, + "Sidebar3": { + "red": 255, + "green": 32, + "blue": 32, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/aggressive.png new file mode 100644 index 000000000..a16b77544 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/relaxed.png new file mode 100644 index 000000000..f999b2165 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/standard.png b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/standard.png new file mode 100644 index 000000000..a792ab384 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/traffic.png new file mode 100644 index 000000000..bd24a3a83 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_flag.gif b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_flag.gif new file mode 100644 index 000000000..d3ef30d8f Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_home.gif b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_home.gif new file mode 100644 index 000000000..d3ef30d8f Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_settings.png b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_settings.png new file mode 100644 index 000000000..76a9a62d3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/traditional_125 b/frogpilot/assets/holiday_themes/may_the_fourth/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_1.png new file mode 100644 index 000000000..aa584d6b8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_2.png new file mode 100644 index 000000000..d836f0d18 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_3.png new file mode 100644 index 000000000..21b8875b3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_4.png new file mode 100644 index 000000000..2833e5d8a Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_5.png new file mode 100644 index 000000000..88eb05abd Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_6.png new file mode 100644 index 000000000..21b8875b3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..9f73d87b2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/sounds/disengage.wav b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/disengage.wav new file mode 100644 index 000000000..8e957b613 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/sounds/engage.wav b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/engage.wav new file mode 100644 index 000000000..13658f91f Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/sounds/startup.wav b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/startup.wav new file mode 100644 index 000000000..48b6415cf Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/sounds/startup.wav differ diff --git a/frogpilot/assets/holiday_themes/may_the_fourth/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/may_the_fourth/steering_wheel/wheel.png new file mode 100644 index 000000000..64c598557 Binary files /dev/null and b/frogpilot/assets/holiday_themes/may_the_fourth/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/colors/colors.json b/frogpilot/assets/holiday_themes/new_years/colors/colors.json new file mode 100644 index 000000000..c948fd67c --- /dev/null +++ b/frogpilot/assets/holiday_themes/new_years/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 255, + "green": 215, + "blue": 0, + "alpha": 255 + }, + "LeadMarker": { + "red": 255, + "green": 215, + "blue": 0, + "alpha": 255 + }, + "Path": { + "red": 255, + "green": 215, + "blue": 0, + "alpha": 255 + }, + "PathEdge": { + "red": 184, + "green": 134, + "blue": 11, + "alpha": 255 + }, + "Sidebar1": { + "red": 255, + "green": 215, + "blue": 0, + "alpha": 255 + }, + "Sidebar2": { + "red": 229, + "green": 228, + "blue": 226, + "alpha": 255 + }, + "Sidebar3": { + "red": 255, + "green": 215, + "blue": 0, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/new_years/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/new_years/distance_icons/aggressive.png new file mode 100644 index 000000000..81d068a50 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/new_years/distance_icons/relaxed.png new file mode 100644 index 000000000..9dac1da64 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/distance_icons/standard.png b/frogpilot/assets/holiday_themes/new_years/distance_icons/standard.png new file mode 100644 index 000000000..2231c9d55 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/new_years/distance_icons/traffic.png new file mode 100644 index 000000000..e5e5dedc3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/icons/button_flag.gif b/frogpilot/assets/holiday_themes/new_years/icons/button_flag.gif new file mode 100644 index 000000000..0bffcaa77 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/new_years/icons/button_home.gif b/frogpilot/assets/holiday_themes/new_years/icons/button_home.gif new file mode 100644 index 000000000..0bffcaa77 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/new_years/icons/button_settings.png b/frogpilot/assets/holiday_themes/new_years/icons/button_settings.png new file mode 100644 index 000000000..b073ee965 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/traditional_125 b/frogpilot/assets/holiday_themes/new_years/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_1.png new file mode 100644 index 000000000..228754dd8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_2.png new file mode 100644 index 000000000..5ba010b55 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_3.png new file mode 100644 index 000000000..ae7dbe134 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_4.png new file mode 100644 index 000000000..0f0e380da Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_5.png new file mode 100644 index 000000000..bbd71d4f7 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_6.png new file mode 100644 index 000000000..5ba010b55 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..b1f96fdda Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/new_years/sounds/disengage.wav b/frogpilot/assets/holiday_themes/new_years/sounds/disengage.wav new file mode 100644 index 000000000..d46dd9eb6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/new_years/sounds/engage.wav b/frogpilot/assets/holiday_themes/new_years/sounds/engage.wav new file mode 100644 index 000000000..795aa530e Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/new_years/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/new_years/steering_wheel/wheel.png new file mode 100644 index 000000000..215c2d6b7 Binary files /dev/null and b/frogpilot/assets/holiday_themes/new_years/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/colors/colors.json b/frogpilot/assets/holiday_themes/st_patricks_day/colors/colors.json new file mode 100644 index 000000000..57b4766dc --- /dev/null +++ b/frogpilot/assets/holiday_themes/st_patricks_day/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 0, + "green": 154, + "blue": 72, + "alpha": 255 + }, + "LeadMarker": { + "red": 0, + "green": 154, + "blue": 72, + "alpha": 255 + }, + "Path": { + "red": 0, + "green": 154, + "blue": 72, + "alpha": 255 + }, + "PathEdge": { + "red": 0, + "green": 123, + "blue": 58, + "alpha": 255 + }, + "Sidebar1": { + "red": 0, + "green": 154, + "blue": 72, + "alpha": 255 + }, + "Sidebar2": { + "red": 255, + "green": 119, + "blue": 0, + "alpha": 255 + }, + "Sidebar3": { + "red": 0, + "green": 158, + "blue": 95, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/aggressive.png new file mode 100644 index 000000000..d2a08c709 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/relaxed.png new file mode 100644 index 000000000..660ae9438 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/standard.png b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/standard.png new file mode 100644 index 000000000..3222ccfaf Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/traffic.png new file mode 100644 index 000000000..e31d2abea Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_flag.png b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_flag.png new file mode 100644 index 000000000..fbfe93565 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_flag.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_home.gif b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_home.gif new file mode 100644 index 000000000..bdc2001ea Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_settings.png b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_settings.png new file mode 100644 index 000000000..8202ec021 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/traditional_125 b/frogpilot/assets/holiday_themes/st_patricks_day/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_1.png new file mode 100644 index 000000000..aa09ae1c1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_2.png new file mode 100644 index 000000000..aa0411af6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_3.png new file mode 100644 index 000000000..9ce351360 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_4.png new file mode 100644 index 000000000..0f754317f Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_5.png new file mode 100644 index 000000000..79187f696 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_6.png new file mode 100644 index 000000000..aa0411af6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..979b92f1e Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/sounds/disengage.wav b/frogpilot/assets/holiday_themes/st_patricks_day/sounds/disengage.wav new file mode 100644 index 000000000..d46dd9eb6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/sounds/engage.wav b/frogpilot/assets/holiday_themes/st_patricks_day/sounds/engage.wav new file mode 100644 index 000000000..795aa530e Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/st_patricks_day/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/st_patricks_day/steering_wheel/wheel.png new file mode 100644 index 000000000..f9e2bc858 Binary files /dev/null and b/frogpilot/assets/holiday_themes/st_patricks_day/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/colors/colors.json b/frogpilot/assets/holiday_themes/stitch_day/colors/colors.json new file mode 100644 index 000000000..6cf392017 --- /dev/null +++ b/frogpilot/assets/holiday_themes/stitch_day/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 95, + "green": 159, + "blue": 208, + "alpha": 255 + }, + "LeadMarker": { + "red": 95, + "green": 159, + "blue": 208, + "alpha": 255 + }, + "Path": { + "red": 95, + "green": 159, + "blue": 208, + "alpha": 255 + }, + "PathEdge": { + "red": 76, + "green": 127, + "blue": 166, + "alpha": 255 + }, + "Sidebar1": { + "red": 95, + "green": 159, + "blue": 208, + "alpha": 255 + }, + "Sidebar2": { + "red": 184, + "green": 153, + "blue": 197, + "alpha": 255 + }, + "Sidebar3": { + "red": 142, + "green": 221, + "blue": 238, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/stitch_day/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/aggressive.png new file mode 100644 index 000000000..7f7ca2f01 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/relaxed.png new file mode 100644 index 000000000..f50b672fd Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/distance_icons/standard.png b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/standard.png new file mode 100644 index 000000000..cac266de8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/traffic.png new file mode 100644 index 000000000..07dd83f0e Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/icons/button_flag.gif b/frogpilot/assets/holiday_themes/stitch_day/icons/button_flag.gif new file mode 100644 index 000000000..3d6f7f3f2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/icons/button_home.gif b/frogpilot/assets/holiday_themes/stitch_day/icons/button_home.gif new file mode 100644 index 000000000..3d6f7f3f2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/icons/button_settings.png b/frogpilot/assets/holiday_themes/stitch_day/icons/button_settings.png new file mode 100644 index 000000000..12d65f5af Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/traditional_125 b/frogpilot/assets/holiday_themes/stitch_day/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_1.png new file mode 100644 index 000000000..3a7a5a564 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_2.png new file mode 100644 index 000000000..cdc48b6a3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_3.png new file mode 100644 index 000000000..ea25d03a8 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_4.png new file mode 100644 index 000000000..3fbe3a971 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_5.png new file mode 100644 index 000000000..d802a9a88 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_6.png new file mode 100644 index 000000000..cdc48b6a3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..1002ee73d Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/sounds/disengage.wav b/frogpilot/assets/holiday_themes/stitch_day/sounds/disengage.wav new file mode 100644 index 000000000..d9126a9d2 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/sounds/engage.wav b/frogpilot/assets/holiday_themes/stitch_day/sounds/engage.wav new file mode 100644 index 000000000..8f3c07114 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/sounds/startup.wav b/frogpilot/assets/holiday_themes/stitch_day/sounds/startup.wav new file mode 100644 index 000000000..6f56ad85f Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/sounds/startup.wav differ diff --git a/frogpilot/assets/holiday_themes/stitch_day/steering_wheel/wheel.gif b/frogpilot/assets/holiday_themes/stitch_day/steering_wheel/wheel.gif new file mode 100644 index 000000000..8ae8c3923 Binary files /dev/null and b/frogpilot/assets/holiday_themes/stitch_day/steering_wheel/wheel.gif differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/colors/colors.json b/frogpilot/assets/holiday_themes/thanksgiving_week/colors/colors.json new file mode 100644 index 000000000..6a91eb709 --- /dev/null +++ b/frogpilot/assets/holiday_themes/thanksgiving_week/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 237, + "green": 116, + "blue": 46, + "alpha": 255 + }, + "LeadMarker": { + "red": 237, + "green": 116, + "blue": 46, + "alpha": 255 + }, + "Path": { + "red": 248, + "green": 177, + "blue": 44, + "alpha": 255 + }, + "PathEdge": { + "red": 198, + "green": 142, + "blue": 35, + "alpha": 255 + }, + "Sidebar1": { + "red": 153, + "green": 99, + "blue": 54, + "alpha": 255 + }, + "Sidebar2": { + "red": 248, + "green": 177, + "blue": 44, + "alpha": 255 + }, + "Sidebar3": { + "red": 237, + "green": 116, + "blue": 46, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/aggressive.png b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/aggressive.png new file mode 100644 index 000000000..23f723cdb Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/aggressive.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/relaxed.png b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/relaxed.png new file mode 100644 index 000000000..c8fe613e0 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/relaxed.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/standard.png b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/standard.png new file mode 100644 index 000000000..8093a63a1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/standard.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/traffic.png b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/traffic.png new file mode 100644 index 000000000..9dc9fa17e Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/distance_icons/traffic.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_flag.gif b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_flag.gif new file mode 100644 index 000000000..2d414ea97 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_home.gif b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_home.gif new file mode 100644 index 000000000..2d414ea97 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_settings.png b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_settings.png new file mode 100644 index 000000000..c6e453c1f Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/traditional_125 b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_1.png new file mode 100644 index 000000000..e2c7f0223 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_2.png new file mode 100644 index 000000000..a5dcae667 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_3.png new file mode 100644 index 000000000..e0c2a79f9 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_4.png new file mode 100644 index 000000000..98a209661 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_5.png new file mode 100644 index 000000000..2b0f6d035 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_6.png new file mode 100644 index 000000000..f708700c4 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..0762273ad Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/disengage.wav b/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/disengage.wav new file mode 100644 index 000000000..b7ab60e07 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/engage.wav b/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/engage.wav new file mode 100644 index 000000000..5a1395feb Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/thanksgiving_week/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/thanksgiving_week/steering_wheel/wheel.png new file mode 100644 index 000000000..220d48073 Binary files /dev/null and b/frogpilot/assets/holiday_themes/thanksgiving_week/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/colors/colors.json b/frogpilot/assets/holiday_themes/valentines_day/colors/colors.json new file mode 100644 index 000000000..9471f5b85 --- /dev/null +++ b/frogpilot/assets/holiday_themes/valentines_day/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 255, + "green": 20, + "blue": 147, + "alpha": 255 + }, + "LeadMarker": { + "red": 255, + "green": 20, + "blue": 147, + "alpha": 255 + }, + "Path": { + "red": 255, + "green": 20, + "blue": 147, + "alpha": 255 + }, + "PathEdge": { + "red": 199, + "green": 21, + "blue": 133, + "alpha": 255 + }, + "Sidebar1": { + "red": 255, + "green": 20, + "blue": 147, + "alpha": 255 + }, + "Sidebar2": { + "red": 255, + "green": 0, + "blue": 0, + "alpha": 255 + }, + "Sidebar3": { + "red": 255, + "green": 20, + "blue": 147, + "alpha": 255 + } +} diff --git a/frogpilot/assets/holiday_themes/valentines_day/distance_icons/aggressive.gif b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/aggressive.gif new file mode 100644 index 000000000..05cd8d01c Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/aggressive.gif differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/distance_icons/relaxed.gif b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/relaxed.gif new file mode 100644 index 000000000..7882afbbb Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/relaxed.gif differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/distance_icons/standard.gif b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/standard.gif new file mode 100644 index 000000000..c97c85cd9 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/standard.gif differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/distance_icons/traffic.gif b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/traffic.gif new file mode 100644 index 000000000..3e3f898c3 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/distance_icons/traffic.gif differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/icons/button_flag.png b/frogpilot/assets/holiday_themes/valentines_day/icons/button_flag.png new file mode 100644 index 000000000..2658aa9b7 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/icons/button_flag.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/icons/button_home.gif b/frogpilot/assets/holiday_themes/valentines_day/icons/button_home.gif new file mode 100644 index 000000000..133d8d34e Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/icons/button_settings.png b/frogpilot/assets/holiday_themes/valentines_day/icons/button_settings.png new file mode 100644 index 000000000..559275997 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/traditional_125 b/frogpilot/assets/holiday_themes/valentines_day/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_1.png new file mode 100644 index 000000000..8c2f7a54e Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_2.png new file mode 100644 index 000000000..3c7d2d9eb Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_3.png new file mode 100644 index 000000000..b495eeae1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_4.png new file mode 100644 index 000000000..024a0b03e Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_5.png new file mode 100644 index 000000000..91eb05f12 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_6.png new file mode 100644 index 000000000..3c7d2d9eb Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..b721266fb Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/sounds/disengage.wav b/frogpilot/assets/holiday_themes/valentines_day/sounds/disengage.wav new file mode 100644 index 000000000..d46dd9eb6 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/sounds/engage.wav b/frogpilot/assets/holiday_themes/valentines_day/sounds/engage.wav new file mode 100644 index 000000000..795aa530e Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/valentines_day/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/valentines_day/steering_wheel/wheel.png new file mode 100644 index 000000000..712255984 Binary files /dev/null and b/frogpilot/assets/holiday_themes/valentines_day/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/colors/colors.json b/frogpilot/assets/holiday_themes/world_frog_day/colors/colors.json new file mode 100644 index 000000000..bf527d51e --- /dev/null +++ b/frogpilot/assets/holiday_themes/world_frog_day/colors/colors.json @@ -0,0 +1,44 @@ +{ + "LaneLines": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + }, + "LeadMarker": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + }, + "Path": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + }, + "PathEdge": { + "red": 18, + "green": 107, + "blue": 54, + "alpha": 242 + }, + "Sidebar1": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + }, + "Sidebar2": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + }, + "Sidebar3": { + "red": 23, + "green": 134, + "blue": 68, + "alpha": 242 + } +} diff --git a/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/aggressive.gif b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/aggressive.gif new file mode 100644 index 000000000..938eedb82 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/aggressive.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/relaxed.gif b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/relaxed.gif new file mode 100644 index 000000000..30efbb7a0 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/relaxed.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/standard.gif b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/standard.gif new file mode 100644 index 000000000..d7c8c8681 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/standard.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/traffic.gif b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/traffic.gif new file mode 100644 index 000000000..63c8c11b4 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/distance_icons/traffic.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/icons/button_flag.gif b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_flag.gif new file mode 100644 index 000000000..c97656e74 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_flag.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/icons/button_home.gif b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_home.gif new file mode 100644 index 000000000..c97656e74 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_home.gif differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/icons/button_settings.png b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_settings.png new file mode 100644 index 000000000..559275997 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/icons/button_settings.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/traditional_125 b/frogpilot/assets/holiday_themes/world_frog_day/signals/traditional_125 new file mode 100644 index 000000000..e69de29bb diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_1.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_1.png new file mode 100644 index 000000000..8c2f7a54e Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_1.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_2.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_2.png new file mode 100644 index 000000000..3c7d2d9eb Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_2.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_3.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_3.png new file mode 100644 index 000000000..b495eeae1 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_3.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_4.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_4.png new file mode 100644 index 000000000..024a0b03e Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_4.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_5.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_5.png new file mode 100644 index 000000000..91eb05f12 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_5.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_6.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_6.png new file mode 100644 index 000000000..3c7d2d9eb Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_6.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_blindspot.png b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_blindspot.png new file mode 100644 index 000000000..b721266fb Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/signals/turn_signal_blindspot.png differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/sounds/disengage.wav b/frogpilot/assets/holiday_themes/world_frog_day/sounds/disengage.wav new file mode 100644 index 000000000..8c39e0dea Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/sounds/disengage.wav differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/sounds/engage.wav b/frogpilot/assets/holiday_themes/world_frog_day/sounds/engage.wav new file mode 100644 index 000000000..0c8a74420 Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/sounds/engage.wav differ diff --git a/frogpilot/assets/holiday_themes/world_frog_day/steering_wheel/wheel.png b/frogpilot/assets/holiday_themes/world_frog_day/steering_wheel/wheel.png new file mode 100644 index 000000000..0c1ac473a Binary files /dev/null and b/frogpilot/assets/holiday_themes/world_frog_day/steering_wheel/wheel.png differ diff --git a/frogpilot/assets/theme_manager.py b/frogpilot/assets/theme_manager.py index 750e2669a..ab2c4f88d 100644 --- a/frogpilot/assets/theme_manager.py +++ b/frogpilot/assets/theme_manager.py @@ -3,6 +3,8 @@ import glob import requests import shutil +from datetime import date, timedelta +from dateutil import easter from pathlib import Path from urllib.parse import quote_plus @@ -13,8 +15,25 @@ from openpilot.frogpilot.common.frogpilot_variables import ACTIVE_THEME_PATH, RE CANCEL_DOWNLOAD_PARAM = "CancelThemeDownload" DOWNLOAD_PROGRESS_PARAM = "ThemeDownloadProgress" +HOLIDAY_THEME_PATH = Path(__file__).parent / "holiday_themes" STOCKOP_THEME_PATH = Path(__file__).parent / "stock_theme" +HOLIDAY_SLUGS = { + "new_years": "New Year's", + "valentines_day": "Valentine's Day", + "st_patricks_day": "St. Patrick's Day", + "world_frog_day": "World Frog Day", + "april_fools": "April Fools", + "easter_week": "Easter", + "may_the_fourth": "May the Fourth", + "cinco_de_mayo": "Cinco de Mayo", + "stitch_day": "Stitch Day", + "fourth_of_july": "Fourth of July", + "halloween_week": "Halloween", + "thanksgiving_week": "Thanksgiving", + "christmas_week": "Christmas" +} + THEME_COMPONENT_PARAMS = { "colors": "ColorToDownload", "distance_icons": "DistanceIconToDownload", @@ -32,6 +51,8 @@ class ThemeManager: self.downloading_theme = False self.theme_updated = False + self.holiday_theme = "stock" + self.previous_asset_mappings = {} self.theme_sizes_path = THEME_SAVE_PATH / "theme_sizes.json" @@ -48,6 +69,13 @@ class ThemeManager: if boot_run: self.copy_default_theme() + @staticmethod + def calculate_thanksgiving(year): + november_first = date(year, 11, 1) + days_to_thursday = (3 - november_first.weekday()) % 7 + first_thursday = november_first + timedelta(days=days_to_thursday) + return first_thursday + timedelta(days=21) + @staticmethod def copy_default_theme(): world_frog_day_theme_path = HOLIDAY_THEME_PATH / "world_frog_day" @@ -281,6 +309,24 @@ class ThemeManager: return sorted(valid_themes) + @staticmethod + def get_holiday_theme_dates(year): + return { + "new_years": date(year, 1, 1), + "valentines_day": date(year, 2, 14), + "st_patricks_day": date(year, 3, 17), + "world_frog_day": date(year, 3, 20), + "april_fools": date(year, 4, 1), + "easter_week": easter.easter(year), + "may_the_fourth": date(year, 5, 4), + "cinco_de_mayo": date(year, 5, 5), + "stitch_day": date(year, 6, 26), + "fourth_of_july": date(year, 7, 4), + "halloween_week": date(year, 10, 31), + "thanksgiving_week": ThemeManager.calculate_thanksgiving(year), + "christmas_week": date(year, 12, 25) + } + def handle_verification_failure(self, extension, theme_component, theme_name, asset_param, theme_path, download_path, frogpilot_toggles): if theme_component == "distance_icons": download_link = f"{GITLAB_URL}/Distance-Icons/{theme_name}" @@ -320,15 +366,28 @@ class ThemeManager: self.downloading_theme = False return False - def update_active_theme(self, frogpilot_toggles, boot_run=False): - asset_mappings = { - "color_scheme": ("colors", frogpilot_toggles.color_scheme), - "distance_icons": ("distance_icons", frogpilot_toggles.distance_icons), - "icon_pack": ("icons", frogpilot_toggles.icon_pack), - "sound_pack": ("sounds", frogpilot_toggles.sound_pack), - "turn_signal_pack": ("signals", frogpilot_toggles.signal_icons), - "wheel_image": ("wheel_image", frogpilot_toggles.wheel_image) - } + @staticmethod + def is_within_week_of(target_date, current_date): + start_of_week = target_date - timedelta(days=target_date.weekday()) + return start_of_week <= current_date < target_date + + def update_active_theme(self, time_validated, frogpilot_toggles, boot_run=False): + if time_validated and frogpilot_toggles.holiday_themes: + self.holiday_theme = self.update_holiday() + else: + self.holiday_theme = "stock" + + if self.holiday_theme != "stock": + asset_mappings = { + "color_scheme": ("colors", self.holiday_theme), + "distance_icons": ("distance_icons", self.holiday_theme), + "icon_pack": ("icons", self.holiday_theme), + "sound_pack": ("sounds", self.holiday_theme), + "turn_signal_pack": ("signals", self.holiday_theme), + "wheel_image": ("wheel_image", self.holiday_theme) + } + else: + return if asset_mappings != self.previous_asset_mappings: for asset, (asset_type, current_value) in asset_mappings.items(): @@ -343,9 +402,27 @@ class ThemeManager: self.theme_updated = True + def update_holiday(self): + current_date = date.today() + + holidays = self.get_holiday_theme_dates(current_date.year) + for holiday, holiday_date in holidays.items(): + if (holiday.endswith("_week") and self.is_within_week_of(holiday_date, current_date)) or (current_date == holiday_date): + return holiday + + return "stock" + def update_theme_asset(self, asset_type, theme, boot_run=False): save_location = ACTIVE_THEME_PATH / asset_type - asset_location = THEME_SAVE_PATH / "theme_packs" / theme / asset_type + + if self.holiday_theme != "stock": + asset_location = HOLIDAY_THEME_PATH / self.holiday_theme / asset_type + elif theme in HOLIDAY_SLUGS: + asset_location = HOLIDAY_THEME_PATH / theme / asset_type + elif f"{theme}_week" in HOLIDAY_SLUGS: + asset_location = HOLIDAY_THEME_PATH / f"{theme}_week" / asset_type + else: + asset_location = THEME_SAVE_PATH / "theme_packs" / theme / asset_type if not asset_location.exists() or theme == "stock": asset_location = STOCKOP_THEME_PATH / asset_type @@ -468,8 +545,14 @@ class ThemeManager: def update_wheel_image(self, image, boot_run=False): wheel_save_location = ACTIVE_THEME_PATH / "steering_wheel" - if image == "stock": + if self.holiday_theme != "stock": + wheel_location = HOLIDAY_THEME_PATH / self.holiday_theme / "steering_wheel" + elif image == "stock": wheel_location = STOCKOP_THEME_PATH / "steering_wheel" + elif image in HOLIDAY_SLUGS: + wheel_location = HOLIDAY_THEME_PATH / image / "steering_wheel" + elif f"{image}_week" in HOLIDAY_SLUGS: + wheel_location = HOLIDAY_THEME_PATH / f"{image}_week" / "steering_wheel" else: wheel_location = THEME_SAVE_PATH / "steering_wheels" @@ -500,7 +583,7 @@ class ThemeManager: if not component_path.is_dir() or not any(component_path.iterdir()): print(f"Missing or empty component '{component}' for theme '{theme_folder_name}'. Downloading...") self.download_theme(component, theme_folder_name, THEME_COMPONENT_PARAMS.get(component), frogpilot_toggles) - self.update_active_theme(frogpilot_toggles) + self.update_active_theme(True, frogpilot_toggles) wheels_path = THEME_SAVE_PATH / "steering_wheels" for display_name in downloaded_data.get("steering_wheels", []): @@ -509,7 +592,7 @@ class ThemeManager: if not matching_files: print(f"Missing steering wheel '{display_name}'. Downloading...") self.download_theme("steering_wheels", file_stem, THEME_COMPONENT_PARAMS["steering_wheels"], frogpilot_toggles) - self.update_active_theme(frogpilot_toggles) + self.update_active_theme(True, frogpilot_toggles) for dir_path in THEME_SAVE_PATH.glob("**/*"): if dir_path.is_dir() and not any(dir_path.iterdir()): diff --git a/frogpilot/common/frogpilot_functions.py b/frogpilot/common/frogpilot_functions.py index 9ff95c62a..ff79dd125 100644 --- a/frogpilot/common/frogpilot_functions.py +++ b/frogpilot/common/frogpilot_functions.py @@ -24,7 +24,7 @@ def frogpilot_boot_functions(build_metadata, params): params_memory = Params(memory=True) FrogPilotVariables() - ThemeManager(params, params_memory, boot_run=True).update_active_theme(frogpilot_toggles=get_frogpilot_toggles(), boot_run=True) + ThemeManager(params, params_memory, boot_run=True).update_active_theme(time_validated=system_time_valid(), frogpilot_toggles=get_frogpilot_toggles(), boot_run=True) def boot_thread(): while not system_time_valid(): diff --git a/frogpilot/common/frogpilot_variables.py b/frogpilot/common/frogpilot_variables.py index a19723a61..7a6482f52 100644 --- a/frogpilot/common/frogpilot_variables.py +++ b/frogpilot/common/frogpilot_variables.py @@ -267,7 +267,7 @@ class FrogPilotVariables: return value - def update(self, started=False): + def update(self, holiday_theme="stock", started=False): toggle = self.frogpilot_toggles self.tuning_level = self.params.get("TuningLevel") if self.params.get_bool("TuningLevelConfirmed") else TUNING_LEVELS["ADVANCED"] @@ -534,6 +534,16 @@ class FrogPilotVariables: toggle.vEgoStarting = 0.1 if toggle.frogsgomoo_tweak else toggle.vEgoStarting toggle.vEgoStopping = 0.5 if toggle.frogsgomoo_tweak else toggle.vEgoStopping + toggle.holiday_themes = self.get_value("HolidayThemes") + toggle.current_holiday_theme = holiday_theme if toggle.holiday_themes else "stock" + if toggle.current_holiday_theme != "stock": + toggle.color_scheme = toggle.current_holiday_theme + toggle.distance_icons = toggle.current_holiday_theme + toggle.icon_pack = toggle.current_holiday_theme + toggle.signal_icons = toggle.current_holiday_theme + toggle.sound_pack = toggle.current_holiday_theme + toggle.wheel_image = toggle.current_holiday_theme + toggle.lane_changes = self.get_value("LaneChanges") toggle.lane_change_delay = self.get_value("LaneChangeTime", cast=float, condition=toggle.lane_changes) toggle.lane_detection_width = self.get_value("LaneDetectionWidth", cast=float, condition=toggle.lane_changes, conversion=distance_conversion) diff --git a/frogpilot/controls/lib/frogpilot_events.py b/frogpilot/controls/lib/frogpilot_events.py index 96aceff0f..76c47351a 100644 --- a/frogpilot/controls/lib/frogpilot_events.py +++ b/frogpilot/controls/lib/frogpilot_events.py @@ -44,6 +44,9 @@ class FrogPilotEvents: else: self.stopped_for_light = False + if "holidayActive" not in self.played_events and self.startup_seen and alerts_empty and len(self.events) == 0 and frogpilot_toggles.current_holiday_theme != "stock": + self.events.add(FrogPilotEventName.holidayActive) + if self.error_log.is_file(): self.events.add(FrogPilotEventName.openpilotCrashed) diff --git a/frogpilot/frogpilot_process.py b/frogpilot/frogpilot_process.py index e7d741e95..24423cb8b 100644 --- a/frogpilot/frogpilot_process.py +++ b/frogpilot/frogpilot_process.py @@ -50,10 +50,11 @@ def update_checks(now, theme_manager, thread_manager, params, params_memory, fro time.sleep(1) def update_toggles(frogpilot_variables, started, theme_manager, thread_manager, time_validated, params): - frogpilot_variables.update(started) + frogpilot_variables.update(theme_manager.holiday_theme, started) frogpilot_toggles = frogpilot_variables.frogpilot_toggles - theme_manager.update_active_theme(frogpilot_toggles) + theme_manager.theme_updated = False + theme_manager.update_active_theme(time_validated, frogpilot_toggles) if time_validated: thread_manager.run_with_lock(backup_toggles, (params)) @@ -123,7 +124,7 @@ def frogpilot_thread(): if rate_keeper.frame % ASSET_CHECK_RATE == 0: check_assets(theme_manager, thread_manager, params_memory, frogpilot_toggles) - if params_memory.get_bool("FrogPilotTogglesUpdated"): + if params_memory.get_bool("FrogPilotTogglesUpdated") or theme_manager.theme_updated: frogpilot_toggles = update_toggles(frogpilot_variables, started, theme_manager, thread_manager, time_validated, params) run_update_checks |= params_memory.get_bool("ManualUpdateInitiated") @@ -131,6 +132,7 @@ def frogpilot_thread(): run_update_checks &= time_validated if run_update_checks: + theme_manager.update_active_theme(time_validated, frogpilot_toggles) thread_manager.run_with_lock(update_checks, (now, theme_manager, thread_manager, params, params_memory, frogpilot_toggles)) run_update_checks = False @@ -139,6 +141,8 @@ def frogpilot_thread(): if not time_validated: continue + theme_manager.update_active_theme(time_validated, frogpilot_toggles) + thread_manager.run_with_lock(backup_toggles, (params, True)) thread_manager.run_with_lock(send_stats, (params, frogpilot_toggles)) thread_manager.run_with_lock(update_checks, (now, theme_manager, thread_manager, params, params_memory, frogpilot_toggles, True)) diff --git a/selfdrive/selfdrived/events.py b/selfdrive/selfdrived/events.py index 6e2b3332b..1a52925e2 100644 --- a/selfdrive/selfdrived/events.py +++ b/selfdrive/selfdrived/events.py @@ -421,6 +421,30 @@ def forcing_stop_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMas Priority.MID, VisualAlert.none, AudibleAlert.prompt, 1.) +def holiday_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int, personality, frogpilot_toggles: SimpleNamespace) -> Alert: + holiday_messages = { + "new_years": "Happy New Year! ๐ŸŽ‰", + "valentines": "Happy Valentine's Day! โค๏ธ", + "st_patricks": "Happy St. Patrick's Day! ๐Ÿ€", + "world_frog_day": "Happy World Frog Day! ๐Ÿธ", + "april_fools": "Happy April Fool's Day! ๐Ÿคก", + "easter_week": "Happy Easter! ๐Ÿฐ", + "may_the_fourth": "May the 4th be with you! ๐Ÿš€", + "cinco_de_mayo": "ยกFeliz Cinco de Mayo! ๐ŸŒฎ", + "stitch_day": "Happy Stitch Day! ๐Ÿ’™", + "fourth_of_july": "Happy Fourth of July! ๐ŸŽ†", + "halloween_week": "Happy Halloween! ๐ŸŽƒ", + "thanksgiving_week": "Happy Thanksgiving! ๐Ÿฆƒ", + "christmas_week": "Merry Christmas! ๐ŸŽ„", + } + + return Alert( + holiday_messages.get(frogpilot_toggles.current_holiday_theme, ""), + "", + AlertStatus.normal, AlertSize.small, + Priority.LOWEST, VisualAlert.none, FrogPilotAudibleAlert.startup, 5.) + + EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = { # ********** events with no alerts ********** @@ -1086,6 +1110,10 @@ FROGPILOT_EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = { Priority.MID, VisualAlert.none, AudibleAlert.prompt, 3.), }, + FrogPilotEventName.holidayActive: { + ET.PERMANENT: holiday_alert, + }, + FrogPilotEventName.openpilotCrashed: { ET.IMMEDIATE_DISABLE: Alert( "openpilot crashed",