Ardumower / Sunray

Ardumower Sunray
73 stars 59 forks source link

Disable mow motor at obstacle #142

Open Boilevin opened 1 year ago

Boilevin commented 1 year ago

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); }`