Skip to content
  • Nicolas Cadart's avatar
    [fix] Use WORLD coordinates input bounding box to extract points from RollingGrid · 265ab9fc
    Nicolas Cadart authored
    Before, user had to specify relative bounding box inb BASE coordinates.
    This same relative bounding box was used to extract local keypoints from map, and to roll it later.
    
    But this bounding box was in relative coordinates, and was not correctly rotated to WORLD coordinates.
    Therefore, some cells were incorrectly extracted, and others were missing.
    
    Now, user can directly specify a WORLD bounding box to extract keypoints.
    Also, the Add() method can automatically call the Roll() method by computing the bounding box of the new points to add.
    
    By fixing previous wrong extraction and rolling, this improves SLAM precision as more keypoints can be matched.
    265ab9fc