|
Re: Motion Planning and sensor integration
In practice, a decent gyro will provide a quicker and more accurate estimate of yaw rate and heading for a differentially steered robot than using wheel encoders. Wheel slip is unavoidable, hard to measure, and varies a lot as your robot accelerates, decelerates, and bounces across an imperfect floor.
There are still valid uses of the encoders for measuring your heading, though. If your encoders aren't moving, you can "hold" the gyro heading to prevent drift (this is most useful before the match starts). And if your encoders are estimating a drastically different yaw rate than the gyro, that's a good indication that the robot has become stuck and has lost traction.
|