View Single Post
  #8   Spotlight this post!  
Unread 13-01-2003, 01:04
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: proximity sensors/code

Quote:
Originally posted by Brian_Lim
If we decided that all we wanted to do was bring the robot up the ramp in the 15 seconds, are sensors really necessary? Would it be possible/reliable to do it entirely with programming, eg. have a counter than increments to a certain number and use if statements?
Well, as anyone who has been involved with FIRST Lego League probably knows, doing an autonomous program based purely on timing has issues. Specifically, motors run at different speeds depending on how well the battery is charged. Also if anything gets in your way and slows you down then your program can't account for that. That doesn't mean that this method won't work. You should try it on your robot with a fully charged and a well depleted battery to verify that it will do what you expect in both situations.
Quote:
The optical sensor MSC will be shipping (correct me if I am wrong) later, what kind of input will it give, will it be a range from 0-255?
The optical sensors in the kit are a digital device, so you just get a 1 or 0 depending on whether the sensor is seeing "light" or "dark". The sensitivity of the sensor is adjustable with a little screw on the back.