Closed sanjay-swain closed 5 months ago
Could be a calibration issue. What are the commands you executed? I could doublecheck on my side with a realsense. The processing time looks high (200-300 ms per frame), what kind of computer are you using? Depending on the realsense you are using, I generally recommend to use the IR cameras (without ir projector) for better pose estimation, like this example https://github.com/introlab/rtabmap_ros/blob/ros2/rtabmap_examples/launch/realsense_d435i_infra.launch.py
I am running it on my laptop. i5 9300H processor... It is a D455. Let me look into those examples.
Edit: I have rerun the example and the same error is happening... I am recalibrating the imu.. let's see if it will fix the issue.
Can you run without the IMU? I cannot reproduce the issue with my camera and same example. Which rtabmap version are you using?
Yes the imu data is faulty. For some reason the realsense node is outputting bad gyro data to /camera/imu topic... But when I check on realsense-viewer
the gyro and acceleration streams are completely fine... Are you using D455 camera for your tests?
I found another issue reported here https://github.com/CCNYRoboticsLab/imu_tools/issues/193. It seems like the same issue as I am facing...
I am using ros humble version rtabmap:
❯ rtabmap --version
RTAB-Map: 0.21.4
PCL: 1.12.1
With VTK: 9.1.0
OpenCV: 4.5.4
With OpenCV xfeatures2d: false
With OpenCV nonfree: false
With ORB OcTree: true
With SuperPoint Torch: false
With Python3: false
With FastCV: false
With OpenGV: false
With Madgwick: true
With PDAL: false
With TORO: true
With g2o: true
With GTSAM: true
With Vertigo: true
With CVSBA: false
With Ceres: false
With OpenNI2: true
With Freenect: false
With Freenect2: false
With K4W2: false
With K4A: false
With DC1394: true
With FlyCapture2: false
With ZED: false
With ZED Open Capture: false
With RealSense: false
With RealSense SLAM: false
With RealSense2: false
With MYNT EYE S: false
With DepthAI: false
With libpointmatcher: true
With CCCoreLib: false
With Open3D: false
With OctoMap: true
With GridMap: true
With cpu-tsdf: false
With open chisel: false
With Alice Vision: false
With LOAM: false
With FLOAM: false
With FOVIS: false
With Viso2: false
With DVO: false
With ORB_SLAM: false
With OKVIS: false
With MSCKF_VIO: false
With VINS-Fusion: false
With OpenVINS: false
I have checked with both imu_filter_madgwick
and imu_complementary_filter
. It doen't look like rtabmap issue.. let me check in the respective repos
Thanks for your support!
Update: Well I rebuilt realsense-ros
package with latest commit and it is fixed now. It was an issue with humble version of realsense-ros
which was giving bad gyro data to topic...
@sanjay-swain same issue here in terms of drift, realsense-viewer is fine, which branch did you end up using on librealsense and realsense-ros side ?
Hey. I used the current ros 2 branch with the latest commits. My logic behind this issue is that ros humble version of realsense ros is outdated and librealsense library is updated to latest version. Due to this realsense Ros is not working properly.
I am trying a simple example of handheld mapping. But when all the nodes are running I find the entire frame is constantly as shown in the video below. I have no idea what is causing the issue. I have tried checking the imu of the realsense but it is fine.
Error output:
https://github.com/introlab/rtabmap_ros/assets/59828852/769db746-1476-4148-bb72-90976dbcaab3
Any guidance will be helpful. I have tried multiple settings change from camera side but same thing is happening...