|
Re: Encoders and Rover Wheels
Plain and simple, if you put an encoder an a drive wheel and it slips, the encoder reading will be inaccurate. It's next to impossible to just throw code at it to deal with slippage.
If you're dead set on using encoders to measure robot velocity and distances and etc, then it's best to put the encoder on a nondrive wheel that will be pulled along with the bot. If the bot rolls, the wheel rolls, the encoder gets an accurate count.
If the bot doesn't roll, the wheel doesn't roll, the encoder still gets an accurate count. This means it doesn't matter if the drive wheels are slipping.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
|