Don't initialize plugins during model compilation.
PiperOrigin-RevId: 585701389 Change-Id: I4e5e34276f404abadf6f5d4d9764ca717304ee34
This commit is contained in:
committed by
Copybara-Service
parent
6412c95a37
commit
51d80564fa
@@ -87,10 +87,13 @@ MJAPI const char* mj_validateReferences(const mjModel* m);
|
||||
|
||||
//------------------------------- mjData -----------------------------------------------------------
|
||||
|
||||
// Allocate mjData corresponding to given model.
|
||||
// If the model buffer is unallocated the initial configuration will not be set.
|
||||
// allocate mjData corresponding to given model, initialize plugins, reset the state
|
||||
// if the model buffer is unallocated the initial configuration will not be set
|
||||
MJAPI mjData* mj_makeData(const mjModel* m);
|
||||
|
||||
// allocate mjData corresponding to given model, used internally
|
||||
MJAPI mjData* mj_makeRawData(const mjModel* m);
|
||||
|
||||
// Copy mjData.
|
||||
// m is only required to contain the size fields from MJMODEL_INTS.
|
||||
MJAPI mjData* mj_copyData(mjData* dest, const mjModel* m, const mjData* src);
|
||||
|
||||
Reference in New Issue
Block a user