Robotics StackExchange | Archived questions

d435i realsense and robot_localization

Hi friends,

Does someone here know how I need to configure my robotlocalization parameters for my imu topic which sent by the camera. I use the latest firmware and sdk of the realsense. I set the "camera/accel/sample" for an input to imu0 in the robotlocalization node but it seems that nothing happen. I changed the matrix a lot. I will glad if someone can publish here his launch file for that camera. I think maybe the output from the camera is wrong because I saw some posts about axis issues of that imu frames.

Tnx Aviad

Asked by Aviad on 2019-06-19 09:06:14 UTC

Comments

Answers

Hi perhaps you want to try SLAM with D435i provided by the intel realsense wiki. This will provide much more accurate odometry than you can ever get from purely IMU based localization as the IMU is not the best quality and requires double integration to get position, which will drift after a few seconds.

If for some reason you still want to use the IMU to fuse with other odometry sources you might have (wheel, lidar, etc), then you can use the imu_filter_madgwick package to fuse the Realsense gyroscope and accelerometer values to a single IMU sensor message, which will be much easier to integrate with robot_localization. The filter also does some post processing to smoothen the values, which is better for real life performance.

Asked by hashirzahir on 2020-04-27 01:39:26 UTC

Comments