View Single Post
  #15   Spotlight this post!  
Unread 13-02-2009, 19:45
mrnoble's Avatar
mrnoble mrnoble is online now
teacher/coach
FRC #1339 (Angelbotics)
Team Role: Coach
 
Join Date: Dec 2008
Rookie Year: 2004
Location: denver, co
Posts: 977
mrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond reputemrnoble has a reputation beyond repute
Re: 2809 - Traction Control Demo

We would like to use the encoder to measure the rotations of the wheel per second then multiply by the radius of the wheel in order to find the distance the wheel should be traveling (theoretical distance). Then we would use another sensor to measure the distance our robot has actually traveled. If the actual distance is less than the theoretical distance our wheel is slipping. Do you have any suggestions on the sensor we should use to measure the actual distance traveled or any suggested code we could use in order for the change in speed of the motor, in turn lowering or speeding up the rev/sec., to be automatic?