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

why are we missing sd card logs from the flight #97

Open celery6 opened 1 month ago

celery6 commented 1 month ago

UPDATED ISSUE: by comparing with CAN logger board logs, 63.TXT aligns with the pre-flight tests when the injector valve open was tested at the launchpad. After this test, processor board was reset (as it should). There appear to be 0 logs in the sd card after this moment. WHAT HAPPENED???? It seems like processor did still run during flight as there were CAN msgs from it. There are also extension cmds, so presumably it successfully detected flight phases in the actual flight. However none of this was logged. WHY??

PREVIOUSLY THOUGHT-TO-BE ISSUE: For still unknown reasons, trajectory prediction never reached this line of code where it's supposed to log predicted apogee. It also likely did not run the next line of code which unblocks apogeeQueue, because the controller task never received anything from this queue.

I can't tell where exactly the trajectory task got stuck, but it must be somewhere before those 2 lines mentioned above.

possibilities we've thought of so far:

steps to take:

celery6 commented 1 month ago

relevant thread https://waterloorocketry.slack.com/archives/C05EUQLFP4J/p1728490391451389?thread_ts=1728490391.451389&cid=C05EUQLFP4J