tweak Minitaur/RobotSimulator, fix target value from int to double

This commit is contained in:
Erwin Coumans
2017-02-24 21:40:43 -08:00
parent a4f1e34899
commit 88aa9e899e
5 changed files with 78 additions and 45 deletions

View File

@@ -512,7 +512,7 @@ bool b3RobotSimulatorClientAPI::getJointState(int bodyUniqueId, int jointIndex,
return false;
}
bool b3RobotSimulatorClientAPI::resetJointState(int bodyUniqueId, int jointIndex, int targetValue)
bool b3RobotSimulatorClientAPI::resetJointState(int bodyUniqueId, int jointIndex, double targetValue)
{
b3SharedMemoryCommandHandle commandHandle;
b3SharedMemoryStatusHandle statusHandle;