In the generalized motor/encoder subsystem, add encoder checks and if the encoders are not working, shut down the motors.