SimMJCF Class Reference

#include <ArmarXSimulation/components/Simulator/mujoco/SimMjcf.h>

+ Inheritance diagram for SimMJCF:

Public Member Functions

void addFloor (bool enabled, const std::string &texture, const std::string &name, float size)
 
void addObject (VirtualRobot::SceneObjectPtr object, VirtualRobot::SceneObject::Physics::SimulationType simType, const std::string &className, const std::filesystem::path &meshDir)
 
void addObjectDefaults (const std::string &className)
 
void includeBaseFile (const std::string &path, const std::string &relativeFrom)
 
void setTimeStep (float timestep)
 
 SimMJCF (mjcf::Document &document, const LengthScaling &scaling, const std::string &loggingTag="SimMJCF")
 

Detailed Description

Definition at line 19 of file SimMjcf.h.

Constructor & Destructor Documentation

◆ SimMJCF()

SimMJCF ( mjcf::Document &  document,
const LengthScaling scaling,
const std::string &  loggingTag = "SimMJCF" 
)

Definition at line 19 of file SimMjcf.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ addFloor()

void addFloor ( bool  enabled,
const std::string &  texture,
const std::string &  name,
float  size 
)

Definition at line 70 of file SimMjcf.cpp.

+ Here is the call graph for this function:

◆ addObject()

void addObject ( VirtualRobot::SceneObjectPtr  object,
VirtualRobot::SceneObject::Physics::SimulationType  simType,
const std::string &  className,
const std::filesystem::path &  meshDir 
)

Definition at line 131 of file SimMjcf.cpp.

+ Here is the call graph for this function:

◆ addObjectDefaults()

void addObjectDefaults ( const std::string &  className)

Definition at line 51 of file SimMjcf.cpp.

+ Here is the call graph for this function:

◆ includeBaseFile()

void includeBaseFile ( const std::string &  path,
const std::string &  relativeFrom 
)

Definition at line 29 of file SimMjcf.cpp.

+ Here is the call graph for this function:

◆ setTimeStep()

void setTimeStep ( float  timestep)

Definition at line 65 of file SimMjcf.cpp.


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