From 934725554f61ee567e76207d13c6d8e7e6c9447a Mon Sep 17 00:00:00 2001 From: Jasmine Hsu Date: Tue, 14 Jun 2016 15:21:50 -0700 Subject: [PATCH] remove initializeJointPosition as setting one joint is not supported --- examples/pybullet/pybullet.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index b645045b3..b8bf684c2 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -479,7 +479,7 @@ pybullet_initializeJointPosition(PyObject* self, PyObject* args) { b3SharedMemoryCommandHandle cmd_handle = b3CreatePoseCommandInit(sm, bodyIndex); - printf("initializing joint %d at %f\n", jointIndex, jointPos); + // printf("initializing joint %d at %f\n", jointIndex, jointPos); b3CreatePoseCommandSetJointPosition(sm, cmd_handle, jointIndex, jointPos); b3SharedMemoryStatusHandle status_handle = @@ -850,9 +850,9 @@ static PyMethodDef SpamMethods[] = { {"initializeJointPositions", pybullet_initializeJointPositions, METH_VARARGS, "Initialize the joint positions for all joints. This method skips any physics simulation and teleports all joints to the new positions."}, - {"initializeJointPosition", pybullet_initializeJointPosition, METH_VARARGS, - "Initialize the joint position for one joint. This method skips any physics simulation and teleports the joint to the new position."}, - + // {"initializeJointPosition", pybullet_initializeJointPosition, METH_VARARGS, + // "Initialize the joint position for one joint. This method skips any physics simulation and teleports the joint to the new position."}, + // {"getJointInfo", pybullet_getJointInfo, METH_VARARGS, "Get the joint metadata info for a joint on a body. This includes joint index, name, type, q-index and u-index."},