Skip to content

ENH: support fixed-time parachute deployment triggers (#437) - #1133

Open
thatrandomasiandev wants to merge 1 commit into
RocketPy-Team:developfrom
thatrandomasiandev:enh/437-time-delay-parachute
Open

ENH: support fixed-time parachute deployment triggers (#437)#1133
thatrandomasiandev wants to merge 1 commit into
RocketPy-Team:developfrom
thatrandomasiandev:enh/437-time-delay-parachute

Conversation

@thatrandomasiandev

Copy link
Copy Markdown

Summary

  • Adds trigger=("time", t_deploy) so parachutes can deploy at a fixed flight time from launch (motor delay-charge style), addressing ENH: Addition of Time Delay Parachute Deployment #437.
  • Flight sets parachute._eval_time before evaluating triggers; no change to the public (p, h, y, sensors, u_dot) triggerfunc signature.
  • Burnout-referenced delays are supported by composing with the motor: ("time", motor.burn_out_time + delay). A native ("burnout", delay) trigger is left as a follow-up to avoid coupling Parachute construction to motor state.

Test plan

  • Unit tests for ("time", t) True/False at boundary times, ascent-safe behavior, invalid forms, serialization
  • Flight._evaluate_parachute_trigger sets _eval_time and fires correctly
  • StochasticParachute accepts/rejects time triggers consistently with Parachute
  • Integration flight test: deploy within one sampling interval of t_deploy

Fixes #437

@thatrandomasiandev
thatrandomasiandev requested a review from a team as a code owner August 11, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant