mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-06-14 03:09:18 +00:00
add option to merge fixed links in URDF file (improves performance, can handle URDF files with many fixed links)
add option to ignore visual and collision shapes in URDF file
This commit is contained in:
@@ -278,6 +278,7 @@ bool b3RobotSimulatorClientAPI_NoDirect::loadMJCF(const std::string& fileName, b
|
||||
b3SharedMemoryCommandHandle command;
|
||||
|
||||
command = b3LoadMJCFCommandInit(m_data->m_physicsClientHandle, fileName.c_str());
|
||||
b3LoadMJCFCommandSetFlags(command, URDF_USE_IMPLICIT_CYLINDER);
|
||||
statusHandle = b3SubmitClientCommandAndWaitStatus(m_data->m_physicsClientHandle, command);
|
||||
statusType = b3GetStatusType(statusHandle);
|
||||
if (statusType != CMD_MJCF_LOADING_COMPLETED)
|
||||
|
||||
Reference in New Issue
Block a user