Rename simulate.fully_managed_ to simulate.is_passive_ with flipped semantics.

PiperOrigin-RevId: 570815258
Change-Id: Iaffdb0e52bcdb31cff7bd29cb820913e3838f0ee
This commit is contained in:
Yuval Tassa
2023-10-04 14:49:06 -07:00
committed by Copybara-Service
parent 3e12f0d50c
commit e9613f0cc9
4 changed files with 50 additions and 50 deletions
+2 -3
View File
@@ -15,6 +15,7 @@
#include <chrono>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <memory>
@@ -22,8 +23,6 @@
#include <new>
#include <string>
#include <thread>
#include <type_traits>
#include <vector>
#include <mujoco/mujoco.h>
#include "glfw_adapter.h"
@@ -490,7 +489,7 @@ int main(int argc, char** argv) {
// simulate object encapsulates the UI
auto sim = std::make_unique<mj::Simulate>(
std::make_unique<mj::GlfwAdapter>(),
&scn, &cam, &opt, &pert, /* fully_managed = */ true
&scn, &cam, &opt, &pert, /* is_passive = */ false
);
const char* filename = nullptr;