We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 331c6d6 commit 6572885Copy full SHA for 6572885
include/hpp/fcl/narrowphase/narrowphase.h
@@ -41,6 +41,7 @@
41
#define HPP_FCL_NARROWPHASE_H
42
43
#include <limits>
44
+#include <iostream>
45
46
#include <hpp/fcl/narrowphase/gjk.h>
47
#include <hpp/fcl/collision_data.h>
@@ -75,9 +76,10 @@ struct HPP_FCL_DLLAPI GJKSolver {
75
76
"GJKInitialGuess::BoundingVolumeGuess.",
77
std::logic_error);
78
}
- guess.noalias() =
79
- s1.aabb_center - (shape.oR1 * s2.aabb_center + shape.ot1);
80
- guess.normalize();
+ std::cout << "guess: " << guess.transpose() << std::endl;
+ guess.noalias() = s1.aabb_local.center() -
81
+ (shape.oR1 * s2.aabb_local.center() + shape.ot1);
82
+ // guess.normalize();
83
support_hint.setZero();
84
break;
85
default:
0 commit comments