You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, AccelerometerData has only one property which is a Vector3 . The gyroscope and magnetometer is the same. So I don‘t know how to get the accurate time the sensor acquires the current data. Is it possible to add a property of timestamp data in the struct?
I've tried to use DateTime.Now when ReadingChanged event is invoked, just like: (based on the document)
But it seems to be kind of weird since it is not the real time when the data changes. There is a period of time between when the accelerometer actually gets the data and when the event responds. And why the unit of accelerometer is G(9.81 m/s^2)? As a university student studying navigation engineering, I need to use the timestamp of sensor data in many inertial navigation algorithms, where the accelerometer data is in m/s^2. And that means I need to multiply by 9.81 manually after I get the data to convert the unit from G to m/s^2. I think it makes no sense to set the unit of accelerometer data to G, since gravity varies around the world.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
For example,
AccelerometerData
has only one property which is aVector3
. The gyroscope and magnetometer is the same. So I don‘t know how to get the accurate time the sensor acquires the current data. Is it possible to add a property of timestamp data in the struct?I've tried to use
DateTime.Now
whenReadingChanged
event is invoked, just like: (based on the document)But it seems to be kind of weird since it is not the real time when the data changes. There is a period of time between when the accelerometer actually gets the data and when the event responds. And why the unit of accelerometer is
G
(9.81 m/s^2)? As a university student studying navigation engineering, I need to use the timestamp of sensor data in many inertial navigation algorithms, where the accelerometer data is in m/s^2. And that means I need to multiply by 9.81 manually after I get the data to convert the unit fromG
to m/s^2. I think it makes no sense to set the unit of accelerometer data toG
, since gravity varies around the world.Beta Was this translation helpful? Give feedback.
All reactions