Open Geo-Ron opened 3 years ago
At robot::Setup() the next code is present:
if (!buttonUse) { // robot has no ON/OFF button => start immediately setNextState(STATE_FORWARD_ODO, false, false); }
This causes the robot to be off, when the cpu is reset...
Is buttonUse is unconfigured, it will try to start immediately and that results in an error.
The timer would need to be observed if the state is off and a timeout of (for example) 15 minutes has passed.
At robot::Setup() the next code is present:
This causes the robot to be off, when the cpu is reset...