|
Re: [FTC]: IR Block for Block Party
Thanks for the help! This will help a lot, this is what I wanted to do, just couldn't quite figure out how to do it.
I am also looking at putting a NXT ultrasonic sensor on the front of the robot. I will use this to keep from getting blocked or hitting our alliance partners robot.
Say the normal program would drive past the baskets, dump block, and then take a 180 degree left turn onto the ramp. This code would run unless the ultrasonic sensor sees something within 20cm. If an object is within 20cm the robot would turn around, and go up the other side of the ramp.
Thoughts?
Thanks,
Matt, The Things 5926
|