spheroid_closest — DRIVE diabolo op

• Data kinds: signal × table → table

• Call: import fullseye as fs; fs.ledger.spheroid_closest(x, sph: 'dict') -> 'dict' (to call the implementation directly, import diabolo; diabolo.spheroid_closest(x, sph: 'dict') -> 'dict'; from the registry, opsdrive.get("spheroid_closest"))

Usage

Point x → closest point on the spheroid surface point, signed distance s (> 0 inside, the paper's definition of s) and outward unit normal normal (direction of the gradient at the closest point).

> The detailed description below is the original text — the summary and the headings are translated.

最近点は子午面の楕円への Eberly の二分法。★公開実装は中心から放射方向に縮めて戻し(最近点ではない、楕円体の外 5 mm の点で最大 2.2 mm 違う)、法線を (x/b, y/a, z/b) で近似する(勾配なら 2 乗、軸の上以外では最大 12.2° ずれる)。ここでは本文の「最も近い点へ動かす」と真の法線で書く。Raises ValueError: x が有限の 3-vector でない、sph が楕円体の dict でない。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_diabolo_model_and_vision — py -3.11 examples/poc_diabolo_model_and_vision.py

Ops the type connects to (they accept table as input)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (diabolo)

diabolo_params · diabolo_spheroid · diabolo_dynamics_step · diabolo_simulate · diabolo_state_sequence · diabolo_throw_catch_truth · string_tension_static · string_tension_from_sag


*Provenance: diabolo.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.