Namespaces | Defines | Typedefs | Functions
test_parser.cpp File Reference
#include <srdfdom/model.h>
#include <urdf_parser/urdf_parser.h>
#include <fstream>
#include <stdexcept>
#include <boost/lexical_cast.hpp>
Include dependency graph for test_parser.cpp:

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 Documentation

#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.


Function Documentation

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.



srdfdom
Author(s): Ioan Sucan , Guillaume Walck
autogenerated on Sat Jun 8 2019 20:48:50