RobWorkProject  24.5.15-
Static Public Member Functions | List of all members
CollisionSetupLoader Class Reference

#include <CollisionSetupLoader.hpp>

Static Public Member Functions

static rw::proximity::CollisionSetup load (const std::string &prefix, const std::string &file)
 Load a collision setup from the file file. More...
 

Detailed Description

   @brief Loader of collision setups from files.

   [CollisionSetupLoader could just as well simply be a utility function.]

   The XML format is:
      <CollisionSetup>
          <Exclude>
              <FramePair first="first_frame" second="second_frame"/>
              ...
          </Exclude>
          <Volatile>frame1 frame2 .. </Volatile>
      </CollisionSetup>

Member Function Documentation

◆ load()

static rw::proximity::CollisionSetup load ( const std::string &  prefix,
const std::string &  file 
)
static

Load a collision setup from the file file.

prefix is prepended to every frame name.

Parameters
prefix[in] The context in which the setup is loaded.
file[in] The file from which to load the collision setup.
Returns
The collision setup.

The documentation for this class was generated from the following file: