Skip to content

Pass in delta_time dynamically for prim exec#3758

Merged
nycrat merged 6 commits into
masterfrom
avah/prim_exec_dynamic_time_step
Jun 5, 2026
Merged

Pass in delta_time dynamically for prim exec#3758
nycrat merged 6 commits into
masterfrom
avah/prim_exec_dynamic_time_step

Conversation

@nycrat
Copy link
Copy Markdown
Member

@nycrat nycrat commented Jun 4, 2026

Description

This is a stacked PR: #3756 #3758 #3759 #3760.

This PR removes the time_step field in PrimitiveExecutor and instead adds an extra delta_time argument to stepPrimitive() so that we allow for a dynamic time step.

Testing Done

Resolved Issues

resolves #2855

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

annieisawesome2
annieisawesome2 previously approved these changes Jun 4, 2026
Copy link
Copy Markdown
Contributor

@annieisawesome2 annieisawesome2 left a comment

Choose a reason for hiding this comment

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

looks good!

@williamckha williamckha changed the base branch from avah/clean_up_prim_exec to master June 5, 2026 00:25
@williamckha williamckha dismissed annieisawesome2’s stale review June 5, 2026 00:25

The base branch was changed.

williamckha
williamckha previously approved these changes Jun 5, 2026
@nycrat nycrat merged commit ad63b42 into master Jun 5, 2026
6 checks passed
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.

Thunderloop should call PrimitiveExecutor::stepPrimitive with the actual elapsed time

3 participants