add_ball — DRIVE ballworld op

• 資料種類:table × table → scalar

• 呼叫: import fullseye as fs; fs.ledger.add_ball(world: 'dict', mesh: 'dict', p, R=None, *, name: 'str' = 'ball') -> 'int'(要直接呼叫實作,import ballworld; ballworld.add_ball(world: 'dict', mesh: 'dict', p, R=None, *, name: 'str' = 'ball') -> 'int';從台帳取用則 opsdrive.get("add_ball"))

用法

以位姿 (p, R) 將球加入世界。逐面標籤(球 23 / 標記 24)保持不變。回傳值 = objects 的索引。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_ball_bounce — py -3.11 examples/poc_ball_bounce.py

• poc_table_tennis_bounce — py -3.11 examples/poc_table_tennis_bounce.py

• poc_table_tennis_spin — py -3.11 examples/poc_table_tennis_spin.py

型別可銜接的下一個運算子(可接受 scalar 作為輸入)

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

同類別(ballworld)

table_params · table_world · ball_mesh · ball_set_pose · rotation_from_omega · camera_rig · ball_truth · icosphere


*Provenance: ballworld.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.