ci-group / revolve

Robot evolution framework for the Triangle of Life project
https://evosphere.eu/
29 stars 32 forks source link

Simulation time not calculated correctly in python #103

Open portaloffreedom opened 3 years ago

portaloffreedom commented 3 years ago

https://github.com/ci-group/revolve/blob/ecdc525c12ec39ec0a390d6a8f7340900865138f/pyrevolve/util/time.py#L198

nanoseconds should be divided by 1.0e9, not 1.0e10

portaloffreedom commented 3 years ago

as an example, this problem is shown in this chart, where time events are not equally spaced (time x axis and expected x axis): image