Go to the documentation of this file.
5 #include <VirtualRobot/SceneObject.h>
6 #include <VirtualRobot/MJCF/Document.h>
24 const std::string& loggingTag =
"SimMJCF");
26 void includeBaseFile(
const std::string& path,
const std::string& relativeFrom);
32 void addFloor(
bool enabled,
const std::string& texture,
const std::string& name,
float size);
35 VirtualRobot::SceneObject::Physics::SimulationType simType,
36 const std::string& className,
const std::filesystem::path& meshDir);
41 mjcf::Document& document;
void includeBaseFile(const std::string &path, const std::string &relativeFrom)
void addFloor(bool enabled, const std::string &texture, const std::string &name, float size)
SimMJCF(mjcf::Document &document, const LengthScaling &scaling, const std::string &loggingTag="SimMJCF")
void addObject(VirtualRobot::SceneObjectPtr object, VirtualRobot::SceneObject::Physics::SimulationType simType, const std::string &className, const std::filesystem::path &meshDir)
void setTimeStep(float timestep)
Base Class for all Logging classes.
boost::intrusive_ptr< SceneObject > SceneObjectPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
void addObjectDefaults(const std::string &className)