waterloo-rocketry / cansw_processor_airbrakes

Processor board was developed for the 2023-2024 design cycle to perform state estimation and control tasks for Borealis's airbrakes system
2 stars 0 forks source link

Madgwick #35

Closed celery6 closed 3 months ago

celery6 commented 3 months ago

Soooo the madgwick thing is obviously uncalibrated but there are non-zero numbers at least 💀

Notable changes in this:

image

Joe-Joe-Joe-Joe commented 3 months ago

but this looks very promising, thank you!

celery6 commented 3 months ago

I need to look at the meat of the ICM changes when I am more awake

I think it looks more complicated than it actually is lol. It's just adding a mutex take and give for each ICM method that involves my2c.

Ensures each sequence of my2c calls can finish without getting interrupted.

And then splitting up the init method into one that requires rtos and one that doesn't