31 #include <gtest/gtest.h> 33 #include <boost/scoped_ptr.hpp> 36 #include <kdl/chainfksolverpos_recursive.hpp> 58 TiXmlDocument urdf_xml;
60 TiXmlElement *root = urdf_xml.FirstChildElement(
"robot");
61 ASSERT_TRUE(root != NULL);
64 ASSERT_TRUE(model.
initXml(root));
84 int main(
int argc,
char **argv){
85 testing::InitGoogleTest(&argc, argv);
86 return RUN_ALL_TESTS();
virtual ~ShortChainTest()
int main(int argc, char **argv)
TEST_F(ShortChainTest, FKShouldMatchOnShortChainWhenStraight)
pr2_hardware_interface::HardwareInterface hw
bool initXml(TiXmlElement *root)
Initialize the robot model form xml.
This class provides the controllers with an interface to the robot state.
ROSLIB_DECL std::string getPath(const std::string &package_name)
This class provides the controllers with an interface to the robot model.