few more suggestions

This commit is contained in:
Scott Pruett 2022-05-26 18:33:41 -04:00
parent 89c5fca0bc
commit 5150e451d2
4 changed files with 70 additions and 5 deletions

View File

@ -1,12 +1,14 @@
{
"learned_images": {
"bGzs3MhsbEA=": "90",
"bGzMbMjsbBA=": "98",
"bGzI3MhsbFA=": "90",
"AAAAAAAAAAA=": "",
"bGxobGhsbAg=": "91",
"bGzI3MhsbFA=": "90",
"bGxobGhkZAg=": "92",
"ZGxobEhsZEg=": "93"
"bGxobGhsbAg=": "91",
"EbK5qbiyEig=": "0",
"bGzs3MhsbEA=": "90",
"ZGxobEhsZEg=": "93",
"ELK5srmwUiA=": "8"
},
"learned_tracks": {}
}

View File

@ -9,3 +9,60 @@
2022-05-24-02:56 (Bullseye),Bullseye,GP,3,14.053,14.053,100,75,88,test
2022-05-24-03:10 (Whistle Valley),Whistle Valley,B,1,22.790,22.790,97,91,91,test
2022-05-24-03:10 (Whistle Valley),Whistle Valley,B,2,23.015,22.790,97,84,83,test
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,1,22.514,20.454,99,89,92,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,2,21.419,20.454,99,82,83,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,3,24.694,20.454,95,71,72,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,4,22.883,20.454,94,62,63,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,5,20.987,20.454,94,52,54,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,6,21.262,20.454,94,43,,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,7,21.411,20.454,94,34,35,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,8,22.344,20.454,94,24,24,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,9,26.321,20.454,94,17,12,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,10,27.634,20.454,100,58,93,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,11,20.921,20.454,100,48,84,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,12,20.975,20.454,100,39,75,
2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,13,20.454,20.454,100,30,66,
2022-05-26-21:25 (Siena),Siena,80s GP,1,32.757,29.918,96,91,88,
2022-05-26-21:25 (Siena),Siena,80s GP,2,30.887,29.918,96,83,78,
2022-05-26-21:25 (Siena),Siena,80s GP,3,30.043,29.918,96,75,66,
2022-05-26-21:25 (Siena),Siena,80s GP,4,30.588,29.918,96,66,54,
2022-05-26-21:25 (Siena),Siena,80s GP,5,31.996,29.918,96,58,41,
2022-05-26-21:25 (Siena),Siena,80s GP,6,33.810,29.918,96,52,28,
2022-05-26-21:25 (Siena),Siena,80s GP,7,38.346,29.918,100,91,89,
2022-05-26-21:25 (Siena),Siena,80s GP,8,29.918,29.918,100,83,77,
2022-05-26-21:25 (Siena),Siena,80s GP,9,31.218,29.918,100,75,65,
2022-05-26-21:25 (Siena),Siena,80s GP,10,30.327,29.918,100,67,52,
2022-05-26-21:25 (Siena),Siena,80s GP,11,31.294,29.918,100,59,38,
2022-05-26-21:25 (Siena),Siena,80s GP,12,31.509,29.918,100,52,23,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,1,29.935,27.967,99,85,87,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,2,29.555,27.967,98,73,74,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,3,29.984,27.967,98,58,60,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,5,30.661,27.967,98,32,29,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,6,30.239,27.967,98,19,12,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,6,34.941,27.967,98,,,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,7,40.171,27.967,100,86,87,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,9,27.967,27.967,100,73,74,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,9,28.816,27.967,100,59,60,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,11,29.295,27.967,100,46,45,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,12,29.206,27.967,100,32,28,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,13,30.204,27.967,99,19,11,
2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,14,30.668,27.967,97,6,,
2022-05-26-21:45 (Speedopolis),Speedopolis,,1,19.751,19.259,100,86,94,
2022-05-26-21:45 (Speedopolis),Speedopolis,,2,19.378,19.259,100,74,89,
2022-05-26-21:45 (Speedopolis),Speedopolis,,3,19.290,19.259,100,62,83,
2022-05-26-21:45 (Speedopolis),Speedopolis,,4,19.371,19.259,100,49,77,
2022-05-26-21:45 (Speedopolis),Speedopolis,,5,21.767,19.259,95,40,72,
2022-05-26-21:45 (Speedopolis),Speedopolis,,6,27.773,19.259,100,85,95,
2022-05-26-21:45 (Speedopolis),Speedopolis,,7,19.502,19.259,100,73,89,
2022-05-26-21:45 (Speedopolis),Speedopolis,,8,19.259,19.259,100,60,84,
2022-05-26-21:45 (Speedopolis),Speedopolis,,9,19.622,19.259,100,48,78,
2022-05-26-21:45 (Speedopolis),Speedopolis,,10,19.387,19.259,100,36,72,
2022-05-26-21:45 (Speedopolis),Speedopolis,,11,19.264,19.259,100,24,66,
2022-05-26-21:45 (Speedopolis),Speedopolis,,12,20.585,19.259,98,12,58,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,1,48.936,44.132,100,82,84,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,2,45.462,44.132,98,65,68,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,3,45.072,44.132,98,48,49,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,2,49.055,44.132,98,32,30,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,5,55.755,44.132,100,64,84,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,6,44.132,44.132,100,46,66,
2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,7,44.380,44.132,100,30,48,

1 2022-05-22-20:39,whistle valley,gp,1,22.349,22.349,100,,
9 2022-05-24-02:56 (Bullseye),Bullseye,GP,3,14.053,14.053,100,75,88,test
10 2022-05-24-03:10 (Whistle Valley),Whistle Valley,B,1,22.790,22.790,97,91,91,test
11 2022-05-24-03:10 (Whistle Valley),Whistle Valley,B,2,23.015,22.790,97,84,83,test
12 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,1,22.514,20.454,99,89,92,
13 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,2,21.419,20.454,99,82,83,
14 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,3,24.694,20.454,95,71,72,
15 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,4,22.883,20.454,94,62,63,
16 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,5,20.987,20.454,94,52,54,
17 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,6,21.262,20.454,94,43,,
18 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,7,21.411,20.454,94,34,35,
19 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,8,22.344,20.454,94,24,24,
20 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,9,26.321,20.454,94,17,12,
21 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,10,27.634,20.454,100,58,93,
22 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,11,20.921,20.454,100,48,84,
23 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,12,20.975,20.454,100,39,75,
24 2022-05-26-21:35 (Copperwood Club),Copperwood Club,60s GP,13,20.454,20.454,100,30,66,
25 2022-05-26-21:25 (Siena),Siena,80s GP,1,32.757,29.918,96,91,88,
26 2022-05-26-21:25 (Siena),Siena,80s GP,2,30.887,29.918,96,83,78,
27 2022-05-26-21:25 (Siena),Siena,80s GP,3,30.043,29.918,96,75,66,
28 2022-05-26-21:25 (Siena),Siena,80s GP,4,30.588,29.918,96,66,54,
29 2022-05-26-21:25 (Siena),Siena,80s GP,5,31.996,29.918,96,58,41,
30 2022-05-26-21:25 (Siena),Siena,80s GP,6,33.810,29.918,96,52,28,
31 2022-05-26-21:25 (Siena),Siena,80s GP,7,38.346,29.918,100,91,89,
32 2022-05-26-21:25 (Siena),Siena,80s GP,8,29.918,29.918,100,83,77,
33 2022-05-26-21:25 (Siena),Siena,80s GP,9,31.218,29.918,100,75,65,
34 2022-05-26-21:25 (Siena),Siena,80s GP,10,30.327,29.918,100,67,52,
35 2022-05-26-21:25 (Siena),Siena,80s GP,11,31.294,29.918,100,59,38,
36 2022-05-26-21:25 (Siena),Siena,80s GP,12,31.509,29.918,100,52,23,
37 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,1,29.935,27.967,99,85,87,
38 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,2,29.555,27.967,98,73,74,
39 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,3,29.984,27.967,98,58,60,
40 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,5,30.661,27.967,98,32,29,
41 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,6,30.239,27.967,98,19,12,
42 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,6,34.941,27.967,98,,,
43 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,7,40.171,27.967,100,86,87,
44 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,9,27.967,27.967,100,73,74,
45 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,9,28.816,27.967,100,59,60,
46 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,11,29.295,27.967,100,46,45,
47 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,12,29.206,27.967,100,32,28,
48 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,13,30.204,27.967,99,19,11,
49 2022-05-26-21:14 (Maple Ridge),Maple Ridge,Prototype,14,30.668,27.967,97,6,,
50 2022-05-26-21:45 (Speedopolis),Speedopolis,,1,19.751,19.259,100,86,94,
51 2022-05-26-21:45 (Speedopolis),Speedopolis,,2,19.378,19.259,100,74,89,
52 2022-05-26-21:45 (Speedopolis),Speedopolis,,3,19.290,19.259,100,62,83,
53 2022-05-26-21:45 (Speedopolis),Speedopolis,,4,19.371,19.259,100,49,77,
54 2022-05-26-21:45 (Speedopolis),Speedopolis,,5,21.767,19.259,95,40,72,
55 2022-05-26-21:45 (Speedopolis),Speedopolis,,6,27.773,19.259,100,85,95,
56 2022-05-26-21:45 (Speedopolis),Speedopolis,,7,19.502,19.259,100,73,89,
57 2022-05-26-21:45 (Speedopolis),Speedopolis,,8,19.259,19.259,100,60,84,
58 2022-05-26-21:45 (Speedopolis),Speedopolis,,9,19.622,19.259,100,48,78,
59 2022-05-26-21:45 (Speedopolis),Speedopolis,,10,19.387,19.259,100,36,72,
60 2022-05-26-21:45 (Speedopolis),Speedopolis,,11,19.264,19.259,100,24,66,
61 2022-05-26-21:45 (Speedopolis),Speedopolis,,12,20.585,19.259,98,12,58,
62 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,1,48.936,44.132,100,82,84,
63 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,2,45.462,44.132,98,65,68,
64 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,3,45.072,44.132,98,48,49,
65 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,2,49.055,44.132,98,32,30,
66 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,5,55.755,44.132,100,64,84,
67 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,6,44.132,44.132,100,46,66,
68 2022-05-26-22:25 (Tilksport GP),Tilksport GP,Touring Car,7,44.380,44.132,100,30,48,

View File

@ -311,10 +311,15 @@ fn open_debug_lap(
fn show_combo_box(ui: &mut Ui, name: &str, label: &str, options: &[String], value: &mut String) {
let mut index = options.iter().position(|e| e == value).unwrap_or(0);
egui::ComboBox::new(name, label)
.width(250.0)
.show_index(ui, &mut index, options.len(), |i| options[i].clone());
*value = options[index].clone();
}
fn save_learned_track(state: &mut AppState, track: &str, hash: &str) {
todo!()
}
impl eframe::App for AppUi {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
let mut state = self.state.lock().unwrap();

View File

@ -4,4 +4,5 @@
- [DONE] ComboBox for car/track
- [DONE] Global best time not current best
- Best time from other racers
- Editable lap stats
- Editable lap stats
- Don't store uncompressed data for lap debugging