Get motion data from Frameset for Synchronous application
I am trying to get the motion data from D435i and I am getting it successfully if I try to use rs-motion.cpp example and start the pipeline with the lambda function but that sends out exception when I use poll_for_frames function.
I have an existing code which uses poll_from_frames so I won't be able to remove that and the frameset I received doesn't contain the motion_frame data. I am confused on how to get that as I need synchronous data.
Thank you.
-
Have you seen Intel's guide on getting IMU data from the D435i, please?
https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/
The guide says: "The D435i depth camera generates and transmits the gyro and accelerometer samples independently, as the inertial sensors exhibit different FPS rates (200/400Hz for gyro, 63/250Hz for accelerometer). Each IMU data packet is timestamped using the depth sensor hardware clock to allow temporal synchronization between gyro, accel and depth frames".
There is a sample script at the end of the guide.
Please sign in to leave a comment.
Comments
3 comments