chrono::parsers Namespace Reference

Description

Namespace with classes for the Parsers module.

Classes

class  ChLoadController
 Base class for an external controller to apply loads on a body. More...
 
class  ChMotorController
 Base class for an external controller to actuate a ChLinkMotor. More...
 
class  ChParserAdams
 ADAMS input file parser. More...
 
class  ChParserCfdYAML
 Base class for YAML parsers for fluid systems. More...
 
class  ChParserFsiYAML
 Parser for YAML specification file for a coupled FSI problem. More...
 
class  ChParserMbsYAML
 Parser for YAML specification files for Chrono models and simulations. More...
 
class  ChParserOpenSim
 OpenSim input file parser. More...
 
class  ChParserSphYAML
 Parser for YAML specification files for Chrono::SPH models and simulations. More...
 
class  ChParserURDF
 URDF input file parser. More...
 
class  ChParserVehicleYAML
 Parser for YAML specification file for Chrono::Vehicle models. More...
 
class  ChParserYAML
 Base class for all YAML parsers. More...
 
class  ChPythonEngine
 Class for a Python parser. More...
 
class  ChRobotActuation
 Generic robot actuation driver using interpolated data from files. More...
 

Typedefs

typedef std::unordered_map< std::string, ChVector3dLoadControllerLoads
 List of load controller names and their associated loads.
 
typedef std::unordered_map< std::string, double > MotorControllerActuations
 List of motor controller names and their associated loads.
 

Functions

void tokenParseError (int expected, std::pair< int, std::string > &got)
 
void parseADMPart (std::string ID, std::vector< std::pair< int, std::string >> &tokens, ChSystem &sys)
 
void parseADMJoint (std::string ID, std::vector< std::pair< int, std::string >> &tokens, ChSystem &sys)
 
void parseADMMarker (std::string ID, std::vector< std::pair< int, std::string >> &tokens, ChSystem &sys)
 
ChQuaternion Q_from_313_angles (double q1, double q2, double q3)
 
bool Discard (urdf::LinkConstSharedPtr link)
 
void printBodyTree (urdf::LinkConstSharedPtr link, int level=0)
 
int FindMaterial (const std::string &name, const std::unordered_map< std::string, size_t > materials)
 

Variables

std::map< std::string, adams_part_struct > parts_map
 
std::map< std::string, adams_joint_struct > joints_map
 
std::map< std::string, adams_marker_struct > markers_map
 
std::vector< std::vector< std::pair< int, std::string > > > graphics_token_list
 
const double inertia_threshold = 1e-6