Skip to main content

Crate visloc_localization

Crate visloc_localization 

Source
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§

AllLandmarksSelector
AllMapSelector
BinaryLandmarkIndex
A map’s landmarks with their binary descriptors packed for matching.
BinaryMatchGates
Acceptance gates of a Hamming match, as in HammingMatcher.
CorrespondenceBuilder
CorrespondenceSet
FixedLandmarkSelector
FixedLandmarkSubmapSelector
FrameLocalizationResult
GyroWheelConfig
GyroWheelOdometry
Fuses wheel odometry poses (its point, level) with a gyro and an accelerometer (any frame fixed to the robot), in time order of each.
ImageLocalizer
InMemoryMapProvider
IntersectCandidateSelector
KeyframeRetrieval
A map’s keyframes, described by the words of the landmarks they observe.
LocalizationConfig
LocalizationPipeline
LocalizationPrior
MapMergeConfig
Settings of register_map and merge_maps.
MapProviderStats
MapRegistration
The transform found by register_map and how it was found.
MergedMap
Result of merge_maps.
OdomCorrection
OdomCorrectionConfig
PackedDescriptors
Binary descriptors stored one bit per value (>= 0.5 is a set bit), as 64-bit words.
PriorSubmapSelector
ProjectionCorrespondenceBuilder
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 within search_radius_px of 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.
RadiusLandmarkSelector
RadiusSubmapSelector
SelectableMapProvider
WheelCalibration
Pairs wheel odometry with VIO poses and map localizations as they arrive and fits where the wheel odometry is measured.
WheelCalibrationConfig
WheelCalibrationEstimate
What WheelCalibration::estimate found.

Enums§

CalibrationSource
Where a value of a WheelCalibrationEstimate comes from.
CorrespondenceBuildError
FixOutcome
What OdomCorrection::add_fix did with a fix.
MapMergeError

Traits§

CandidateSelector
DescriptorProvider
MapProvider
SubmapSelector

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 by base_from_other, to base; see the module documentation. Observation confidences, landmark covariances and stereo observations of other are carried over.
register_map
Finds the transform taking other into base; see the module documentation.