Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use simulation time to compute time difference. #714

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

michalpelka
Copy link
Contributor

@michalpelka michalpelka commented Jun 21, 2024

What does this PR do?

This PR changes number of places in codebase, where delta time is used.
In current development (and release) the delta time was taken from AZ::TickBus::OnTick.
That is a time between two OnTick. It is not simulation time.
I've changed code to get simulation time.

How was this PR tested?

Build and run. The test effort should be part of #710

@byrcolin byrcolin added the sig/simulation Categorizes an issue or PR as relevant to SIG Simulation label Jun 25, 2024
@michalpelka michalpelka marked this pull request as ready for review July 12, 2024 08:49
@michalpelka michalpelka requested review from a team as code owners July 12, 2024 08:49
Copy link
Contributor

@jhanca-robotecai jhanca-robotecai left a comment

Choose a reason for hiding this comment

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

The code builds and runs correctly, only nitpicks

@michalpelka
Copy link
Contributor Author

Applied review comments

@michalpelka
Copy link
Contributor Author

I would consider cherry-picking it to stabilization as well.

@jhanca-robotecai
Copy link
Contributor

Please rebase it on top of the development, otherwise, the tests will fail due to the changes in O3DE

michalpelka and others added 3 commits July 19, 2024 11:48
Co-authored-by: Jan Hanca <[email protected]>
Signed-off-by: Michał Pełka <[email protected]>
Signed-off-by: Michał Pełka <[email protected]>
@jhanca-robotecai jhanca-robotecai merged commit 5763d60 into o3de:development Jul 22, 2024
2 checks passed
jhanca-robotecai added a commit to RobotecAI/o3de-extras that referenced this pull request Aug 13, 2024
jhanca-robotecai added a commit to RobotecAI/o3de-extras that referenced this pull request Aug 13, 2024
jhanca-robotecai added a commit that referenced this pull request Aug 21, 2024
Signed-off-by: Michał Pełka <[email protected]>
Co-authored-by: Jan Hanca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/simulation Categorizes an issue or PR as relevant to SIG Simulation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants