lateral_offset — DRIVE lateral op

• Data kinds: any → table

• Call: import fullseye as fs; fs.ledger.lateral_offset(points, path, *, start_index=None, window: 'int' = 40) -> 'Dict[str, np.ndarray]' (implementation को सीधे call करना हो तो import drivelateral; drivelateral.lateral_offset(points, path, *, start_index=None, window: 'int' = 40) -> 'Dict[str, np.ndarray]', registry से लेना हो तो opsdrive.get("lateral_offset"))

उपयोग

बिंदु का polyline path के साथ arc length s और lateral offset n (चलने की दिशा के बाईं ओर धनात्मक)। निकटतम segment पर projection।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

start_index(点ごと、または 1 つ)を与えると、その区間の前後 window 区間だけを調べる(繰り返しを速くする。窓の外に本当の最寄りがあると誤るので、点が少しずつ動くときに使う)。None なら全区間を調べる。

返り値: s, n, index(区間)、heading(その区間の向き)。点 (2,) なら スカラー。

Raises ValueError: 形の誤り、start_index が範囲外。

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_driving_lateral — py -3.11 examples/poc_driving_lateral.py

वे अगले ops जिनसे type जुड़ता है (table को input के रूप में लेते हैं)

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

इसी category के (lateral)

friction_circle_usage · curve_speed_limit · design_min_radius · understeer_gradient · steady_cornering · bicycle_model_step · ackermann_steer_angles · offtracking_circle


*Provenance: drivelateral.py — DRIVE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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