NVIDIA-ISAAC-ROS / isaac_ros_visual_slam

Visual SLAM/odometry package based on NVIDIA-accelerated cuVSLAM
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
819 stars 127 forks source link

"Tracker is lost" on KITTI rosbag #43

Closed hemalshahNV closed 1 year ago

hemalshahNV commented 1 year ago

Alright, i was able to launch example code using docker. It works. But I'm still getting nowhere trying to launch one of the kitti rosbags using ros2 bag play ../datasets/kitti/rosbags/ros2/kitti_2011_09_29_drive_0071_synced/ --remap /kitti/camera_gray_right/image_raw:=/stereo_camera/right/image /kitti/camera_gray_left/image_raw:=/stereo_camera/left/image /kitti/camera_gray_left/camera_info:=/camera_info_left /kitti/camera_gray_right/camera_info:=/camera_info_right command. Still "Tracker is lost" issue.

_Originally posted by @DaddyWesker in https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/37#issuecomment-1188968363_

hemalshahNV commented 1 year ago

@DaddyWesker Could you tell us where you obtained this KITTI rosbag from? There may be missing frames in the recording that can lead to "tracker lost" issues. Here are the official results for Isaac Visual SLAM on KITTI.

DaddyWesker commented 1 year ago

Well, I've downloaded a sequence from kitti website, used kitti2bag to make a rosbag (ros1 bag) which I've used with other SLAM systems and it worked fine. Then, since your isaac is based on ROS2 i needed to convert ros1 bag to ros2 bag. I've used these two repos for that purpose.

https://github.com/leo-drive/ros1_bridge https://github.com/leo-drive/proto_to_rosbag2

swapnesh-wani-nvidia commented 1 year ago

Are you seeing "Tracker is lost" frequently or just at the beginning? Also, could you verify if the output of your rosbag and output poses from Isaac ROS Visual SLAM are correlated? Do you see any sudden jumps in the image sequence (from your rosbag)? This is just to verify if there are any skipped frames or timestamp issues that could lead to a "Tracker is lost" scenario.

Corufa commented 1 year ago

I prepared the KITTI dataset in the same way as @DaddyWesker and ran the sample code. However, I frequently get the message "Tracker is lost". rviz confirmed that there are no sudden jumps in the image sequence.