Disable mow motor at obstacle don't always work.
After the lift detection the mowmotor is always set to mow and reset the last info.
if (detectLift()) mow = false; // in any case, turn off mower motor if lifted
motor.setMowState(mow);
need to change to this to only stop mow when lift is detected
if (detectLift()) {
mow = false; // in any case, turn off mower motor if lifted
motor.setMowState(mow);
}`