Subscribe to the IMU topic of realsense

Modify configuration parameters

Various configuration parameters for the camera are passed to the ROS system through the /realsense-ros/realsense2_camera/launch/rs_camera.launch file.
insert image description here
Modify enable_gyro and enable_accel to true

start node

After installing the corresponding realsense-ros package according to the instructions on the Github page, run the following command line to start the camera:

roslaunch realsense2_camera rs_camera.launch

insert image description here

Set sync options

If the linear_interpolation option is used, the data of the accelerometer can be aligned to the time axis of the gyroscope data by interpolation;

If the copy option is used, each gyroscope data is appended with the time-nearest neighbor accelerometer data.

The default option is: None.

Guess you like

Origin blog.csdn.net/weixin_42990464/article/details/131937565
IMU
IMU