ok, guys so i have a platform for my robot and also have the pling ultrasonic sensor. I also have four hacked futaba s3003 servo as the drive wheels for continuous rotation. All of the components work but i am having trouble piecing together all of the parts. All o want this robot to do is move foward until it senses an object then turn left or right and avoid the object. Can you please direct me to some code that will allow me to do this.
Well start with this idea.. The servos need to be pulsed every 20ms so in that time ping out and see if you are getting close to something. If you are then stop, reverse and turn. Most of this code is available and it sounds like you have it working already.
This also would have been better placed in the frequently asked questions or the software section.