-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
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:
revolve/cpprevolve/revolve/gazebo/brains/Evaluator.cpp
Lines 101 to 106 in abdb362
| for (size_t i=1; i < this->step_poses.size(); i++) | |
| { | |
| const auto &pose_i_1 = this->step_poses[i-1]; | |
| const auto &pose_i = this->step_poses[i]; | |
| this->path_length += Evaluator::measure_distance(pose_i_1, pose_i); | |
| } |
Metadata
Metadata
Assignees
Labels
No labels