Skip to content
Snippets Groups Projects
Commit 7f8e478d authored by Johannes Mey's avatar Johannes Mey
Browse files

fix reachability again

parent cea7bdf2
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ bool DummyConnector::reachableObject(const Object &robot, const Object &object) ...@@ -40,7 +40,7 @@ bool DummyConnector::reachableObject(const Object &robot, const Object &object)
} }
// if the location is more than 750mm away from the robot base it is too far away // if the location is more than 750mm away from the robot base it is too far away
if (std::sqrt(dx*dx + dy*dy + dz+dz) > 0.75) { if (std::sqrt(dx*dx + dy*dy + dz*dz) > 0.75) {
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment