Brat WaterBottle Seek and Destroy

Here’s some code that will control a brat with a sensor panning kit. This code makes the brat seek out a water bottle and then kick with either foot or headbutt the bottle into oblivion.

This code requires that you have your offsets configured correctly for best walking and turn performance.

To enter offset configuration mode hold down the A button and then turn on power and release the button when you hear a long beep. Pressing the B button will decrease the offset and pressing the C button will increase the offset. While in config mode the A button will move on to the next servo.

You will need the newest Arduino IDE(v1.0) to upload this code.
you can download the ide here
Brat_WaterBottle.zip (2.96 KB)