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 18 of file SimMjcf.h.

Constructor & Destructor Documentation

◆ SimMJCF()

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

Definition at line 17 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 68 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 129 of file SimMjcf.cpp.

◆ addObjectDefaults()

void addObjectDefaults ( const std::string & className)

Definition at line 47 of file SimMjcf.cpp.

◆ includeBaseFile()

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

Definition at line 26 of file SimMjcf.cpp.

+ Here is the call graph for this function:

◆ setTimeStep()

void setTimeStep ( float timestep)

Definition at line 62 of file SimMjcf.cpp.


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