From 325ccad2582257d30105857fef6ed0067f718118 Mon Sep 17 00:00:00 2001 From: donghokang Date: Tue, 29 May 2018 16:41:37 +0200 Subject: [PATCH] getDynamicsInfo function now works. Changed to call b3GetDynamicsInfo in getDynamicsInfo. --- examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp b/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp index dfe6e19a2..ee6a20989 100644 --- a/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp +++ b/examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI.cpp @@ -1270,6 +1270,7 @@ bool b3RobotSimulatorClientAPI_NoGUI::getDynamicsInfo(int bodyUniqueId, int link status_handle = b3SubmitClientCommandAndWaitStatus(m_data->m_physicsClientHandle, cmd_handle); status_type = b3GetStatusType(status_handle); if (status_type == CMD_GET_DYNAMICS_INFO_COMPLETED) { + b3GetDynamicsInfo(status_handle, dynamicsInfo); return true; } else { b3Warning("getDynamicsInfo did not complete");