Adapt data type for python-fcl/fcl 0.6.1

Credit to @aothms #919 
Need testing with python-fc 0.0.12l / fcl 0.5 to make sure it breaks nothing
This commit is contained in:
Cyril Waechter
2020-07-25 23:57:26 +02:00
committed by Dion Moult
parent 019f460af2
commit 21a4680811
+1 -1
View File
@@ -185,7 +185,7 @@ class CollisionManager(object):
# if no transform passed, assume identity transform
if transform is None:
transform = np.eye(4)
transform = np.asanyarray(transform, dtype=np.float32)
transform = np.asanyarray(transform, dtype=np.float64)
if transform.shape != (4, 4):
raise ValueError('transform must be (4,4)!')