#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.
Namespaces | |
namespace | urdf |
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 "." |
Typedefs | |
typedef boost::shared_ptr < const ::urdf::ModelInterface > | urdf::ModelInterfaceSharedPtr |
Functions | |
urdf::ModelInterfaceSharedPtr | 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 48 of file test_parser.cpp.
#define TEST_RESOURCE_LOCATION "." |
Definition at line 51 of file test_parser.cpp.
urdf::ModelInterfaceSharedPtr loadURDF | ( | const std::string & | filename | ) |
Definition at line 54 of file test_parser.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 164 of file test_parser.cpp.
void testComplex | ( | void | ) |
Definition at line 105 of file test_parser.cpp.
void testSimple | ( | void | ) |
Definition at line 77 of file test_parser.cpp.