state 2 of FileIO plugin: adding/removing FileIO types, search through all registered FileIO types.
(not enabled by default yet)
Example:
fileIO = p.loadPlugin("fileIOPlugin")
print("fileIO=",fileIO)
p.executePluginCommand(fileIO,"e:/develop/bullet3/data/plane.zip", [p.AddFileIOAction,p.ZipFileIO])
p.executePluginCommand(fileIO,"e:/develop/bullet3/data/test2.zip", [p.AddFileIOAction,p.ZipFileIO])
planeId = p.loadURDF("plane.urdf")
duckId = p.loadURDF("duck_vhacd.urdf",[0,0,1])
This commit is contained in:
@@ -909,4 +909,18 @@ enum eConstraintSolverTypes
|
||||
eConstraintSolverLCP_BLOCK_PGS,
|
||||
};
|
||||
|
||||
enum eFileIOActions
|
||||
{
|
||||
eAddFileIOAction = 1024,//avoid collision with eFileIOTypes
|
||||
eRemoveFileIOAction,
|
||||
};
|
||||
|
||||
|
||||
enum eFileIOTypes
|
||||
{
|
||||
ePosixFileIO = 1,
|
||||
eZipFileIO,
|
||||
eCNSFileIO,
|
||||
};
|
||||
|
||||
#endif //SHARED_MEMORY_PUBLIC_H
|
||||
|
||||
Reference in New Issue
Block a user