fix(simulator): add different safety mechanism for potential infinite while loop

This commit is contained in:
Anthony Berg 2025-07-01 20:14:27 +02:00
parent fe1eac7e9b
commit 716394f46b

View File

@ -112,6 +112,7 @@ class BaseSimulator(object):
self.logger.warning(f"Timestep size {self.sim_steps()} is less than or equal to zero!")
break
prev_time = self.sim_time()
# Step forward in time
self.step(current_dt)