peg_params — DRIVE pegsim op

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

• Call: import fullseye as fs; fs.ledger.peg_params(r: 'float' = 0.005, R: 'float' = 0.0052, hole_depth: 'float' = 0.02, chamfer: 'float' = 0.001, chamfer_deg: 'float' = 45.0, peg_length: 'float' = 0.04, mu: 'float' = 0.3, n_seg: 'int' = 36, k_trans: 'float' = 600.0, k_rot: 'float' = 1.5, image_size=(640, 480), fovy_deg: 'float' = 40.0) -> 'dict' (to call the implementation directly, import pegsim; pegsim.peg_params(r: 'float' = 0.005, R: 'float' = 0.0052, hole_depth: 'float' = 0.02, chamfer: 'float' = 0.001, chamfer_deg: 'float' = 45.0, peg_length: 'float' = 0.04, mu: 'float' = 0.3, n_seg: 'int' = 36, k_trans: 'float' = 600.0, k_rot: 'float' = 1.5, image_size=(640, 480), fovy_deg: 'float' = 40.0) -> 'dict'; from the registry, opsdrive.get("peg_params"))

Usage

Table of peg and hole dimensions (m, rad): peg radius r, hole radius R, hole depth, chamfer width and angle, peg length, friction coefficient, wrist stiffness, wrist camera.

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

既定は試作の寸法: r = 5.0 mm、R = 5.2 mm(半径 clearance 0.2 mm、c = 0.0385)、深さ 20 mm、45° の面取り 1 mm、ペグ 40 mm、μ = 0.3(MuJoCo の滑り摩擦)。n_seg は穴の壁を近似する箱の数(MJCF)、k_trans [N/m]・k_rot [N m/rad] は手首(コンプライアント支持)の並進・回転剛性、image_size と fovy_deg は手首カメラ。Raises ValueError: r ≤ 0、R ≤ r、面取りが穴より深い、μ < 0、面取り角が (0°, 90°) の外。

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_peg_failure_recovery — py -3.11 examples/poc_peg_failure_recovery.py

• poc_peg_insertion_tactile — py -3.11 examples/poc_peg_insertion_tactile.py

• poc_pegsim_insertion — py -3.11 examples/poc_pegsim_insertion.py

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

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

Same category (pegsim)

whitney_clearance · two_point_depth · wedging_check · jamming_diagram · chamfer_capture · contact_state_predict · circle_fit_known_radius · cylinder_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.