37 #include <gtest/gtest.h> 44 TEST(tf2Convert, kdlToBullet)
59 EXPECT_NEAR(b.x(), b2.x(),
epsilon);
60 EXPECT_NEAR(b.y(), b2.y(),
epsilon);
61 EXPECT_NEAR(b.z(), b2.z(),
epsilon);
66 EXPECT_NEAR(b1.x(), b2.x(),
epsilon);
67 EXPECT_NEAR(b1.y(), b2.y(),
epsilon);
68 EXPECT_NEAR(b1.z(), b2.z(),
epsilon);
71 TEST(tf2Convert, kdlBulletROSConversions)
76 geometry_msgs::PointStamped r1, r2, r3;
95 EXPECT_NEAR(b1.x(), b4.x(),
epsilon);
96 EXPECT_NEAR(b1.y(), b4.y(),
epsilon);
97 EXPECT_NEAR(b1.z(), b4.z(),
epsilon);
100 int main(
int argc,
char** argv)
102 testing::InitGoogleTest(&argc, argv);
103 return RUN_ALL_TESTS();
int main(int argc, char **argv)
TEST(tf2Convert, kdlToBullet)
void convert(const A &a, B &b)