thrust_ode — DRIVE ball op

• Data kinds: table → table

• Call: import fullseye as fs; fs.ledger.thrust_ode(p0, v0, thrust, bp: 'dict', t_end: 'float', dt: 'float' = 0.001) -> 'dict' (to call the implementation directly, import ballistics; ballistics.thrust_ode(p0, v0, thrust, bp: 'dict', t_end: 'float', dt: 'float' = 0.001) -> 'dict'; from the registry, opsdrive.get("thrust_ode"))

• GPU: none (CPU reference implementation only)

Usage

RK4 for gravity + drag + a constant specific thrust (thrust per unit mass [m/s²], fixed in direction and magnitude in world coordinates). No spin (ω = 0). Returns {"t" (N,), "p" (N, 3), "v" (N, 3)} (t = 0, dt, …, ≤ t_end). With a zero thrust it matches flight_ode (ω = 0) to 1e-12, and in vacuum (rho = 0) it matches the closed form p₀ + v₀ t + ½ (a_T − g ẑ) t² to 1e-9 (gate). The smallest model for "almost a rocket" footage; a thrust fixed to the body that turns with it is only approximated (the shorter the segment, the better). t_end / dt must be finite numbers, bp the table from ball_params (a missing key, a non-finite value or zero mass is a ValueError), and the step count t_end / dt is capped at 5×10⁶ (this stops a t passed in ms instead of seconds).

Empty input (thrust with 0 elements) 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_video_physics_consistency — py -3.11 examples/poc_video_physics_consistency.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 (ball)

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


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