Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Scheduled Commands in Safe Mode #71

Open
richarthurs opened this issue Jun 6, 2018 · 0 comments
Open

No Scheduled Commands in Safe Mode #71

richarthurs opened this issue Jun 6, 2018 · 0 comments
Assignees

Comments

@richarthurs
Copy link
Contributor

According to our previous discussions, no previously scheduled commands should be run in safe mode.

By my quick look at the code, checking the state in getAction() in sfu_scheduler.h should work. If the state is SAFE, do nothing.

You can check the state with the cur_state variable which can be imported using sfu_state.h

Test that this works with the OBC:

  • To set the state, enter state set 1 command to enter READY state.
  • to observe if the a scheduled command is running or not, reset the OBC. By default, the command get tasks will execute soon after startup. You may need to enable it in the OTHER TESTING STUFF section of task_main. If your thing works, this command should not run by default (since we start in safe mode).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants