Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the delta time between IMU readouts #2

Open
dylanmckay opened this issue Mar 13, 2018 · 7 comments
Open

Document the delta time between IMU readouts #2

dylanmckay opened this issue Mar 13, 2018 · 7 comments

Comments

@dylanmckay
Copy link
Owner

No description provided.

@dylanmckay dylanmckay added the information-needed We need to find out more information to document it label Mar 13, 2018
@mungewell
Copy link

Read the wiki here:
https://github.com/gusmanb/PSVRFramework/wiki

We spent quite a bit of time digging/reverse engineering/documenting this data... and you're free to re-use.

@dylanmckay
Copy link
Owner Author

Thanks @mungewell!

@m-7761
Copy link

m-7761 commented Jun 22, 2018

I looked at this once. I remember seeing 200 samples per second, or an interval of 0.005 seconds. They are unwavering. I don't think this figure is mistaken. (I can easily check it. I would if I had the set out/on ATM. In fact, I'll make a note to...)

It's 2000/s, or 0.0005. This is inline with talk of the sample rate being 2 per 1/1000th of a second. It seems like a lot, compared to real-time frame rates.

@m-7761
Copy link

m-7761 commented Jun 23, 2018

2000/s, or 0.0005

@dylanmckay dylanmckay removed the information-needed We need to find out more information to document it label Jun 24, 2018
@dylanmckay dylanmckay changed the title Find out the delta time between IMU readouts Document the delta time between IMU readouts Jun 24, 2018
@dylanmckay
Copy link
Owner Author

Perfect, cheers @mick-p1982!

@dylanmckay
Copy link
Owner Author

To confirm, is this the delta time between the two sets of accelerometer and gyro readings within a single sensor frame, or is this the minimum delta time between any two successful reads on the sensor interface?

@m-7761
Copy link

m-7761 commented Jul 1, 2018

It's the delta between the two samples packaged in each USB data packet, for example. It's typically like clockwork, although I have observed other values. Although I wouldn't be surprised if the other values were because the UDP buffer overflowed, possibly because of breaking into the program to debug it...

In that case you'd be missing many samples that were discarded by the UDP buffer (dropped datagrams) and so naturally the delta would reflect the difference between the two valid/available datagrams.

The timing is very precise. I don't know if temperature or other conditions could cause it to change. It may be so regular that it's only value is to recognize when data is lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants