Drake
drake::multibody::parsing Namespace Reference

Classes

class  FrameCache
 Keeps a set of frames and the transforms that relate them, using a root or fixed frame to conjoin them all. More...
 
struct  FramedIsometry3
 An isometric transform along with the frame in which it is defined. More...
 
class  SdfJoint
 A representation of a <joint> element in an SDF file. More...
 
class  SdfLink
 A representation of a <link> element in an SDF file. More...
 
class  SdfModel
 This class provides a representation of a <model> element within a given SDF specification. More...
 
class  SdfSpec
 This class provides a representation for an SDF specification. More...
 

Functions

std::unique_ptr< SdfSpecParseSdfModelFromFile (const std::string &sdf_path)
 Parses a single <model> from file a file named sdf_path. More...
 

Function Documentation

std::unique_ptr< SdfSpec > ParseSdfModelFromFile ( const std::string &  sdf_path)

Parses a single <model> from file a file named sdf_path.

A new SdfSpec object is created which will contain the single model from the file.

Exceptions
std::runtime_errorif there is more than one <model> element in the file.

Here is the call graph for this function: