Commit Graph

43 Commits

Author SHA1 Message Date
fe0e2bede2 tasks: motion: print out sim progress percentage 2026-01-03 14:48:23 +01:00
461f17071f tasks: simulation: give even more accurate error reporting 2026-01-03 14:45:09 +01:00
4f8131b189 tasks: simulation: better handle certain errors 2026-01-02 15:56:40 +01:00
d2b10288a7 events: finally drop the whole bus garage idea 2025-12-27 19:55:22 +01:00
6e1f5423f9 simulation: rewrite the simulation data processing to share a lot of the same code on both the build script and the chip, allowing for more general data streaming possibilities 2025-12-24 17:08:53 +01:00
83e4614d10 build: move the int/stream type mapping into a simdata module shared by the build script 2025-12-24 09:59:12 +01:00
d8ffdab92b tasks: render: add some extra pixels for buffer space for now 2025-12-24 09:17:33 +01:00
2d9d31092c tasks: simulation: increase task pool size to 3, for annotations 2025-12-24 09:15:54 +01:00
81df3e2973 tasks: mpu: remove the whole calibration step, as this is now handled inside the motion engine. maybe in the future we rewrite again to utilize the full DMP FIFO system on the IMU chip 2025-12-24 09:15:18 +01:00
7cc87b42c8 mpu: only emit hardware sensor states, not logical ones 2025-12-24 09:13:11 +01:00
2eebdc5837 main: use a noop mutex with i2c 2025-12-24 09:12:32 +01:00
046406291a events: rewrite the eventing system to reduce mutex usage to just the measurement bus 2025-12-24 09:11:16 +01:00
3f651718a4 tasks: motion: move the entire motion prediction engine into the second core, dedicating core 1 to hardware 2025-12-22 15:55:06 +01:00
d9fd112ee0 debug: add some more trace-level logging to animation and safetyui bits 2025-12-22 14:57:25 +01:00
ea851f4b5a tasks: simulation: restructure sim data storage to better support the next step of resampling data to fit the configured partition 2025-12-21 18:41:35 +01:00
83ecdb61b2 cargo: update to esp-hal 1.0, and use esp-radio for less crashes 2025-12-07 14:58:07 +01:00
b64678cff3 tasks: oled: update to new nullbufferpool syntax 2025-12-07 14:55:33 +01:00
727e96a539 graphics: ssd1306: move init steps to new asyncn method 2025-12-07 14:55:05 +01:00
6123844cd7 tasks: ui: update to new nullbufferpool signature 2025-12-07 14:53:26 +01:00
4235b54959 wifi: rewrite wifi task 2025-12-07 13:14:07 +01:00
972ecbbdc2 tasks: mpu: emit gravity and forward sensor statuses 2025-12-07 12:55:23 +01:00
b98ca91f24 tasks: gps: emit sensor statuses during init 2025-12-07 12:53:29 +01:00
567cc0d6e5 tasks: simulation: refactor the simulation tasks to common types that can simulate any sensor 2025-12-06 19:22:52 +01:00
092885f163 events: rewrite how sensor statuses are reported, and implement some oled UI icons for it 2025-11-08 12:04:22 +01:00
41f69833e5 tasks: simulation: move sim data into a separate partition for flashing 2025-11-05 11:56:10 +01:00
4776227793 clean up imports and reorganize the ssd bits into a graphics mod 2025-10-26 11:14:28 +01:00
27e92edef0 oled: split out the ssd1306 driver into its own module, and reimplement the oled design with separate rendering and drawing tasks 2025-10-25 17:51:03 +02:00
8783441814 render: rewrite the render loop to use a time-based frame index, allowing for future fps scaling based on energy mode 2025-10-25 10:30:01 +02:00
2dcdca0675 oled: rewrite the oled UI to have animations, and support a version of sleeping where the display is blank, at least 2025-10-17 20:28:55 +02:00
088dde4450 cargo: clean up dependencies and improve build times 2025-10-17 18:06:24 +02:00
baa85612b7 warnings-- 2025-10-17 14:43:58 +02:00
9f17c6a8ef mpu: attempt to avoid recalibration after a basic reboot, if we were calibrated prior to the reboot 2025-10-17 14:40:26 +02:00
a97a28bf9f ui: split out safety ui into its own dedicated set of layers 2025-10-17 14:40:07 +02:00
818f8af49a tasks: write an oled information driver 2025-10-17 14:39:26 +02:00
eb9f949e4e display: make DisplayControls cloneable in a multi-thread context 2025-10-17 14:38:49 +02:00
d957615d4e events: rewrite some event buses to use multi-consumer pubsub instead of single-consumer channels 2025-10-17 14:37:23 +02:00
f9a04a8c69 motion: docs++ 2025-10-16 23:54:39 +02:00
a0ebe3535b wifi: build++ 2025-10-16 23:53:50 +02:00
8280f38185 bump a lot of big changes I dont want to break down into individual commits 2025-10-11 16:34:09 +02:00
019d134022 cargo: gate motion sim behind feature flag 2025-09-24 08:53:15 +02:00
0cd2cc94b9 src: implement simulation data sources 2025-09-24 08:36:41 +02:00
19875f6ae5 src: implement ego tracking models, and port shaders from renderbug into here 2025-09-22 13:16:39 +02:00
29ba78d5b2 Next iteration with backoffs, tasks, basic skeleton for events 2025-09-20 20:50:30 +02:00