Skip to content

Activate real time flag without GUI #2671

Discussion options

You must be logged in to vote

Hey @pablovasse
This is not bound in the python interface. However, this can be reproduced within your python script with a python controller : you can access the time step dt from the root node (root.dt.value), keep track of the time needed for the previous time step and update the simulation time step accordingly.
With a PythonController this should be easy to write.

However, do not forget to check my comment here on the risk related to time step modification.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hugtalbot
Comment options

@pablovasse
Comment options

@hugtalbot
Comment options

Answer selected by pablovasse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants