diff --git a/examples/pybullet/tensorflow/humanoid_running.py b/examples/pybullet/tensorflow/humanoid_running.py index d54d08d44..49ed1cc32 100644 --- a/examples/pybullet/tensorflow/humanoid_running.py +++ b/examples/pybullet/tensorflow/humanoid_running.py @@ -61,7 +61,9 @@ dummy.initial_z = None def current_relative_position(human, j, lower, upper): #print("j") #print(j) - pos, vel, *other = p.getJointState(human, j) + temp = p.getJointState(human, j) + pos = temp[0] + vel = temp[1] #print("pos") #print(pos) #print("vel") diff --git a/setup.py b/setup.py index 42ff89b26..b6fd2a0a8 100644 --- a/setup.py +++ b/setup.py @@ -417,7 +417,7 @@ else: setup( name = 'pybullet', - version='1.0.2', + version='1.0.3', description='Official Python Interface for the Bullet Physics SDK Robotics Simulator', long_description='pybullet is an easy to use Python module for physics simulation, robotics and machine 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',