Rejected loop closure 93 -> 173: Too large rotation detected!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Rejected loop closure 93 -> 173: Too large rotation detected!

leodomitrovic
Hi,

I am doing 3D mapping with Kinect 360 camera using RTABMAP. Mapping starts well and then I start getting this two errors:

"[ WARN] (2020-07-22 14:50:09.654) Rtabmap.cpp:2144::process() Rejected loop closure 93 -> 173: Too large rotation detected! (pitch=0.000000, yaw=0.000000) max is -1.628242"

[ WARN] (2020-07-22 14:57:33.872) Rtabmap.cpp:2144::process() Rejected loop closure 57 -> 99: Not enough inliers after bundle adjustment 0/20 (matches=70) between 57 and 99

They occur in between lots of successful readings. For moving a robot I use:

rostopic pub -1 cmd_vel geometry_msgs/Twist '[0.1, 0, 0]' '[0, 0, 0]'
and for rotation I use:

rostopic pub -1 cmd_vel geometry_msgs/Twist '[0, 0, 0]' '[0, 0, 0.1]'
I am using Pioneer 3-AT with ROS Melodic.

Here is my Gazebo world: https://imgur.com/a/B1bPeDE Here are my map when it is still correct: https://imgur.com/a/4Iqg4Tg, and when error occurs: https://imgur.com/a/vv7x60W

Here is my rtabmap.launch file:

<launch>

<node pkg="nodelet" type="nodelet" name="rgbd_sync" args="standalone rtabmap_ros/rgbd_sync" output="screen">
      <remap from="rgb/image"        to="/camera/rgb/image_raw"/>
      <remap from="depth/image"      to="/camera/depth/image_raw"/>
      <remap from="rgb/camera_info"  to="/camera/rgb/camera_info"/>
      <remap from="rgbd_image"       to="rgbd_image"/> 
     
       
   
    </node>


<node pkg="rtabmap_ros" type="rgbd_odometry" name="rgbd_odometry" output="screen">
   
    <remap from="rgb/image"       to="/camera/rgb/image_raw"/>
    <remap from="depth/image"     to="/camera/depth/image_raw"/>
    <remap from="rgb/camera_info" to="/camera/rgb/camera_info"/>
   
    <remap from="rgbd_image" to="rgbd_image"/>
   
   
</node>
<node pk<launch>

<node pkg="nodelet" type="nodelet" name="rgbd_sync" args="standalone rtabmap_ros/rgbd_sync" output="screen">
      <remap from="rgb/image"        to="/camera/rgb/image_raw"/>
      <remap from="depth/image"      to="/camera/depth/image_raw"/>
      <remap from="rgb/camera_info"  to="/camera/rgb/camera_info"/>
      <remap from="rgbd_image"       to="rgbd_image"/> 
     
       
   
    </node>


<node pkg="rtabmap_ros" type="rgbd_odometry" name="rgbd_odometry" output="screen">
   
    <remapg="robot_localization" type="ekf_localization_node" name="ekf_localization" clear_params="true" output="screen">
 
 
 
 

 
   

 
  <rosparam param="odom0_config">[true, true, false,
                                  false, false, true,
                                  false, false, false,
                                  false, false, false,
                                  false, false, false]</rosparam>

  <rosparam param="pose0_config">[
                                 true,   true,  false,
                                 false,  false, true,
                                 false,  false, false,
                                 false,  false, false,
                                 false,  false, false] </rosparam> 

 
 

 
 

 
 
</node>

<node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="--delete_db_on_start">
   
   
   

    <remap from="odom"       to="odom"/>
    <remap from="rgbd_image" to="rgbd_image"/>

   
   

   
   
   
   
   
   
   
   
     
   
   
   
</node>
</launch>

Did someone have this problem or does someone know how to fix it? Thanks in advance.

Best regards.