diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index eb1e88f6d..3731f4c4d 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -276,7 +276,7 @@ pybullet_resetSimulation(PyObject* self, PyObject* args) return Py_None; } -static int pybullet_setJointControl(PyObject* self, PyObject* args) +static PyObject* pybullet_setJointControl(PyObject* self, PyObject* args) { //todo(erwincoumans): set max forces, kp, kd