simulate python: fix cmake, glfw usage, update Python version of physics loop
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <mujoco/mjmodel.h>
|
||||
#include <mujoco/simulate.h>
|
||||
#include <mujoco/mjvisualize.h>
|
||||
#include <mujoco/mujoco.h>
|
||||
#include <pybind11/cast.h>
|
||||
@@ -79,9 +78,6 @@ PYBIND11_MODULE(_constants, pymodule) {
|
||||
// from mujoco.h
|
||||
X(mjVERSION_HEADER);
|
||||
|
||||
// from simulate.h
|
||||
X(mujoco::Simulate::kMaxFilenameLength);
|
||||
|
||||
#undef X
|
||||
pymodule.attr("mjDISABLESTRING") = MakeTuple(mjDISABLESTRING);
|
||||
pymodule.attr("mjENABLESTRING") = MakeTuple(mjENABLESTRING);
|
||||
|
||||
Reference in New Issue
Block a user