Commander: properly separate preflight check and prearm checks
We were running pre-arm checks before when not arming, which led to annoying error messages on vehicles that were on the bench or serviced on the ground. Now we really only run them when trying to arm.
Showing
- src/modules/commander/commander.cpp 2 additions, 2 deletionssrc/modules/commander/commander.cpp
- src/modules/commander/state_machine_helper.cpp 32 additions, 25 deletionssrc/modules/commander/state_machine_helper.cpp
- src/modules/commander/state_machine_helper.h 1 addition, 1 deletionsrc/modules/commander/state_machine_helper.h
Loading
Please register or sign in to comment