Skip to content

BUG: Remove duplicate controller call in Flight.__simulate#960

Open
Krissal1234 wants to merge 2 commits intoRocketPy-Team:masterfrom
Krissal1234:fix/duplicate-controller-call-in-simulate
Open

BUG: Remove duplicate controller call in Flight.__simulate#960
Krissal1234 wants to merge 2 commits intoRocketPy-Team:masterfrom
Krissal1234:fix/duplicate-controller-call-in-simulate

Conversation

@Krissal1234
Copy link
Copy Markdown

Pull request type

  • Code changes (bugfix, features)

Checklist

  • CHANGELOG.md has been updated (if relevant)

Current behavior

Controllers are called twice per time node in Flight.__simulate. See #959.

New behavior

Controllers are called exactly once per time node, inside
__process_sensors_and_controllers_at_current_node as intended.

Breaking change

  • No

Additional information

The duplicate loop was introduced in #843 when
__process_sensors_and_controllers_at_current_node was added
for sensor and controller processing, but the original
controller loop in __simulate was not removed.

@Krissal1234 Krissal1234 requested a review from a team as a code owner May 8, 2026 10:50
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