View Single Post
  #4   Spotlight this post!  
Unread 07-01-2014, 16:36
TheThings5926 TheThings5926 is offline
Registered User
FTC #5926
 
Join Date: Dec 2012
Location: Minnesota
Posts: 15
TheThings5926 is an unknown quantity at this point
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
Reply With Quote