and gmapping is running great but in RTabMap I get this
/rtabmap/rtabmap subscribed to (approx sync):
[ INFO] [1535643596.399870975]: rtabmap 0.17.4 started...
[FATAL] (2018-08-30 21:09:57.861) util3d_mapping.cpp:810::rayTrace() Condition (end.x >= 0 && end.x < grid.cols) not met! [end.x=236 grid.cols=191]
terminate called after throwing an instance of 'UException'
what(): [FATAL] (2018-08-30 21:09:57.861) util3d_mapping.cpp:810::rayTrace() Condition (end.x >= 0 && end.x < grid.cols) not met! [end.x=236 grid.cols=191]
[rtabmap/rtabmap-27] process has died [pid 4668, exit code -6, cmd /home/user/mapping/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info depth_camera_info_topic:=/camera/depth/camera_info scan:=/scan_filtered odom:=/odom __name:=rtabmap __log:=/home/user/.ros/log/faccf7fe-ac69-11e8-b7fb-e0946779494c/rtabmap-rtabmap-27.log].
log file: /home/user/.ros/log/faccf7fe-ac69-11e8-b7fb-e0946779494c/rtabmap-rtabmap-27*.log
how to overcome this problem?
I am actually trying to use Kinect XBOX360-freenect, RPLidar-A1-scan, IMU+ENCODER=odom to do RTabMap. Please ignore gmapping if it was meaning less to both simultaneously. But help me use KINECT+ODOM+SCAN............
This is an issue with the released binaries version when Grid/CellSize is set to 1 cm, that issue is fixed in latest source code (see this issue). Set it back to 5 cm as a workaround if you don't want to rebuild rtabmap from source.