fullseye

pedestrian_crossing — DRIVE traffic op

使い方

横断の意図を真値に持つ歩行者の軌跡(区分ごとの閉形式。積分しない)。

道路は x 方向、車道 0 ≤ y ≤ road_width、歩道 y < 0 から始める(start_xy の y < −curb_offset)。

戻り値 dict: t (K,)、xy (K, 2)、heading (K,)、phase (K,) の文字列 (“approach” / “wait” / “cross” / “done” / “along”)、intent(真値)、t_cross_start・t_cross_end (横断しない意図では None)、speed。門: 横断にかかる時間 = (road_width + 2·curb_offset)/speed、待つ人は 待ちの間の位置が一定で向きが +π/2、沿って歩く人は全時刻で y < 0、向きは位置の差分の向きと一致。

Raises ValueError: 未知の intent、speed ≤ 0、start が歩道上でない、along_heading が 0/π でない。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

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

同カテゴリ(traffic)

idm_accel · idm_equilibrium_gap · idm_platoon_simulate · driver_style · lateral_wobble · ou_estimate · social_force_step · occlusion_reveal_distance


Provenance: drivetraffic.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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