#include <srdfdom/model.h>
#include <urdf_parser/urdf_parser.h>
#include <fstream>
#include <stdexcept>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Defines | |
#define | EXPECT_TRUE(arg) if (!(arg)) throw std::runtime_error("Assertion failed at line " + boost::lexical_cast<std::string>(__LINE__)) |
#define | TEST_RESOURCE_LOCATION "." |
Functions | |
boost::shared_ptr < urdf::ModelInterface > | loadURDF (const std::string &filename) |
int | main (int argc, char **argv) |
void | testComplex (void) |
void | testSimple (void) |
#define EXPECT_TRUE | ( | arg | ) | if (!(arg)) throw std::runtime_error("Assertion failed at line " + boost::lexical_cast<std::string>(__LINE__)) |
Definition at line 43 of file test_parser.cpp.
#define TEST_RESOURCE_LOCATION "." |
Definition at line 46 of file test_parser.cpp.
boost::shared_ptr<urdf::ModelInterface> loadURDF | ( | const std::string & | filename | ) |
Definition at line 49 of file test_parser.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 159 of file test_parser.cpp.
void testComplex | ( | void | ) |
Definition at line 100 of file test_parser.cpp.
void testSimple | ( | void | ) |
Definition at line 72 of file test_parser.cpp.