Commit Graph

60 Commits

Author SHA1 Message Date
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
73b037f0c2 cargo: add critical-section to deps 2025-12-22 15:37:02 +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
7c250da4d9 partitions: with 16mb flash size, we can increase sim data size substantially 2025-12-22 14:59:16 +01:00
d68df7c037 cargo: config: add -fforce-frame-pointers and set the esp-rtos tick rate to 50hz, and set flash size to 16mb 2025-12-22 14:58:57 +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
7471cc1fbe cargo: remove oled from default features 2025-12-07 13:16:55 +01:00
88f1d3f8be cargo: add missing rtt dep 2025-12-07 13:16:34 +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
7666123809 cargo: set a default-run 2025-12-07 12:59:31 +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
8123960db0 cargo: config: set wifi code to Deutschland 2025-12-07 12:57:06 +01:00
caf8556e54 build: always build assets, since the UI drawing is separate from the hardware now 2025-12-07 12:56:38 +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
761dbb8951 cargo: refer to local rmp build for builddeps 2025-11-23 21:33:54 +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
a36fe3d1ac partitions: increase sim data size 2025-11-05 12:46:52 +01:00
ee7c6fd068 cargo: add missing embedded-storage deps 2025-11-05 12:46:38 +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
db912e0085 cargo: enable embedded-graphics support in figments 2025-10-25 10:30:47 +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
25a7dc7e18 animation: write a const Animation::new() 2025-10-17 20:28:17 +02:00
36826fbedc main: warnings++ 2025-10-17 18:12:40 +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
aa5c86b4a7 logging: fix deadlocks with a proper semaphore 2025-10-17 14:34:32 +02:00
f9a04a8c69 motion: docs++ 2025-10-16 23:54:39 +02:00