Open Today20180409 opened 3 years ago
Is the hard drive full at some point? Does it take a particular time to happen? On initialization or when closing?
Thank you for your reply! I've tested many times and found no regularity, not at the beginning or at the end。 I don't know if the hard disk is full when the program exits, and I'll test it. What is the hard drive capacity requirement for running this program?
@matlabbe I've tested it to make sure there's a lot of space left on the hard disk
getDatabaseVersion
would be called from there https://github.com/introlab/rtabmap_ros/blob/8d053bc43f0045378406f0aa0c694244337e4b42/src/MapsManager.cpp#L544
but Admin table should always exists. There is the database schema: https://github.com/introlab/rtabmap/blob/21737f993723c2e5f92471ca153fb92edb92fd51/corelib/src/resources/DatabaseSchema.sql.in#L118-L119
Could you share the database created when this happens?
Thank you again for your reply. I'm sorry, I'm a novice. I don't understand what you mean when you say database is specified? Does it refer to this file of (~/.ros/rtabmap.db)? @matlabbe
yes
When I use depth camera and lidar for SLAM,the program will run normally at the beginning,and I can get a grid map . But the following errors are reported and rtabmap stopped after a while: [FATAL] (2021-03-18 10:33:46.208) DBDriverSqlite3.cpp:306::getDatabaseVersionQuery() Condition (rc == SQLITE_DONE) not met! [DB error (0.20.7): no such table: Admin] terminate called after throwing an instance of 'UException' what(): [FATAL] (2021-03-18 10:33:46.208) DBDriverSqlite3.cpp:306::getDatabaseVersionQuery() Condition (rc == SQLITE_DONE) not met! [DB error (0.20.7): no such table: Admin] [rtabmap-1] process has died [pid 14012, exit code -6, cmd /home/udrive/udrive_v1_1_1/ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start --uinfo rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info odom:=/odom_icp name:=rtabmap log:=/home/udrive/.ros/log/ee110e18-878d-11eb-8e02-00a73d681a98/rtabmap-1.log]. log file: /home/udrive/.ros/log/ee110e18-878d-11eb-8e02-00a73d681a98/rtabmap-1*.log
I have tried run the program source with different ways of source compilation and binary installation, but the result was the same. my launch files as following:
I have been bothered by this problem for a long time. Can anyone help me? thank you.