Skip to content

Bump ActiveRocketPy to the v1.13 actuator hotfix - #114

Merged
thc1006 merged 1 commit into
developfrom
chore/bump-activerocketpy-for-v0.1.0
Jul 29, 2026
Merged

thc1006 merged 1 commit into
developfrom
chore/bump-activerocketpy-for-v0.1.0

Conversation

@thc1006

@thc1006 thc1006 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Picks up ActiveRocketPy#19 through its release in #23, which is the order agreed on #61.

435f58d0 to 473447d5. The tree difference is four files, all of them the actuator work: the argument checks survive python -O, a non-finite command is refused at the setter rather than reaching the integrator, each add_*_control hands the controller the same sampling rate the actuator kept, and an actuator_range that is not a pair of numbers is refused rather than dropping a third value in silence.

No score moves

Both shipped scenarios leave gimbal_time_constant, roll_torque_time_constant and throttle_time_constant at null, so the branch #19 touches never runs, and their ranges are ordinary finite numbers.

  • both golden masters pass unchanged
  • full suite 315 passed with BPC_RUN_SLOW_TESTS=1
  • uv lock --check resolves, so no lockfile change

One behaviour change to land alongside

The actuator setter now raises on a non-finite command. Without the environment side, a competitor's agent emitting NaN would lose its whole evaluation instead of the step, which is what #113 decided against.

That side is fix/a-non-finite-action-is-not-a-command, which adds check_action and drops the unusable field rather than the run. It should go in with this, or immediately before it.

Picks up ARRC-Rocket/ActiveRocketPy#19 through its release in #23: the actuator
argument checks survive `python -O`, a non-finite command is refused at the
setter rather than reaching the integrator, `add_*_control` hands the controller
the same sampling rate the actuator kept, and a range that is not a pair of
numbers is refused.

No score moves. Both shipped scenarios leave the three actuator time constants
`null`, so the filter branch never runs, and their ranges are ordinary finite
numbers. Both golden masters pass unchanged, the suite is 315 passed, and
`uv lock --check` still resolves, so the lockfile needs no change.

The setter now raising on a non-finite command is what #113 was about. The
environment side of that lands with the action validation in
fix/a-non-finite-action-is-not-a-command, so a competitor's NaN action keeps
being dropped rather than becoming an exception.

Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 14:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@thc1006
thc1006 merged commit 5c69334 into develop Jul 29, 2026
3 checks passed
@thc1006
thc1006 deleted the chore/bump-activerocketpy-for-v0.1.0 branch July 29, 2026 14:48
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.

2 participants