turn_maneuver_check — DRIVE lateral op

• 데이터 종류: table → table

• 호출: import fullseye as fs; fs.ledger.turn_maneuver_check(trajectory: 'dict', *, kind: 'str', x_entry: 'float', edge_y: 'float', center_y: 'float' = 0.0, corner_center=None, corner_radius: 'float' = 0.0, intersection_center=None, approach: 'float' = 30.0, keep_tol: 'float' = 0.5, side_tol: 'float' = 1.5, inside_tol: 'float' = 3.0, jokou: 'float' = 2.7777777777777777, clearance: 'float' = 0.0) -> 'Dict[str, object]'(구현을 직접 호출하려면 import drivelateral; drivelateral.turn_maneuver_check(trajectory: 'dict', *, kind: 'str', x_entry: 'float', edge_y: 'float', center_y: 'float' = 0.0, corner_center=None, corner_radius: 'float' = 0.0, intersection_center=None, approach: 'float' = 30.0, keep_tol: 'float' = 0.5, side_tol: 'float' = 1.5, inside_tol: 'float' = 3.0, jokou: 'float' = 2.7777777777777777, clearance: 'float' = 0.0) -> 'Dict[str, object]', 원장에서 가져오려면 opsdrive.get("turn_maneuver_check"))

사용법

> 이 연산자의 설명은 아직 번역이 없습니다. 원문을 그대로 싣습니다.

左折・右折の通り方の判定(道交法 34 条 1・2 項 / 教則 5-7-2)。数値の幅はすべて仮定(`SOURCES`)。

道は +x へ進む(左 = +y)。車道の左端 y = `edge_y、中央線 y = center_y、交差点の手前の縁 x = x_entry`。

`trajectory: t, front (N, 2)(前車軸の中心)、rear (N, 2)(後車軸の中心)、speed (N,)、width`(車幅)、

`track(輪距)、front_overhang・rear_overhang`(車軸から車体の端まで)。

判定:

• 寄る(あらかじめ): x_entry − approach ≤ 前端 < x_entry の間、左折は車体の左側と左端の距離が [0, keep_tol]

(0 未満 = 路肩・路側帯へはみ出す)、右折は車体の右側と中央線の距離が [0, keep_tol] (0 未満 = 中央線をまたぐ)。

• 徐行: 前端が x_entry を越えてから曲がり終える(向きが ±80° を超える)までの速さ ≤ `jokou`。

• 左折の「側端に沿って」: 曲がる間(向き 10°〜80°)の後輪の内側と隅切りの円(中心 `corner_center`・半径

`corner_radius)の距離が [clearance, side_tol`]。clearance を下回る = 内輪差で隅の人・自転車の場所に入る。

• 右折の「交差点の中心のすぐ内側」: 前車軸の中心の軌跡が交差点の中心 `intersection_center` を **右(旋回の内側)に

見ずに** 通り(中心が軌跡の外側 = 左)、最も近いときの距離 ≤ `inside_tol`。

返り値: `ok, violations(理由の文字列のリスト)、metrics`(dict)。

Raises `ValueError`: kind が "left" / "right" 以外、必要な値の欠け、形の誤り。

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• poc_driving_lateral — py -3.11 examples/poc_driving_lateral.py

타입이 이어지는 다음 연산자(table 를 입력으로 받는 것)

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

같은 카테고리(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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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