WIP Python bindings for Simulate tested on Linux only

This commit is contained in:
Levi Burner
2022-03-30 12:51:56 -04:00
parent 5ef8cb6bbc
commit 0b6bf42840
8 changed files with 517 additions and 6 deletions
+4
View File
@@ -19,6 +19,7 @@
#include <mujoco/mjmodel.h>
#include <mujoco/mjrender.h>
#include <mujoco/mjvisualize.h>
#include <mujoco/simulate.h>
// Type aliases for MuJoCo C structs to allow us refer to consistently refer
// to them under the "raw" namespace.
@@ -55,6 +56,9 @@ using MjvOption = ::mjvOption;
using MjvScene = ::mjvScene;
using MjvFigure = ::mjvFigure;
// From simulate.h
using Simulate = ::mujoco::Simulate;
} // namespace mujoco::raw
#endif // MUJOCO_PYTHON_RAW_H_