-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
How to use fcl.OcTree in python-fcl. #35
Comments
I've made a quick change to python-fcl so I can use the |
Hi, Did you have problem with octomap configuration under windows? Sorry, I'm new with this stuff. Thank you ! |
Once you create the |
Hi Cedric, I made the changes in the python-fcl to use the
|
Hi! Can you give an example on how to use With the following code snippet x = np.random.random([100, 3])
object1 = fcl.OcTree(0.2).insertPointCloud(x)
object2 = fcl.Box(1, 2, 3)
o1 = fcl.CollisionObject(object1, fcl.Transform())
o2 = fcl.CollisionObject(object2, fcl.Transform())
request = fcl.CollisionRequest()
result = fcl.CollisionResult()
req = fcl.collide(o2, o2, request, result)
print(req) , I will get the error like this o1 = fcl.CollisionObject(object1, fcl.Transform())
File "src/fcl/fcl.pyx", line 140, in fcl.fcl.CollisionObject.__cinit__
ValueError Help would be greatly appreciated! |
You can simply use the following if you are using my branch. o1 = fcl.CollisionObject(fcl.OcTree(resolution, points=points)) |
@STAY-Melody @geekyp99 @ryanreadbooks @giacko93 o1 = fcl.CollisionObject(fcl.OcTree(resolution, points=points)) you can get the wheel from https://drive.google.com/drive/folders/1YrZe-YWKL5of6LwkpNIKGk2TXgA2AJ5B?usp=drive_link |
Hi, I'm giacko93 with another account. Did you solve your problem? |
@cedriclmenard @jacky-ch93 @ryanreadbooks @zichunxx Could you help me? |
@giacomogolluccio the python-fcl-octomap from @cedriclmenard is now 40 commits behind BerkeleyAutomation/python-fcl |
Hey everyone!
I am wondering is it possible to create an octree from point cloud using
fcl.OcTree
, then do the collision detection usingfcl.OcTree
. Issue #7 mentioned the similar question, but I can't find answers there. Could you guys offer some examples on how to use this.Thanks a lot!
The text was updated successfully, but these errors were encountered: