time_to_line_crossing — DRIVE lateral op

• Data kinds: कोई नहीं → scalar (केवल arguments से तय होने वाला op — यह कोई image या data input नहीं लेता)

• Call: import fullseye as fs; fs.ledger.time_to_line_crossing(offset: 'float', heading_error: 'float', curvature: 'float', speed: 'float', *, line_offset: 'float', lane_curvature: 'float' = 0.0) -> 'float' (implementation को सीधे call करना हो तो import drivelateral; drivelateral.time_to_line_crossing(offset: 'float', heading_error: 'float', curvature: 'float', speed: 'float', *, line_offset: 'float', lane_curvature: 'float' = 0.0) -> 'float', registry से लेना हो तो opsdrive.get("time_to_line_crossing"))

उपयोग

TLC: यह मानते हुए कि वाहन (उसका reference point) वर्तमान curvature पर वृत्त (या सीधी रेखा) पर चलता है, lane की सीमा तक पहुँचने का समय [s]।

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

座標: 車線の中心線の上の点を原点、中心線の向きを +x、左を +y。車は (0, offset)、中心線に対する向き heading_error、曲率 curvature(左が正)。境界は中心線から横 line_offset(左が正)の線 —— 中心線が曲率 lane_curvature の円なら、それと同心の円。届かなければ inf。

Raises ValueError: 非有限、v ≤ 0、車がすでに境界の外側(offset と line_offset の関係で判断)。

संदर्भ (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 जुड़ता है (scalar को input के रूप में लेते हैं)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

इसी 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.