cr_synthetic — DRIVE commonroad op

• Data kinds: none → any (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.cr_synthetic(kind: 'str' = 'tjunction', *, dt: 'float' = 0.1, speed_limit: 'float' = 13.89, v0: 'float' = 8.0) -> 'str' (to call the implementation directly, import drivecommonroad; drivecommonroad.cr_synthetic(kind: 'str' = 'tjunction', *, dt: 'float' = 0.1, speed_limit: 'float' = 13.89, v0: 'float' = 8.0) -> 'str'; from the registry, opsdrive.get("cr_synthetic"))

Usage

Returns, as a string, a minimal CommonRoad 2020a XML for tests and CI.

tjunction: lanelet 100 (straight 40 m, +x) → 101 (left 90° arc, centreline radius 12 m) → 102 (straight 40 m, +y); in the opposing lanelet 200 (left neighbour of 100, heading −x) one oncoming vehicle (8 m/s, rectangle 4.5 × 1.8); sign 274 (speed_limit m/s) on all 3; stopLine at the end of 100 (before the intersection); planning problem = from (5, 0) at v0 to goal lanelet 102, time_step [100, 200], velocity [0, 15]. straight: 101 is also straight (120 m in 3 pieces). blocked: a static obstacle in the middle of 101 of straight (for the collision gate). Lane width 3.5 m. Centreline length = 40 + 6π (≈ 18.85; the arc is a polyline of 16 segments) + 40 (tjunction) / 120 (straight).

Raises ValueError: kind not in SYNTHETIC_KINDS, dt / speed_limit / v0 not positive.

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

• poc_driving_commonroad — py -3.11 examples/poc_driving_commonroad.py

Ops the type connects to (they accept any as input)

course_crank · course_s_curve · course_turnaround · course_slope · course_intersection · course_parallel_parking · course_crossing · course_road

Same category (commonroad)

cr_read · cr_route · ks_step · cr_drive · cr_drive_sweep · cr_feasible · cr_collision · cr_solution_xml


*Provenance: drivecommonroad.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.