35 #include <gtest/gtest.h>
75 TEST(TestRobotStatePubSubclass, robot_state_pub_subclass)
81 ROS_ERROR(
"Failed to extract kdl tree from xml robot description");
87 for(std::map< std::string, urdf::JointSharedPtr >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
89 mimic.insert(make_pair(i->first, i->second->mimic));
95 EXPECT_EQ(model.name_, state_pub.
getModel().name_);
96 EXPECT_EQ(model.root_link_, state_pub.
getModel().root_link_);
102 int main(
int argc,
char** argv)
105 testing::InitGoogleTest(&argc, argv);
107 int res = RUN_ALL_TESTS();