-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
How to get synchronized imu data without ROS #9138
Comments
Hi @lbw0502 The purpose of unite_imu_method in ROS is to publish two separate IMU topics (Gyro and Accel) as a single topic called imu. Its linear interpolation condition interpolates accel messages to the gyro timestamp. In librealsense though, Gyro and Accel are published as separate streams. Sync for gyro and accel in the SDK for the purposes of VIO is a subject that has been discussed in the past in the links below. I am not aware of a standard built-in function for doing so in librealsense though. In regard to setting a frequency for gyro and accel separately, could you tell me whether you are using C++ or Python please so that I can provide the correct programming information. Thanks! |
Thanks for your reply! I am using C++. |
Thanks very much for the confirmation. The link below provides information about defining a gyro and accel stream in C++, the frequencies that are supported for gyro and accel, and a link to a full C++ IMU script. https://support.intelrealsense.com/hc/en-us/community/posts/1500001145522/comments/1500000958142 |
Hi @lbw0502 Do you require further assistance with this case, please? Thanks! |
Hi MartyG, sorry for the late reply... I have found another way to do the synchronization. Here is the link: I have solved my problem. Thanks for your help :) |
No problem at all @lbw0502 - it is excellent news that you found a solution, and thanks very much for sharing it with the RealSense ROS community! :) |
Hi,
I am using D455 to develop VIO algorithm.
if I use ROS, I can change the
accel_fps
,accel_fps
, and setunite_imu_method
as linear_interpolation in launch file to get synchronized imu data.My question is:
If I only use realsense sdk(without ROS) to open the camera, how should I change the imu rate and get such synchronized imu data?
I didn't find it in the sdk.
Thanks for help!
The text was updated successfully, but these errors were encountered: