Added if statement to get_motor_condition to fix excelsior