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
813 stars 126 forks source link

ROS 2 bag play error #135

Closed gtep96 closed 6 months ago

gtep96 commented 7 months ago

Hello, i'm trying to go through the tutorial (https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_visual_slam/isaac_ros_visual_slam/index.html#quickstart): i've set the environment up and met all the requirements. The ROS node and the RViz launch fine, but when i'm trying to launch the rosbag file i'm getting this error:

admin@LOQ-16IRH8:/workspaces/isaac_ros-dev$ ros2 bag play src/isaac_ros_visual_slam/isaac_ros_visual_slam/test/test_cases/rosbags/small_pol_test/
[ERROR] [1701683426.900077380] [rosbag2_storage]: Could not open 'src/isaac_ros_visual_slam/isaac_ros_visual_slam/test/test_cases/rosbags/small_pol_test/small_pol_test_0.db3' with 'sqlite3'. Error: Failed to setup storage. Error: Error when processing SQL statement. SQLite error (26): file is not a database
[ERROR] [1701683426.900103663] [rosbag2_storage]: Could not load/open plugin with storage id 'sqlite3'
No storage could be initialized. Abort

i've tried to fix it installing rosbag2 plugin with apt-get install ros-humble-rosbag2 but this didn't help. How can i fix it?

jaiveersinghNV commented 7 months ago

You may need to git lfs pull to download the full rosbag file. Since these files are very large, we don't materialize them by default when a user clones the repo from GitHub.

gtep96 commented 7 months ago

@jaiveersinghNV

Great thanks, this helped. Maybe it's necessary to mention git lfs pull command in the tutorial? I can't find neither in the Slam tutorial, nor in the Environment Setup.

jaiveersinghNV commented 6 months ago

Glad it worked! Yes, we'll update our documentation to call this out explicitly.