Code Monkey home page Code Monkey logo

Comments (3)

Steven-GH avatar Steven-GH commented on July 4, 2024

Hi @Youras,

If your MTi device is configured to output SampleTimeFine (which it should be, as otherwise the imu/time_ref topic would not be published) then the MTi will output all of its Acceleration data samples together with its corresponding SampleTimeFine value, as a single data packet.

Upon arrival of this data packet, the imu/time_ref and imu/acceleration topics are created and the header.seq and header.stamp values are assigned by ROS. Only the time_ref field of the imu/time_ref topic is filled with the SampleTimeFine value.

I am not sure what causes the difference in header.seq value here, but considering the above, if the two topics have the same ROS timestamp then I would expect them also to correspond to each other.

from xsens_mti_ros_node.

Youras avatar Youras commented on July 4, 2024

Thanks. for your fast answer @StevenXsens

Okay if time_ref and acc come with the same data packet, then the delay of the low pass filter shouldn't be measurable this way. I can also confirm that /imu/angular_velocity share the same header.seq value with /imu/time_ref at approx. same ROS time stamp.

I forgot to mention, that above I was comparing with /filter/free_acceleration, not with the raw acc data.

  1. Do time_ref and free_acceleration still come with the same data packet?

  2. Are the digital low pass filters for the accelerometer and the gyroscope the same (and therefore share the same time delay)?

  3. Apart from that, when does the SampleTimeFine function actually stamp the time? In the Output Message Generator? considering the following Block diagram:

IMU_blocks

from xsens_mti_ros_node.

Steven-GH avatar Steven-GH commented on July 4, 2024

Hi @Youras,

Apologies for the delayed response; I was unavailable for the past two weeks.

  1. The time_ref and free_acceleration messages are indeed grouped together as a single data packet. In fact, the time_ref (SampleTimeFine) timestamp is added to every data packet that is sent out by the MTi.
  2. The block diagram you copied here actually does not apply to the MTi-620, but to the MTi 100-series. One of the differences is that the MTi 100-series uses analog accelerometers/gyroscopes whereas the MTi-620 uses digital sensors. Unfortunately I do not have details regarding the low-pass filtering but I can say that we take care of properly synchronizing the accelerometer and gyroscope data.
  3. The SampleTimeFine value represents the time at which each 400 Hz sampling interval starts. The SDI (Strap-Down Integration) block is responsible for this, integrating sensor data sampled at high rates (several kHz depending on your MTi model) down to 400 Hz.

from xsens_mti_ros_node.

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.