3 #include <gtest/gtest.h> 6 TEST(TfListenerSingleton, testLookupTransformWithDuration){
14 std::string from_frame(
"base");
15 std::string to_frame(
"head");
23 ASSERT_STREQ(
"base", transform.
frame_id_.c_str());
34 int main(
int argc,
char **argv){
35 ros::init(argc, argv,
"simple_lookup_transform");
36 testing::InitGoogleTest(&argc, argv);
37 return RUN_ALL_TESTS();
tf::StampedTransform lookupTransformWithDuration(tf::TransformListener *listener, const std::string &to_frame, const std::string &from_frame, const ros::Time &stamp, ros::Duration duration)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
TFSIMD_FORCE_INLINE const tfScalar & getY() const
TFSIMD_FORCE_INLINE const tfScalar & getW() const
TFSIMD_FORCE_INLINE const tfScalar & getZ() const
int main(int argc, char **argv)
TFSIMD_FORCE_INLINE const tfScalar & getX() const
TEST(TfListenerSingleton, testLookupTransformWithDuration)