ci-group / revolve

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

Full path lenght calculation is wrong #102

Open portaloffreedom opened 3 years ago

portaloffreedom commented 3 years ago

In the c++ evaluator (simulator) somehow the total path length can results smaller than the distance between first and last position. This is matematically impossible.

It could be an accumulating error problem, but we are not certain

Code found here: https://github.com/ci-group/revolve/blob/abdb36265dd5dd7911f8e3afe7a6c266ebf53958/cpprevolve/revolve/gazebo/brains/Evaluator.cpp#L101-L106