peg_scene_mjcf — DRIVE pegsim op

• Data kinds: table → any

• Call: import fullseye as fs; fs.ledger.peg_scene_mjcf(kp=None, lg: 'float | None' = None, offsamples: 'int' = 4, timestep: 'float' = 0.0005) -> 'str' (to call the implementation directly, import pegsim; pegsim.peg_scene_mjcf(kp=None, lg: 'float | None' = None, offsamples: 'int' = 4, timestep: 'float' = 0.0005) -> 'str'; from the registry, opsdrive.get("peg_scene_mjcf"))

Usage

MJCF string of the scene (no mujoco needed): hole = a ring of n_seg boxes whose inscribed surface has radius R + a ring for the 45° chamfer + a collar at the mouth surface + a square frame; a position-controlled carriage (x, y, z slides) carrying a compliant wrist of 6 spring joints, with the peg (cylinder) at its end. The wrist camera looks 45° down from 60 mm behind and 20 mm above the carriage; the side camera is fixed.

> The detailed description below is the original text — the summary and the headings are translated.

lg = 先端から回転のコンプライアンス中心までの距離(None → 手首原点 = ペグ長、0 → 先端に中心 = RCC)。offsamples は MSAA(RGB 用 4、depth 用 0 で別にコンパイルする —— 深度はサンプル 0 の位置になる罠)。<quality numslices="128"> で円柱の多角形近似を 0.0015 % に(既定 28 では半径が 0.04 mm 内側)。単位 m、口の面 z = 0。

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_pegsim_insertion — py -3.11 examples/poc_pegsim_insertion.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 (pegsim)

peg_params · whitney_clearance · two_point_depth · wedging_check · jamming_diagram · chamfer_capture · contact_state_predict · circle_fit_known_radius


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