Expand description
Stateless visual localization pipeline composition.
The pipeline builds 2D-3D correspondences from query features and a visual map, runs robust pose estimation, applies optional quality gates, and returns diagnostics-rich localization results. Map providers, descriptor providers, candidate selectors, matchers, and pose estimators are all replaceable.
Structs§
- AllLandmarks
Selector - AllMap
Selector - Binary
Landmark Index - A map’s landmarks with their binary descriptors packed for matching.
- Binary
Match Gates - Acceptance gates of a Hamming match, as in
HammingMatcher. - Correspondence
Builder - Correspondence
Set - Fixed
Landmark Selector - Fixed
Landmark Submap Selector - Frame
Localization Result - Gyro
Wheel Config - Gyro
Wheel Odometry - Fuses wheel odometry poses (its point, level) with a gyro and an accelerometer (any frame fixed to the robot), in time order of each.
- Image
Localizer - InMemory
MapProvider - Intersect
Candidate Selector - Keyframe
Retrieval - A map’s keyframes, described by the words of the landmarks they observe.
- Localization
Config - Localization
Pipeline - Localization
Prior - MapMerge
Config - Settings of
register_mapandmerge_maps. - MapProvider
Stats - MapRegistration
- The transform found by
register_mapand how it was found. - Merged
Map - Result of
merge_maps. - Odom
Correction - Odom
Correction Config - Packed
Descriptors - Binary descriptors stored one bit per value (
>= 0.5is a set bit), as 64-bit words. - Prior
Submap Selector - Projection
Correspondence Builder - ORB-SLAM3-style projection-guided correspondence building: instead of
matching every candidate landmark descriptor against every query
descriptor (
CorrespondenceBuilder’s all-vs-all search), each candidate landmark is projected into the query image with a pose prior and matched only against the query keypoints that fall withinsearch_radius_pxof the projection. This trades the appearance-only search for a much smaller, geometrically-gated candidate window per landmark, which both disambiguates repeated/near-duplicate descriptors (only one is ever in the window) and is materially cheaper when the map is large. - Radius
Landmark Selector - Radius
Submap Selector - Selectable
MapProvider - Unknown
Focal Localization - Result of
LocalizationPipeline::localize_with_unknown_focal. - Wheel
Calibration - Pairs wheel odometry with VIO poses and map localizations as they arrive and fits where the wheel odometry is measured.
- Wheel
Calibration Config - Wheel
Calibration Estimate - What
WheelCalibration::estimatefound.
Enums§
- Calibration
Source - Where a value of a
WheelCalibrationEstimatecomes from. - Correspondence
Build Error - FixOutcome
- What
OdomCorrection::add_fixdid with a fix. - MapMerge
Error
Traits§
Functions§
- localize
- localize_
frame - localize_
frame_ with_ descriptor_ store - localize_
frames - localize_
frames_ with_ descriptor_ store - localize_
with_ descriptor_ store - map_
provider_ stats - merge_
maps - Adds
other, moved bybase_from_other, tobase; see the module documentation. Observation confidences, landmark covariances and stereo observations ofotherare carried over. - register_
map - Finds the transform taking
otherintobase; see the module documentation.
Type Aliases§
- Localization
Ransac - The RANSAC PnP estimator of the default
LocalizationPipeline: its minimal solver is chosen at run time byLocalizationConfig::pnp_solver.