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

Sim Time initially negative due to last_dt being negative #187

Open
fred-huang122 opened this issue Mar 5, 2024 · 0 comments
Open

Sim Time initially negative due to last_dt being negative #187

fred-huang122 opened this issue Mar 5, 2024 · 0 comments
Labels

Comments

@fred-huang122
Copy link

fred-huang122 commented Mar 5, 2024

Describe the bug
When I print the sim time and last_dt in ssl_world.ccp: cout << "Sim Time: " << sim_time << "last dt: " << last_dt << "\n"; on line the sim time starts very negative and slowly becomes positive even if custom_DT is at 0.02. It seems that last_dt starts as -1 when the sim starts then adjusts to its intended value. I'm using (ubuntu 20.04). Thank you in advance :)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant