town op• Data kinds: any → table
• Call: import fullseye as fs; fs.ledger.town_chain(elements, *, start=(0.0, 0.0, 0.0), overlap: 'float' = 0.05) -> 'dict' (to call the implementation directly, import drivetown; drivetown.town_chain(elements, *, start=(0.0, 0.0, 0.0), overlap: 'float' = 0.05) -> 'dict'; from the registry, opsdrive.get("town_chain"))
Places the elements by chaining them in order: solves in closed form the rigid placement that aligns the entry of element k+1 with the exit of element k (overlap before it) and passes it to drivecourse.course_layout.
> The detailed description below is the original text — the summary and the headings are translated.
elements : drivecourse の要素(dict)の列。順に継ぐ。
start : 最初の要素の entry を置く世界姿勢 (x, y, yaw)。
overlap : 継ぎ目の食い込み [m] (≥ 0。3-D 化で継ぎ目に縁石が立たないため)。要素の中心線より短いこと。
dict : course_layout の dict に "chain" を足したもの。chain = {"overlap", "s_start" (n,) 各要素の entry の弧長, "lengths" (n,) 各要素の centerline_length, "polyline_lengths" (n,) 中心線の折線長, "total_length" (= Σ 折線長 − overlap × (n − 1)), "joints": [(exit_k, entry_k+1), ...] 世界姿勢}。
Raises ValueError: 要素が空・layout の入れ子・entry/exit/centerline が無い、start/overlap が非有限、overlap が負、overlap が要素の中心線より長い。
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_driving_town — py -3.11 examples/poc_driving_town.py
table as input)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
town)town_layout · town_world · town_centerline · town_stop_lines · town_rules · town_crossing_state · town_run · town_checks
*Provenance: drivetown.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.