GithubHelp home page GithubHelp logo

Gyroscope Offset Algorithm about fusion HOT 7 OPEN

bdeming155 avatar bdeming155 commented on July 24, 2024
Gyroscope Offset Algorithm

from fusion.

Comments (7)

xioTechnologies avatar xioTechnologies commented on July 24, 2024

Please can you share the data used to generate those plots. The offset correction algorithm works well in most applications but is understood to be incompatible with applications involving extremely smooth and slow motion. What is your application?

from fusion.

bdeming155 avatar bdeming155 commented on July 24, 2024

Thank you, I can email you the data if that works? Is there a good email address for xio technologies?

from fusion.

xioTechnologies avatar xioTechnologies commented on July 24, 2024

You can share here or email [email protected]

from fusion.

bdeming155 avatar bdeming155 commented on July 24, 2024

Thanks, just sent it to that email address

from fusion.

xioTechnologies avatar xioTechnologies commented on July 24, 2024

You have not responded to my question. What is your application? I would like to understand what the IMU is attached to and what kind of motion is expected.

from fusion.

bdeming155 avatar bdeming155 commented on July 24, 2024

This is for a marine application. The IMU is fixed to a small vehicle which is launched from a ship. The vehicle is powered on and initialized on the ship, and then is launched and dives below the water. This is why we have GPS heading at the beginning of the log and then it cuts out. Both the ship and vehicle dynamics are relatively slow. There is also a fair amount of vibration detected by the IMU due to motors on the vehicle.

from fusion.

xioTechnologies avatar xioTechnologies commented on July 24, 2024

Thank you for sharing the data and describing the application. I have plotted the first 2 minutes of gyroscope measurements below.

image

The gyroscope measurements represent exceptionally smooth motion and so would not be compatible with the offset correction algorithm. This is not an issue and is not unexpected. Any x-io product that includes the offset correction algorithm also includes the option to disable it for precisely these situations. The AHRS algorithm already works well without the offset correction algorithm, as demonstrated by your original plot.

You are using magnetic_rejection: float = 10. This enables the magnetic rejection feature with an error threshold of 10°. In the case of update_external_heading, this will mean that spurious GPS heading errors (>10°) will be rejected unless they persist for the recovery_trigger_period. If the GPS heading and AHRS heading disagree for the this period then the AHRS algorithm will immediately update to match the GPS heading. You may which to monitor the magnetic_recovery flag for an application-level indication of this event.

It is not clear from your post what the numerical value of recovery_trigger_period is. The units of this parameter is samples. If the sample rate is 200 Hz and the intended period is 5 seconds, then the value of recovery_trigger_period must be 1000 = 200 Hz * 5 seconds.

from fusion.

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.