Configuration Guide

All tunable parameters across FusionConfig, PredConfig, and LocalizationConfig with defaults and deployment guidance.

Fusion configuration

The FusionConfig struct controls sensor inputs, power budget, occupancy resolution, and degraded-mode behavior. Configuration is fixed at runtime init — apply changes by stopping and restarting the runtime.

LiDARModel enum

ValueChannelsUse case
SHORT_88Compact delivery robot, low sensor budget
MID_1616Warehouse AMR, default profile
LONG_6464Truck/yard at-speed, long-range detection

DriftModel enum

ValueProcess noiseIntended chassis type
WAREHOUSE_INDOORLowAMR, smooth floor, low vibration
OUTDOOR_LIGHTMediumSidewalk delivery, light vibration
HEAVY_VEHICLE_OUTDOORHighTruck/yard, diesel vibration, rough surfaces

Prediction configuration

Prediction parameters are embedded in FusionConfig. The key tuning decision is the pred_horizons vector — each additional horizon adds approximately 2ms per tracked agent at balanced power profile.

Tip: For pedestrian-heavy environments (warehouse, campus delivery), include the 2.0s horizon — the social force model gains significant accuracy in the 1.5–2.0s range as pedestrian turn decisions become observable. For forklift-primary environments, 0.5s + 1.0s is sufficient (CVTR model peaks at 1.0s).

Localization configuration

Localization requires a pre-built .pvmap keyframe file. Pass the path to the PathVyntRuntime constructor or use patch_map() for incremental updates.

bash Build a map from a survey drive bag
# Record a slow, full-coverage survey drive
# Replay at 1x speed through the map builder
$ pvctl build-map \
    --bag survey_drive_2026_05_12.mcap \
    --output warehouse_v1.pvmap \
    --lidar-topic /lidar_points
Building keyframe database...  [===========================] 100%
Map written: warehouse_v1.pvmap (4.2MB, 847 keyframes)

Pre-built configuration profiles

The SDK ships with four ready-made config profiles. Load them with pv::ConfigProfile::load(name).

Profile nameFusion tierTarget hardwareIntended use
warehouse_balancedBalancedOrin NX 16GBIndoor warehouse AMR
delivery_lowpowerLow-powerOrin NX 16GBSidewalk delivery robot
truck_fullFullAGX Orin 64GBYard / port truck
dev_evalFullx86_64 + GPUDevelopment and evaluation