I have problem when run rtabmap
I try to run rosbag play --clock demo_mapping.bag and I error like in the picture, the rtabmap still running, but it cannot display when I only run rtabmap, the error is Segmentation fault (core dumped) Does any one has this problem and have solution? |
Administrator
|
Hi,
When running the robot mapping demo, I also have the warning and error at the start of the bag, but they disappear when rtabmap starts processing frames: [ INFO] [1491935040.186700765]: rtabmap 0.12.5 started... [ WARN] [1491935043.220436162, 1368730003.796247578]: Could not get transform from base_footprint to /openni_rgb_optical_frame after 0.200000 seconds (for stamp=1368730003.413204)! Error="Lookup would require extrapolation into the past. Requested time 1368730003.413204402 but the earliest data is at time 1368730003.865693820, when looking up transform from frame [openni_rgb_optical_frame] to frame [base_footprint]. canTransform returned after 0.201606 timeout was 0.2.". [ WARN] [1491935043.220495036, 1368730003.796247578]: Could not get transform from base_footprint to /openni_rgb_optical_frame after 0.200000 seconds (for stamp=1368730003.413204)! Error="Lookup would require extrapolation into the past. Requested time 1368730003.413204402 but the earliest data is at time 1368730003.419949004, when looking up transform from frame [openni_rgb_optical_frame] to frame [base_footprint]. canTransform returned after 0.201606 timeout was 0.2.". [ERROR] [1491935043.220585120, 1368730003.796247578]: TF of received depth image 0 at time 1368730003.413204s is not set! [ERROR] [1491935043.220654077, 1368730003.796247578]: TF of received depth image 0 at time 1368730003.413204s is not set! [ERROR] [1491935043.220693602, 1368730003.796247578]: Could not convert rgb/depth msgs! Aborting rtabmapviz update... [ERROR] [1491935043.220772784, 1368730003.796247578]: Could not convert rgb/depth msgs! Aborting rtabmap update... [ WARN] [1491935043.425465475, 1368730003.997874537]: Could not get transform from base_footprint to /openni_rgb_optical_frame after 0.200000 seconds (for stamp=1368730003.513340)! Error="Lookup would require extrapolation into the past. Requested time 1368730003.513339798 but the earliest data is at time 1368730003.865693820, when looking up transform from frame [openni_rgb_optical_frame] to frame [base_footprint]. canTransform returned after 0.201627 timeout was 0.2.". [ERROR] [1491935043.425537552, 1368730003.997874537]: TF of received depth image 0 at time 1368730003.513340s is not set! [ERROR] [1491935043.425577035, 1368730003.997874537]: Could not convert rgb/depth msgs! Aborting rtabmapviz update... [ INFO] [1491935044.340319242, 1368730004.905285968]: rtabmap (1): Rate=1.00s, Limit=0.000s, RTAB-Map=0.2090s, Maps update=0.0205s pub=0.0006s (local map=1, WM=1) [ INFO] [1491935045.403394844, 1368730005.979162280]: rtabmap (2): Rate=1.00s, Limit=0.000s, RTAB-Map=0.1832s, Maps update=0.0056s pub=0.0000s (local map=1, WM=1) [ INFO] [1491935046.480206598, 1368730007.052732142]: rtabmap (3): Rate=1.00s, Limit=0.000s, RTAB-Map=0.2262s, Maps update=0.0065s pub=0.0000s (local map=2, WM=2) ... rtabmapviz process has died error is not normal. What is your ros distro/rtabmap version? You can try the RVIZ version of the mapping demo to see if it works. cheers, Mathieu |
Hi Mathiew,
Actually everything work fine until I try to install form source, first in binary rtabmap everything is ok. Because I uninstall binary rtabmap and try to install it form source when I install form source, in step Install RTAB-Map ros-pkg in your src folder of your Catkin workspace. $ cd ~/catkin_ws $ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros $ catkin_make -j1 I got an error when I run catkin_make -j1 and then when I type rtabmap, it display on screen 1 second before the program break and error is |
Administrator
|
Hi,
internal compiler error is a compiler error, just try to catkin_make again. Sometimes it is because there is not enough RAM to build. That file requires ~1.8 GB to compile. If you don't have enough RAM, make sure to have swap memory. Can I assume that "rtabmap" you are starting is the one in /use/local/bin? ("$ which rtabmap") A Seg fault on start like that looks like a dependency issue. Do you have multiple OpenCV installed? Can you print "$ ldd rtabmap"? cheers, Mathieu |
Hi Mathieu,
I uninstall every thing and try to install again on a new computer, now every thing work fine, the code can be compile form source. But, when I run rtabmap and and this error appear. |
Free forum by Nabble | Edit this page |