fullseye

course_distance — DRIVE terrain op

使い方

点 (N, 2) からコース(走れる多角形の和)への距離と、最寄り点から外へ向く単位ベクトル。

{"d" (N,), "nx" (N,), "ny" (N,)}。内側は d = 0、n = 0。外側の d は最寄りの辺への点-線分距離の閉形式で、 中心軸(最寄り点が 2 つある所)を除いて |∇d| = 1(eikonal)。

空の入力(course が空の dict)は ValueError。

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

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

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

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

同カテゴリ(terrain)

perlin2 · fbm_params · fbm_height · fbm_gradient · radial_periodogram · spectral_slope · terrain_params · terrain_height


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

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