diff --git a/examples/pybullet/examples/urdfEditor.py b/examples/pybullet/examples/urdfEditor.py index 10903265f..4ace93580 100644 --- a/examples/pybullet/examples/urdfEditor.py +++ b/examples/pybullet/examples/urdfEditor.py @@ -552,7 +552,7 @@ if (1): for i in range (p.getNumJoints(obUid, physicsClientId=gui)): - p.setJointMotorControl2(obUid,i,p.VELOCITY_CONTROL,targetVelocity=0.1,force=1,physicsClientId=gui) + p.setJointMotorControl2(obUid,i,p.VELOCITY_CONTROL,targetVelocity=0,force=1,physicsClientId=gui) print(p.getJointInfo(obUid,i,physicsClientId=gui)) @@ -562,5 +562,6 @@ p.setRealTimeSimulation(1,physicsClientId=gui) while (p.getConnectionInfo(physicsClientId=gui)["isConnected"]): + p.stepSimulation(physicsClientId=gui) time.sleep(0.01) - \ No newline at end of file + diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 085a68815..0ad582e47 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -5800,7 +5800,7 @@ static PyObject* pybullet_createCollisionShapeArray(PyObject* self, PyObject* ar PyObject* ob = PyUnicode_AsASCIIString(fileNameObj); fileName = PyBytes_AS_STRING(ob); #else - fileName = PyString_AsString(objectsRepresentation); + fileName = PyString_AsString(fileNameObj); #endif } if (meshScaleObj) diff --git a/setup.py b/setup.py index 611831c95..ede6ab20f 100644 --- a/setup.py +++ b/setup.py @@ -443,7 +443,7 @@ print("-----") setup( name = 'pybullet', - version='1.7.8', + version='1.8.0', description='Official Python Interface for the Bullet Physics SDK specialized for Robotics Simulation and Reinforcement Learning', long_description='pybullet is an easy to use Python module for physics simulation, robotics and deep reinforcement learning based on the Bullet Physics SDK. With pybullet you can load articulated bodies from URDF, SDF and other file formats. pybullet provides forward dynamics simulation, inverse dynamics computation, forward and inverse kinematics and collision detection and ray intersection queries. Aside from physics simulation, pybullet supports to rendering, with a CPU renderer and OpenGL visualization and support for virtual reality headsets.', url='https://github.com/bulletphysics/bullet3',