View Single Post
  #5   Spotlight this post!  
Unread 07-03-2009, 11:11
dboisvert dboisvert is offline
Registered User
AKA: Dan Boisvert
FRC #2405 (Divided by Zero)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Michigan
Posts: 57
dboisvert is an unknown quantity at this point
Re: Traction Control in Autonomous?

The traction control is setup using 2 encoders on each side of the bot.

It grabs the data from each encoder then stores it into a variable. If it detects the bots wheels are moving to fast (slipping) then is slows the motor speed down.

It detects slippage like this encoder1 stores variable new / Makes one loop / new becomes old / encoder stores new / compare new to old.

So basically it detects slippage and its suprisingly very accurate & works great for pushing people.
Reply With Quote