Repository navigation
Commit a0a16f7
feat(chargepilot): the long route stops more than once, and the trip plot
Two sessions' work, committed together because the owner asked for everything
and the working tree is entangled — strings.xml, mise.toml and CHANGELOG.md
each carry both.
CP-062, the multi-leg plan:
- `ChargeStopPlan.chain` walks the route leg by leg with the band measured over
each leg, so Auzielle → Paris names two stops instead of refusing at 25 %.
- A charger is searched per stop, its window bounded by the leg; the request
count is worked out before it is spent and shown on the comparison card.
- `VehicleSettings.departurePercent` — the charge a stop is planned to leave
with, a declared figure and not a curve, carried as `departure_percent`.
- `ChargeStopHandoff.of` takes every stop as a waypoint and a leg.
- ORS refuses the whole request past 100 km when `alternative_routes` is asked
for, error 2004. The request is retried without the block, which is why long
destinations rendered nothing at all before.
In flight in another session:
- The trip plot screen, the destination search rows and the favourites.
- `PowerHistoryPolicy` is gone, its readings folded into `DashboardReadings`.
- The diagnostics and energy-breakdown screens follow RI-002 and RI-003.
The `CP-062` identifier is used in another session's comments for a different
feature; the ticket file owns it and the collision is still to arbitrate.
Submodule bumped to 7b5d41f. `mise run check`: BUILD SUCCESSFUL.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 9db2465 commit a0a16f7
35 files changed
Lines changed: 1280 additions & 281 deletions
File tree
- app/src
- main
- java/com/evsuite/chargepilot
- res
- layout
- values-fr
- values
- test/java/com/evsuite/chargepilot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
9 | 83 | | |
10 | 84 | | |
11 | 85 | | |
| |||
Submodule EVHardware updated 10 files
- lib/src/main/java/com/evsuite/hardware/CarPropertyEvidence.kt+36
- lib/src/main/java/com/evsuite/hardware/EVHardware.kt+73
- lib/src/main/java/com/evsuite/hardware/probe/RuntimeInterfaceProbe.kt+176-5
- lib/src/main/java/com/evsuite/hardware/telemetry/ChargeStopPlan.kt+163-7
- lib/src/main/java/com/evsuite/hardware/telemetry/EnergyTelemetryReader.kt+11-2
- lib/src/main/java/com/evsuite/hardware/telemetry/EnergyTrip.kt+1-1
- lib/src/main/java/com/evsuite/hardware/telemetry/model/EnergyModelTrainer.kt+1-1
- lib/src/test/java/com/evsuite/hardware/probe/RuntimeInterfaceProbeTest.kt+20
- lib/src/test/java/com/evsuite/hardware/telemetry/ChargeStopPlanTest.kt+88
- lib/src/test/java/com/evsuite/hardware/telemetry/model/EnergyModelTest.kt+22-3
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
13 | 36 | | |
14 | 37 | | |
15 | 38 | | |
0 commit comments