Move plugin loading and scanning logic from Simulate to MuJoCo library.
PiperOrigin-RevId: 489020177 Change-Id: I1c29d931b47d5252e57e1d797cc7c17645859ffc
This commit is contained in:
committed by
Copybara-Service
parent
2ebc5f097b
commit
9ecade0707
@@ -41,6 +41,12 @@ MJAPI const mjpPlugin* mjp_getPluginAtSlot(int slot);
|
||||
// NULL: invalid plugin instance ID or attribute name
|
||||
MJAPI const char* mj_getPluginConfig(const mjModel* m, int plugin_id, const char* attrib);
|
||||
|
||||
// load plugins from a dynamic library
|
||||
MJAPI void mj_loadPluginLibrary(const char* path);
|
||||
|
||||
// scan a directory and load all dynamic libraries
|
||||
MJAPI void mj_loadAllPluginLibraries(const char* directory, mjfPluginLibraryLoadCallback callback);
|
||||
|
||||
// =================================================================================================
|
||||
// MuJoCo-internal functions beyond this point.
|
||||
// "Unsafe" suffix indicates that improper use of these functions may result in data races.
|
||||
|
||||
Reference in New Issue
Block a user