Coder Social home page Coder Social logo

Comments (2)

mintar avatar mintar commented on July 29, 2024

The last not-fully-characterized issue I'll post tonight, I promise.

Keep 'em coming, I'm happy to help. :)

To be honest, I haven't had any good results with the magnetometer on a ground-based indoor robot. The electric motors induce a magnetic field that's orders of magnitude larger than the earth magnetic field, and since it's a dynamic field, it can't be calibrated out. Also other metal parts in the environment introduce disturbances. The only thing that the magnetometer calibration does is that it removes disturbances from static metal parts on your robot. I always turn off the magnetometer in the orientation estimation (of the imu_filter_madgwick package).

Also, yes, gyros do drift. The drift is calibrated out during startup (so it's important that the IMU is at rest when starting the driver):

However, drift accelerates as the IMU heats up, so usually you'll get a systematic drift after 30 minutes or so of operation. What you can do is call the imu/calibrate service every once in a while when the robot is at rest. It isn't done automatically in the driver, since the driver can't know when the robot is at rest.

from phidgets_drivers.

alexwhittemore avatar alexwhittemore commented on July 29, 2024

Oh that's a great tip, certainly a lot easier than power cycling the whole shebang. I'll try it, thanks!

from phidgets_drivers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.