From cd2f111a10c72f3d41418fa2a8d3f1f70b06e425 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Tue, 25 Sep 2018 17:06:32 -0700 Subject: [PATCH] update pybullet version, include *.* from OpenGLWindow --- MANIFEST.in | 2 +- data/multibody.bullet | Bin 16836 -> 16836 bytes .../pybullet/examples/inverse_dynamics.py | 4 ++++ setup.py | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index fdff76d10..476648ddc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,6 +7,6 @@ recursive-include src *.h recursive-include src *.hpp recursive-include examples/pybullet/gym *.* include examples/ThirdPartyLibs/enet/unix.c -include examples/OpenGLWindow/*.cpp +include examples/OpenGLWindow/*.* recursive-include examples/ThirdPartyLibs/glad *.* include examples/ThirdPartyLibs/enet/win32.c diff --git a/data/multibody.bullet b/data/multibody.bullet index ddab3a0903629dc081aa9c546a7b243770657ca5..fec2a61a8b5735aa0346f3a8502fb0673c03d36f 100644 GIT binary patch delta 254 zcmX@o%y^`kaRUz{s{sQ81LI^t#^{L`L?#z-xv(rL*t>6XB3H=7Cqk3;n1Uu-GASub z0TqFP!UXHe9uP|}=BPbH2ue;Y6rJqAB*n@M+QC1}-2d!Pw29L4(>_J@W^fSeOB`3wu!by1M6f##^`!?=8XM0oHO?^FeKQoFy*y-yf|wwSB?HY$*Jr2 z0u?c|MNQuK@k`YHZ7p~9xid%DFX%L|im_AvixBpCihaHFp*<~UqX1~9kO?Tgk+0$)-46q_6JB|Gl-|n#k(I7=e z&*bb~(=P7?so7^Bw{PMDvB`Q&L7v}*Rlw?h@^gX>?bYzz4{{vH>iVx1d!0m__JL>+ ze_mWBSS^H3uunXE*;d}F80-PY$%%~G0?a^FAPjOo$dt(jtYVX;n5F8m`46N36i$nS z1i{vL)kcD?`IlYQ&<-p?Vl^CY6qf0-ZQh| zwQmQ8&jyWXTP)$^3lFGxm)mTy)>R*A`m)ti0p(>jFW?Y>i->GK!THA=0E8atK>z>% diff --git a/examples/pybullet/examples/inverse_dynamics.py b/examples/pybullet/examples/inverse_dynamics.py index 8b86cc3b9..955ebfee6 100644 --- a/examples/pybullet/examples/inverse_dynamics.py +++ b/examples/pybullet/examples/inverse_dynamics.py @@ -30,6 +30,10 @@ else: robot_base, robot_orientation, useFixedBase=True) +bullet.changeDynamics(id_robot,-1,linearDamping=0, angularDamping=0) +bullet.changeDynamics(id_robot,0,linearDamping=0, angularDamping=0) +bullet.changeDynamics(id_robot,1,linearDamping=0, angularDamping=0) + jointTypeNames = ["JOINT_REVOLUTE", "JOINT_PRISMATIC","JOINT_SPHERICAL","JOINT_PLANAR","JOINT_FIXED","JOINT_POINT2POINT","JOINT_GEAR"] # Disable the motors for torque control: diff --git a/setup.py b/setup.py index 11c383f46..c5b7d063e 100644 --- a/setup.py +++ b/setup.py @@ -559,7 +559,7 @@ if 'BT_USE_EGL' in EGL_CXX_FLAGS: setup( name = 'pybullet', - version='2.1.9', + version='2.2.2', 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',