Commit Graph

72 Commits

Author SHA1 Message Date
6132efb7c4 main: remove the critical_section from the logger since it isn't needed 2026-01-05 12:59:00 +01:00
23043a42a2 logging: implement a way to set logging levels and categories by env variables 2026-01-03 14:50:18 +01:00
fa57c0ce81 events: use fract8 instead of f32 for sim progress percentage 2026-01-03 14:49:17 +01:00
a117b04c5f graphics: oled_ui: update figments api 2026-01-03 14:48:52 +01:00
fe0e2bede2 tasks: motion: print out sim progress percentage 2026-01-03 14:48:23 +01:00
f4c379a3e8 graphics: ssd1306: reimplement dithering using an ordered dither map 2026-01-03 14:47:38 +01:00
b6029778e0 graphics: display: update figments api to drop pixel spaces 2026-01-03 14:47:12 +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
7e0889b624 src: build without --feature simulation 2025-12-25 11:56:34 +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
2630c97609 ego: orientation: account for sensor bias when determining what 'forwards' is, and let forwards be more flexible if our detection finds it needs changed 2025-12-24 09:44:01 +01:00
9059066206 ego: orientation: allow for a more generous definition of earth gravity 2025-12-24 09:42:57 +01:00
21fba09a4b main: add a dual-core feature flag, to switch between configs while debugging deadlocks 2025-12-24 09:42:00 +01:00
cbab48c37f main: be more verbose when we cant launch a sim data task 2025-12-24 09:19:16 +01:00
da60b6ddf5 graphics: display: clean up some of the display hardware status locking code 2025-12-24 09:18:50 +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
af021676db logging: log crate names, and hide non-renderbug messages 2025-12-23 19:54:25 +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
82d61a9df3 events: move the displaycontrols out of the bus garage and back into main 2025-12-22 15:22:14 +01:00
d1cfcb30e8 main: bark on watchdog logs 2025-12-22 14:59:51 +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
531c31d190 main: clean up use statements 2025-12-07 13:17:44 +01:00
5a403809e9 main: use StaticCell::init_with instead of init 2025-12-07 13:17:25 +01:00
4235b54959 wifi: rewrite wifi task 2025-12-07 13:14:07 +01:00
20cc634714 logging: implement rtt logging output 2025-12-07 13:07:56 +01:00
da7511aec7 main: configure hardware watchdogs to be petted faster than they expire 2025-12-07 13:03:30 +01:00
84d6789aa3 logging: refactor max level config 2025-12-07 12:58:34 +01:00
bcceb868c0 graphics: ssd: add Debug to SsdPixel 2025-12-07 12:57:55 +01:00
972ecbbdc2 tasks: mpu: emit gravity and forward sensor statuses 2025-12-07 12:55:23 +01:00
49c36c8aa8 tasks: oled_ui: tweak icon displays again 2025-12-07 12:54:54 +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
9c37cb58d1 graphics: ssd1306: refactor 2025-11-09 17:09:27 +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