Switching Between Autonomous and Manual - Robot Control
Posted: Sun Aug 23, 2015 8:35 am
Hi, I am experimenting with a Web controlled Pi / Arduino Robot. The Pi and the Arduino communicate over an i2c Serial Bus.
I want to be able to switch between Autonomous and manual mode. To do this could I just use an 'if' statement that looks for Serial data (the manual control) and if nothing is received start autonomous mode. I'll incorporate a delay of about 5 minutes to prevent it switching mid manual mode.
Does this seem ok?
I want to be able to switch between Autonomous and manual mode. To do this could I just use an 'if' statement that looks for Serial data (the manual control) and if nothing is received start autonomous mode. I'll incorporate a delay of about 5 minutes to prevent it switching mid manual mode.
Does this seem ok?