thrust_ode — DRIVE ball op

• 資料種類:table → table

• 呼叫: import fullseye as fs; fs.ledger.thrust_ode(p0, v0, thrust, bp: 'dict', t_end: 'float', dt: 'float' = 0.001) -> 'dict'(要直接呼叫實作,import ballistics; ballistics.thrust_ode(p0, v0, thrust, bp: 'dict', t_end: 'float', dt: 'float' = 0.001) -> 'dict';從台帳取用則 opsdrive.get("thrust_ode"))

• GPU:無(僅 CPU 參考實作)

用法

重力 + 阻力 + 恆定比推力(單位質量的推力 [m/s²],在世界座標中方向與大小都不變)的 RK4。無自旋(ω = 0)。回傳 {"t" (N,), "p" (N, 3), "v" (N, 3)}(t = 0, dt, …, ≤ t_end)。thrust 為零向量時與 flight_ode(ω = 0)在 1e-12 內一致;真空(rho = 0)時與閉合式 p₀ + v₀ t + ½ (a_T − g ẑ) t² 在 1e-9 內一致(門檻)。這是處理「幾乎是火箭」影像的最小模型;推力固定在機體上並隨之轉向時只是近似(區間越短越好)。t_end / dt 須為有限數,bp 須為 ball_params 的表(缺鍵、非有限、質量為 0 均為 ValueError),步數 t_end / dt 上限為 5×10⁶(以此攔住以 ms 而非秒傳入的 t)。

空輸入(thrust 為 0 個元素)會引發 ValueError。

參考(範例資料、文獻)

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

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

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

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

• poc_video_physics_consistency — py -3.11 examples/poc_video_physics_consistency.py

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

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

同類別(ball)

ball_params · impact_params · flight_vacuum · flight_ode · flight_simulate · flight_state_at · magnus_lift_coefficient · drag_coefficient_sphere


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

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