// Check Embedded Sensors

currentTime()
getBattery()
getStall()

------------------------------------------

while not getStall():
	forward(1.0)
stop()
speak("Ouch! I think I bummed into something")

------------------------------------------

while True:
	forward(1.0)
	if getStall() == True
		turnLeft(1, 1) //or TurnRight