add_sign — DRIVE roadjp op

• Data kinds: table → scalar

• Call: import fullseye as fs; fs.ledger.add_sign(world: 'dict', kind: 'str', x: 'float', y: 'float', yaw: 'float', *, value=None, mount_height: 'float | None' = None, pole_radius: 'float' = 0.03, cell: 'int' = 4, size_px: 'int' = 128, font_path=None, side: 'float | None' = None) -> 'int' (to call the implementation directly, import roadjp; roadjp.add_sign(world: 'dict', kind: 'str', x: 'float', y: 'float', yaw: 'float', *, value=None, mount_height: 'float | None' = None, pole_radius: 'float' = 0.03, cell: 'int' = 4, size_px: 'int' = 128, font_path=None, side: 'float | None' = None) -> 'int'; from the registry, opsdrive.get("add_sign"))

Usage

Erects a roadside sign: post (cylinder, gray, label 6) + plate (lower edge = mount_height, default 1.8 m, label 4).

Convention: the face of the plate faces vehicles approaching in the yaw direction (normal = (−cos yaw, −sin yaw)). The implementation just rotates sign_mesh (normal −x)

with driveworld.place_mesh. The plate is mounted in front of the pole (on the vehicle side), offset by pole_radius + 1 cm. Return value = the object index of the plate (extra = {"kind", "value", "width", "height", "mount_height"}). The pole is a separate object immediately before it.

Empty input (world as an empty dict) raises ValueError.

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_school — py -3.11 examples/poc_driving_school.py

• poc_world_terrain — py -3.11 examples/poc_world_terrain.py

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

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

Same category (roadjp)

sign_params · sign_image · plate_mesh_from_image · sign_mesh · signal_jp_mesh · add_signal_jp


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