|
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.
|