Skip to content

[COMPONENT]: Refactor Safe Mode Handling #304

@Mikefly123

Description

@Mikefly123

Component Name

ModeManager

Issue Type

  • Component State Management

Current Issues

Right now our use of SafeMode to return the satellite's radios to a known state may have unintended conflicting behavior with startup / reboots. The issue kind of goes as follows:

  • Entering into SafeMode currently runs the radio-enter-safe.seq, which sets the radio to a known good state but calling this during startup could override the behavior of the startup.seq which tries to delay activation of the radio for 45 minutes
  • If the command loss timer triggers it is supposed to put the satellite in safe mode, but it also calls a STOP_WATCHDOG which triggers a reboot. That reboot will then restore the satellite to compile time defaults rather than whatever behavior is defined in the safe mode sequence. With that in mind, maybe compile time defaults should just be the safe mode?

Proposed Fix

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions