Ask Your Question

How is Gyro Drift dealt with?

asked 2012-10-25 20:15:51 -0500

MarkyMark2012 gravatar image

updated 2012-10-25 23:31:19 -0500

A quick question. My own robot's got a gyro and I'm going to set up it up with a Kinect. The gyro is reasonably accurate, but like all these sensors it will drift over time. How is that delt with re: mapping?

Many Thanks


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-26 00:37:03 -0500

kszonek gravatar image

updated 2012-10-26 00:40:13 -0500

There is no way to eliminate drift, but there are some things you can always do. Dont know what kind of gyro you are using, but for raw sensor you can:

  • compensate with calibration, collect some amount of samples while gyro is as stady as possible and avarage of measurment use as calibration value (it will change with temperature and/or voltage, depending on the sensor)
  • use magnetometer for Z axis and/or accelerometers for XY, but it makes it INS and gets more complicated (and more expensive)
  • if robot is not moving, you can detect no signals from wheels at all. That makes odometry way more reliable than in motion, so you can disregard gyro readings. It may improve Z accurqacy if robot is in stop for a long time. It will mess things up if you roatate robot without moving the wheels though.
  • SLAM algoritms may help, if you plan to use Kinect, thats the way. Read about rgbdslam and Kinect, materials on it are all over the web (including ros wiki and ros answers)
edit flag offensive delete link more


Yep the gyro auto calibrates at start up, drift is inevitable. I might marry it with a compass and integrate the two readings over time

MarkyMark2012 gravatar image MarkyMark2012  ( 2012-10-26 00:49:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-10-25 20:15:51 -0500

Seen: 813 times

Last updated: Oct 26 '12