Code Monkey home page Code Monkey logo

Comments (4)

omaris avatar omaris commented on August 17, 2024

Could you please point us to the respective parts in the code where the
error is evaluated?

On Mon, Jun 15, 2015 at 6:20 PM, Ali Alawieh [email protected]
wrote:

Hello,

Once again, I am not sure, but comparing AccelerometerError.cpp and
GyroscopeError.cpp under kalibr/aslam_offline_calibration/kalibr/src, why
do you pre-multiply by C_b_w in the first file, while you don't in the 2nd
file?


Reply to this email directly or view it on GitHub
#26.

from kalibr.

AliAlawieh avatar AliAlawieh commented on August 17, 2024

Sure, it is line 16 of AccelerometerError.cpp:
_predictedMeasurement = C_b_w * (acceleration_w - g_w) + bias;

and line 14 of GyroscopeError.cpp:
_predictedMeasurement = angularVelocity + bias;

from kalibr.

simonlynen avatar simonlynen commented on August 17, 2024

As you see from the frames of reference of the quantities involved you see that the accel and gravity quantities are expr in the world frame while the bias for accel is in the body frame. Thus you need to transform the quantities into the same frame of ref by premultiplying the rotation matrix C_b_w.

For the gyro this is not needed since the angVel is already given in the body frame.

from kalibr.

AliAlawieh avatar AliAlawieh commented on August 17, 2024

Oh, I thought the angular velocity was just like the acceleration, i.e. expressed in the world frame.
Checking what is passed to the gyroscope error function when called, I found:
wk = poseSplineDv.angularVelocityBodyFrame(tk)
while what is passed to the accelerometer function is:
ak = poseSplineDv.linearAcceleration(tk)
So, you're right... acceleration_w is in the world frame while angularVelocity is in the body frame
Thanks for clearing the confusion :)

from kalibr.

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.