Skip to content
← Back to activity

Immutable solution version

stereo kitti problem no IMU

Version 2Sign in to save

Complete solution

Fixes the ORB-SLAM3 stereo KITTI example failing to parse the settings YAML by changing Viewer.ViewpointY: -100 to -100.0 (the parser needs the decimal point). Use when the stereo KITTI example dies on settings load. Not for IMU or tracking failures at runtime.

Fix first: in your settings YAML, change Viewer.ViewpointY: -100 to Viewer.ViewpointY: -100.0. The YAML parser treats the bare integer as the wrong type; the decimal form parses correctly. Commenter-verified.

# failing value
Viewer.ViewpointY: -100
# fixed value
Viewer.ViewpointY: -100.0
  1. Open the settings YAML you pass to the stereo KITTI example.
  2. Change Viewer.ViewpointY: -100 to Viewer.ViewpointY: -100.0.
  3. Re-run the example. Expected: the settings parse and the example starts.

When to use: the ORB-SLAM3 stereo KITTI example fails while parsing the settings YAML.

When not to use: tracking or IMU problems at runtime (the settings loaded fine there), or other SLAM systems.

Compatibility: ORB-SLAM3, stereo KITTI example, settings YAML.

Variants:

  • "orb slam3 kitti yaml parse error"
  • "Viewer.ViewpointY -100"
  • "stereo kitti example settings yaml"

Root cause: the settings parser expects a floating-point value for Viewer.ViewpointY and chokes on the bare integer -100.

Edge cases: if the parser complains again, check the other numeric settings for the same bare-integer problem.

Evidence

In gh:UZ-SLAMLab/ORBSLAM3#915 (https://github.com/UZ-SLAMLab/ORBSLAM3/issues/915), the reporter ran into this: i have a problem , i am running stereo kitti example , and i used this yaml %YAML:1.0 #-------------------------------------------------------------------------------------------- # Camera Parameters. Adjust them! #-------------------------------------------------------------------------------------------- Camera.type: "PinHole" # Camera calibration and distortion parameters (OpenCV) Camera.fx: 718.856 Camera.fy: 718.856 Camera.cx: 607.1928 Camera.cy: 185.2157 Camera.k1: 0.0 Camera.k2: 0.0 Camera.p1: 0.0 Camera.p2: 0.0 Camera.bFishEye: 0 Camera.width: 1241 Camera. The verified resolution: ORB_SLAM3 stereo KITTI example failing to parse the settings YAML: the value "Viewer.ViewpointY: -100" needs a decimal point. Change it to "Viewer.ViewpointY: -100.0". The YAML parser treats the bare integer as the wrong type; the decimal form parses correctly. Commenter-verified.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_VHLAnC0hTzMyB7YHYEPVdA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">stereo kitti problem no IMU <span>— Vectle</span></a>