Skip to content

Fix controller duplication in TimeNodes.merge()#964

Open
karlhillx wants to merge 1 commit into
RocketPy-Team:masterfrom
karlhillx:fix/controller-duplicate-merge
Open

Fix controller duplication in TimeNodes.merge()#964
karlhillx wants to merge 1 commit into
RocketPy-Team:masterfrom
karlhillx:fix/controller-duplicate-merge

Conversation

@karlhillx
Copy link
Copy Markdown

Closes #959

Removed duplicate _controllers += node._controllers in
TimeNodes.merge() that caused each controller to be called
twice per time node during simulation.

Added unit test verifying merge accumulation behavior.

@karlhillx karlhillx requested a review from a team as a code owner June 2, 2026 23:28
Remove duplicate _controllers append that caused each controller
to be called twice per simulation time node.

Closes RocketPy-Team#959
@karlhillx karlhillx force-pushed the fix/controller-duplicate-merge branch from e6447b4 to aa01208 Compare June 2, 2026 23:38
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.

BUG: Controllers called twice per time node in Flight.__simulate

1 participant