FATAL Error When running RTabMap on TX2 with ROS Kinetic

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

FATAL Error When running RTabMap on TX2 with ROS Kinetic

zwagner
Hi, I am trying to ge mapping functioning on my UAV platform with a TX2. The launch files that I use work with the same installs and settings on my Intel based laptop, but when I try to use them on the TX2, I get the following output.
[ INFO] [1513881576.005866101]: rtabmap: Database version = "0.11.13".
[ INFO] [1513881576.202379959]: Odom: quality=689, std dev=0.010517m|0.010517rad, update time=0.371837s
[ INFO] [1513881576.427952621]: Odom: quality=693, std dev=0.013030m|0.013030rad, update time=0.214548s
[ INFO] [1513881576.474040021]: /rtabmap/rtabmap: queue_size    = 10
[ INFO] [1513881576.474132181]: /rtabmap/rtabmap: rgbd_cameras = 1
[ INFO] [1513881576.474169525]: /rtabmap/rtabmap: approx_sync   = false
[ INFO] [1513881576.474361845]: Setup stereo callback
[ INFO] [1513881576.649833709]: Odom: quality=711, std dev=0.010213m|0.010213rad, update time=0.214209s
[ INFO] [1513881576.874606790]: Odom: quality=698, std dev=0.011677m|0.011677rad, update time=0.215136s
[ INFO] [1513881576.940949081]: 
/rtabmap/rtabmap subscribed to (exact sync):
   /rtabmap/odom,
   /left/image_rect_color,
   /right/image_rect_color,
   /left/camera_info,
   /right/camera_info
[ INFO] [1513881577.094820714]: rtabmap 0.15.0 started...
[ INFO] [1513881577.160559296]: Odom: quality=718, std dev=0.009247m|0.009247rad, update time=0.265601s
[ INFO] [1513881577.397108922]: Odom: quality=712, std dev=0.009310m|0.009310rad, update time=0.205817s
[ INFO] [1513881577.907397742]: Odom: quality=705, std dev=0.009730m|0.009730rad, update time=0.503937s
[ INFO] [1513881578.188407510]: Odom: quality=692, std dev=0.009498m|0.009498rad, update time=0.273334s
[ INFO] [1513881578.695461204]: Odom: quality=702, std dev=0.010454m|0.010454rad, update time=0.461990s
[ERROR] (2017-12-21 13:39:38.867) DBDriverSqlite3.cpp:2489::loadSignaturesQuery() Signature 272 not found in database!
[ERROR] (2017-12-21 13:39:38.867) DBDriverSqlite3.cpp:2752::loadSignaturesQuery() Some signatures not found in database
[ WARN] (2017-12-21 13:39:38.997) Rtabmap.cpp:1860::process() Rejected loop closure 273 -> 296: Not enough inliers 0/20 
(matches=109) between 273 and 296
[FATAL] (2017-12-21 13:39:39.020) DBDriverSqlite3.cpp:5164::stepKeypoint() Condition (rc == SQLITE_OK) not met! [DB error 
(0.11.13): bind or column index out of range]
terminate called after throwing an instance of 'UException'
  what():  [FATAL] (2017-12-21 13:39:39.020) DBDriverSqlite3.cpp:5164::stepKeypoint() Condition (rc == SQLITE_OK) 
not met! [DB error (0.11.13): bind or column index out of range]
[ INFO] [1513881579.082131690]: Odom: quality=699, std dev=0.010487m|0.010487rad, update time=0.367300s
[ INFO] [1513881579.401807950]: Odom: quality=686, std dev=0.009592m|0.009592rad, update time=0.313709s
[ INFO] [1513881579.645255288]: Odom: quality=676, std dev=0.008322m|0.008322rad, update time=0.236889s
[ INFO] [1513881579.967349430]: Odom: quality=666, std dev=0.011303m|0.011303rad, update time=0.302679s
[rtabmap/rtabmap-9] process has died [pid 28874, exit code -6, cmd /home/nvidia/catkin_ws/devel/lib/rtabmap_ros/rtabmap 
rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info 
left/image_rect:=/left/image_rect_color right/image_rect:=/right/image_rect_color left/camera_info:=/left/camera_info 
right/camera_info:=/right/camera_info scan:=/scan scan_cloud:=/scan_cloud __name:=rtabmap 
__log:=/home/nvidia/.ros/log/4369f1c2-e67e-11e7-b4ba-00044b8c777c/rtabmap-rtabmap-9.log].
log file: /home/nvidia/.ros/log/4369f1c2-e67e-11e7-b4ba-00044b8c777c/rtabmap-rtabmap-9*.log
Has anyone had this same problem? Any Idea what this could be? I have used both the repo version of rtabmap and rtabmap_ros as well as building it from the source. There is also no log file created in the directory that the error points me toward.
Reply | Threaded
Open this post in threaded view
|

Re: FATAL Error When running RTabMap on TX2 with ROS Kinetic

matlabbe
Administrator
Hi,

You are using a database with version 0.11.13 in rtabmap version 0.15.0. Normally it should be backward compatible, however I've found a bug in the code, and it should be fixed now by this commit.

Without recompiling, if you don't care about the database, just delete it (remove ~/.ros/rtabmap.db or use --delete_db_on_start argument) and rtabmap will create a new one with latest version.

cheers,
Mathieu
Reply | Threaded
Open this post in threaded view
|

Re: FATAL Error When running RTabMap on TX2 with ROS Kinetic

zwagner
Thanks!  It's working now!

Zach