You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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()
insfu_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 usingsfu_state.h
Test that this works with the OBC:
state set 1
command to enter READY state.get tasks
will execute soon after startup. You may need to enable it in theOTHER TESTING STUFF
section of task_main. If your thing works, this command should not run by default (since we start in safe mode).The text was updated successfully, but these errors were encountered: