We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
I have wrapped my robot links with fcl::Capsule and the code snippet is shown below.
fcl::Capsule
std::shared_ptr<fcl::CollisionGeometry<double>> capsule_geo (new fcl::Capsule<double> (radius, height)); fcl::Transform3<double> t = fcl::Transform3d::Identity(); t.linear() = this_mat.block<3, 3>(0, 0); t.translation() = this_mat.block<3, 1>(0, 3); auto *b = new fcl::CollisionObject<double> (capsule_geo, t);
When robot links collide with obstacles that are represented by octree, however, cdata.result.isCollision() returns false.
cdata.result.isCollision()
The octomaps of obstacles are obtained with sensor and these poses can be guaranteed.
For fcl::CollisionObject, if its base frame is different from my robot base, then the above process will result in a wrong transformation to capsules.
fcl::CollisionObject
So, my question is, how to check the base frame of fcl::Capsule. If it is different from my robot base frame, then how can I modify it?
fcl::Capsule.
Thanks!
The text was updated successfully, but these errors were encountered:
Almost the same issue with #344
Sorry, something went wrong.
No branches or pull requests
Hi!
I have wrapped my robot links with
fcl::Capsule
and the code snippet is shown below.When robot links collide with obstacles that are represented by octree, however,
cdata.result.isCollision()
returns false.The octomaps of obstacles are obtained with sensor and these poses can be guaranteed.
For
fcl::CollisionObject
, if its base frame is different from my robot base, then the above process will result in a wrong transformation to capsules.So, my question is, how to check the base frame of
fcl::Capsule.
If it is different from my robot base frame, then how can I modify it?Thanks!
The text was updated successfully, but these errors were encountered: