Article directory
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.
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
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.