ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How is Gyro Drift dealt with?

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

MarkyMark2012 gravatar image

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

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

Mark

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

kszonek gravatar image

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

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

Comments

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,138 times

Last updated: Oct 26 '12