Repository navigation
Commit a2f9fa5
feat(lights): exterior-light conditions and standstill actions (CR-046)
Tracks EVHardware 1.15.0 (200112f).
- VehicleReader puts the low/high beam and fog states and switch positions.
Absent stays absent; it never reads as OFF.
- DirectExecutor gets branches SET_HEADLIGHTS / SET_HIGH_BEAM / SET_FOG_LIGHTS.
They are gated (0 km/h only). ExteriorLights refuses low beams OFF and high
beam forced ON.
- Manifest + allowlist add CAR_EXTERIOR_LIGHTS and CONTROL_CAR_EXTERIOR_LIGHTS.
- DiagnosticsTest: an unproven write on a generation that does not carry it
reports the firmware reason first. The lights are proven on none yet.
Every light entry stays hidden and inert until a capture proves a generation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent f09da44 commit a2f9fa5
6 files changed
Lines changed: 29 additions & 2 deletions
File tree
- .github/security
- app/src
- main
- java/com/evsuite/tasker/vehicle
- test/java/com/evsuite/tasker/debug
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
Submodule EVHardware updated 20 files
- CHANGELOG.md+19
- docs/catalogue.md+16
- docs/firmware-matrix.md+6
- lib/src/main/java/com/evsuite/hardware/EVHardware.kt+112
- lib/src/main/java/com/evsuite/hardware/ExteriorLights.kt+78
- lib/src/main/java/com/evsuite/hardware/catalog/ActionType.kt+27
- lib/src/main/java/com/evsuite/hardware/catalog/ConditionType.kt+22-1
- lib/src/main/java/com/evsuite/hardware/catalog/SnapshotKeys.kt+7
- lib/src/main/java/com/evsuite/hardware/catalog/VehicleEnums.kt+19
- lib/src/main/java/com/evsuite/hardware/probe/VendorSurfaceProbe.kt+80
- lib/src/main/java/com/evsuite/hardware/probe/VendorSurfaceRules.kt+112
- lib/src/main/res/values-de/strings.xml+11
- lib/src/main/res/values-es/strings.xml+11
- lib/src/main/res/values-fr/strings.xml+11
- lib/src/main/res/values-it/strings.xml+11
- lib/src/main/res/values-pt/strings.xml+11
- lib/src/main/res/values/strings.xml+11
- lib/src/test/java/com/evsuite/hardware/ExteriorLightsTest.kt+97
- lib/src/test/java/com/evsuite/hardware/catalog/CatalogConsistencyTest.kt+6-2
- lib/src/test/java/com/evsuite/hardware/probe/VendorSurfaceRulesTest.kt+106
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
421 | 422 | | |
422 | 423 | | |
423 | 424 | | |
| 425 | + | |
424 | 426 | | |
425 | | - | |
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
429 | 435 | | |
430 | 436 | | |
431 | 437 | | |
| |||
0 commit comments