Skip to content

how to use assert()? #19

@celery6

Description

@celery6

good point by Armaan (https://waterloorocketry.slack.com/archives/C05EUQLFP4J/p1729102668813389)

We need to investigate this more:

  • before we lead ourselves into hole, research how similar existing projects use assert(), esp in safety-critical contexts
  • implement custom assertion for processor board (this step is blocked until this repo has actual code...)
  • determine what our assert should do in development deployment, vs in production (ie flight) deployoment. In flight it should set canards to 0 or kill power if thats too hard? How to send 0 msg in an assertion though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions