Shop OBEX P1 Docs P2 Docs Learn Events
autonomous bumper bot with bs2 — Parallax Forums

autonomous bumper bot with bs2

epicjr77epicjr77 Posts: 29
edited 2008-04-17 01:49 in BASIC Stamp
Hello I am trying to build a robot that uses a bs2 with dual parallax continuous servos for wheels, and the 1 normally open push button to realize it hit something.

my pseudocode:

if bumper switch is open

drive straight

if switch closes

pause

back up

rotate

and loop

I am new to programming and I am not really sure how to start, I am looking for an example program, does any one have one or know where to look? Thanks

Comments

Sign In or Register to comment.