sm6yvr / liam

DIY Robot lawn mover
GNU General Public License v3.0
52 stars 23 forks source link

New setting in definitions.h GO_BACKWARD_UNTIL_INSIDE #1

Closed Ola-Palm closed 7 years ago

Ola-Palm commented 7 years ago

New setting in definition.h that makes the mower reverse before changing direction when it has reached BWF. Also a setting for the maximum amount of time to run backward when this function is active. I also changed from several "int err" in Liam.ino to one that's reachable within this scope.

Errorcode if mower has run backward longer or equal to maximum amount of time is same as when mower is outside it's boundaries == errorcode 2.