lifelong-robotic-vision / OpenLORIS-Scene

Issue tracker of the OpenLORIS-Scene dataset and Lifelong SLAM Challenge
20 stars 5 forks source link

Combining accelerometer and gyroscope #18

Closed arindamsaha81 closed 4 years ago

arindamsaha81 commented 4 years ago

Hello,

I m trying to run VINS-RGBD with your rosbag. The slam code expect accelerometer and gyroscope to be in a single topic. I get /camera/imu topic by linear_interpolation of /camera/accel/sample and /camera/gyro/sample which is provided by the realsense-ros. But your rosbag contains accelerometer and gyroscope on separate topics. Do you have any script or any application that combine them with linear_interpolation into a single topic?

Thanks in advance.

cedrusx commented 4 years ago

Hi, please check this script.

Usage: ./unite_imu_topics.py office1-1.bag office1-2.bag ...

arindamsaha81 commented 4 years ago

Hi @cedrusx Thanks a lot.