Remove copy_back from Python bindings and mj_copyBack from the C API.
PiperOrigin-RevId: 687377331 Change-Id: I355493d92857418b08b5aa90ea38cebe5c475314
This commit is contained in:
committed by
Copybara-Service
parent
62c0ef4262
commit
dcf2816543
@@ -19,6 +19,7 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#include <mujoco/mjmodel.h>
|
||||
#include <mujoco/mjspec.h>
|
||||
#include "user/user_objects.h"
|
||||
#include "xml/xml_base.h"
|
||||
@@ -28,7 +29,7 @@ class mjXWriter : public mjXBase {
|
||||
public:
|
||||
mjXWriter(); // constructor
|
||||
virtual ~mjXWriter() = default; // destructor
|
||||
void SetModel(const mjSpec* spec);
|
||||
void SetModel(const mjSpec* _spec, const mjModel* m = nullptr);
|
||||
|
||||
// write XML document to string
|
||||
std::string Write(char *error, std::size_t error_sz);
|
||||
|
||||
Reference in New Issue
Block a user