Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix raytracing origin #1850

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 3, 2022

  1. Fix raytracing origin

    Adds the laser ray origin to `RangefinderPoint` to enable
    correct raytracing of range data misses into a 2D probability
    grid also after scan accumulation.
    
    Previously, all rays were casted from their hit point to the
    tracking frame. This is wrong for any setup where the tracking
    frame is not the sensor frame and leads to artifacts in the map.
    
    Fixes: cartographer-project#947
    Signed-off-by: Valerio Magnago <magnago@magazino.eu>
    ValerioMagnago committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    136b521 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Before the origin of the RangefinderPoint was not always initialized.
    This generate instable test results. This commit fixes this problem
    by initializing properly the origin to (0,0,0).
    
    Signed-off-by: Valerio Magnago <magnago@magazino.eu>
    ValerioMagnago committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    848dcdd View commit details
    Browse the repository at this point in the history
  3. Fix RangefinderPoint comparison

    Before the origin was not taken into account when comparing RangefinderPoint.
    This commit add the comparison of the origin when comparing two RangefinderPoint.
    
    Signed-off-by: Valerio Magnago <magnago@magazino.eu>
    ValerioMagnago committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    611a5fc View commit details
    Browse the repository at this point in the history