Skip to content

raisim::urdf::LoadFromURDF2 ​

class · #include <raisim/object/ArticulatedSystem/loaders.hpp>

Internal: URDF parser that fills an ArticulatedSystem. Users should use the ArticulatedSystem/World API instead.

Constructors & destructor ​

LoadFromURDF2 ​

cpp
LoadFromURDF2(
    ArticulatedSystem &system,
    const std::string &filePath,
    std::vector<std::string> jointOrder,
    bool isItAFilePath)

Parse a URDF and build the kinematic tree of system.

Parameters

ParameterDescription
system (in, out)articulated system to fill
filePath (in)URDF file path or URDF text
jointOrder (in)preferred joint order (see the ArticulatedSystem URDF constructor)
isItAFilePath (in)true if filePath is a path

RaiSim — physics for robotics and AI.