Skip to content
Snippets Groups Projects
Commit 24ea1507 authored by Mirko Wächter's avatar Mirko Wächter Committed by Markus Grotz
Browse files

workaround for pose update

parent 215e9bcb
No related branches found
No related tags found
No related merge requests found
......@@ -286,8 +286,8 @@ namespace armarx
Matrix4f m = Matrix4f::Identity();
ARMARX_CHECK_EXPRESSION(c_orientation);
ARMARX_CHECK_EXPRESSION(c_position);
m.block<3,3>(0,0) = c_orientation->toEigen();
m.block<3,1>(0,3) = c_position->toEigen();
m.block<3,3>(0,0) = QuaternionPtr::dynamicCast(orientation)->toEigen();
m.block<3,1>(0,3) = Vector3Ptr::dynamicCast(position)->toEigen();
return m;
}
......
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