getDynamicsInfo function now works. Changed to call b3GetDynamicsInfo in getDynamicsInfo.
This commit is contained in:
@@ -1270,6 +1270,7 @@ bool b3RobotSimulatorClientAPI_NoGUI::getDynamicsInfo(int bodyUniqueId, int link
|
|||||||
status_handle = b3SubmitClientCommandAndWaitStatus(m_data->m_physicsClientHandle, cmd_handle);
|
status_handle = b3SubmitClientCommandAndWaitStatus(m_data->m_physicsClientHandle, cmd_handle);
|
||||||
status_type = b3GetStatusType(status_handle);
|
status_type = b3GetStatusType(status_handle);
|
||||||
if (status_type == CMD_GET_DYNAMICS_INFO_COMPLETED) {
|
if (status_type == CMD_GET_DYNAMICS_INFO_COMPLETED) {
|
||||||
|
b3GetDynamicsInfo(status_handle, dynamicsInfo);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
b3Warning("getDynamicsInfo did not complete");
|
b3Warning("getDynamicsInfo did not complete");
|
||||||
|
|||||||
Reference in New Issue
Block a user