37 #include <pcl/common/eigen.h> 44 roll_max_(roll_max), pitch_max_(pitch_max)
51 const Eigen::Affine3f
diff = to->getPose() * from->getPose().inverse();
53 pcl::getEulerAngles(diff, roll, pitch, yaw);
65 x_max_(x_max), y_max_(y_max), z_max_(z_max),
74 const Eigen::Affine3f
diff = to->getPose() * from->getPose().inverse();
75 const Eigen::Vector3f diff_pos(diff.translation());
76 if (std::abs(diff_pos[0]) <
x_max_ &&
77 std::abs(diff_pos[1]) <
y_max_ &&
78 std::abs(diff_pos[2]) <
z_max_) {
80 pcl::getEulerAngles(diff, roll, pitch, yaw);
IMETHOD Vector diff(const Vector &p_w_a, const Vector &p_w_b, double dt=1)