Skip to content
Snippets Groups Projects
Commit 075be8c7 authored by Fabian Reister's avatar Fabian Reister
Browse files

potential fix

parent dd33f3fc
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,9 @@ namespace simox::geometric_planning
const auto node = articulatedObject->getRobotNode(nodeName);
REQUIRE(node != nullptr);
const auto global_T_object_root = articulatedObject->getGlobalPose();
articulatedObject->setGlobalPose(Eigen::Matrix4f::Identity());
simox::geometric_planning::ArticulatedObjectGeometricPlanningHelper helper(
articulatedObject);
......@@ -84,6 +87,10 @@ namespace simox::geometric_planning
const auto parametricPath = helper.getPathForNode(node->getName(), joint->getName());
// reset global pose
articulatedObject->setGlobalPose(global_T_object_root);
return parametricPath;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment