Commit Graph

218 Commits

Author SHA1 Message Date
a
3d499c8a7a pybullet: added EGL render device and window_backend option.
EGL review.
EGL dynamic loading, windowType to int
moved to glad2
Require GL 3.3 as GLInstancingRenderer.cpp uses glVertexAttribDivisor
glad2 update with dynamic X11 added
removed old file
build fix
fix mac/win
EGL w/o c++11, off by default
fix premake
fixup: premake fix 2
2018-08-30 13:24:25 +02:00
Erwin Coumans
61b7591b8e expose choice of contraint solver in PyBullet, with switchConstraintSolver example 2018-08-23 23:04:17 -07:00
Erwin Coumans
90e08b41a5 bump up pybullet version 2018-08-09 16:53:11 -07:00
Erwin Coumans
56e7333941 bump up pybullet version 2018-08-04 09:58:15 -07:00
Erwin Coumans
2cab56d6ef prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
Erwin Coumans
2c881d0b74 bump up pybullet version to 2.0.9 2018-06-23 11:53:12 -07:00
Erwin Coumans
9326fff75a PyBullet: bump up version to 2.0.8 2018-06-16 11:02:04 -07:00
Erwin Coumans
0080cf7ed1 bump up pybullet version to 2.0.7 2018-06-13 22:36:12 -07:00
Erwin Coumans
033835a0fa bump up pybullet version 2018-06-05 17:17:10 -07:00
erwincoumans
b6f5cb4c34 enable pdControlPlugin by default (requires pdControlPlugin.cpp and b3RobotSimulatorClientAPI_NoDirect.cpp)
add pdControl.py example, make pdControlPlugin functional
reduce memory usage
fix examples/pybullet/gym/pybullet_data/random_urdfs/948/948.urdf, fixes issue #1704
2018-06-05 15:59:01 -07:00
Erwin Coumans
f75e22e37d bump up PyBullet version to 2.0.3 2018-06-01 22:54:43 -07:00
erwincoumans
7653ddbeba bump up pybullet version (for fixed ik) 2018-05-31 21:17:39 -07:00
erwincoumans
2819ff4a00 bump up version 2018-05-29 21:05:12 -07:00
Erwin Coumans
3d6c8f0fae PyBullet: include the pre-trained policy files in data 2018-05-26 08:49:23 +10:00
Erwin Coumans
da73556ca7 bump up pybullet version to 2.0.0 2018-05-25 08:26:09 +10:00
Erwin Coumans
2ac8c7009d bump up pybullet version to 1.9.9 2018-05-20 15:03:58 +10:00
Erwin Coumans
ea10c59a3d bump up PyBullet version to 1.9.8 2018-05-18 16:26:45 -07:00
Erwin Coumans
0faff1e183 bump up PyBullet version to 1.9.6 2018-05-02 13:57:01 -07:00
erwincoumans
9c77e07494 upgrade from tinyxml to tinyxml2 2018-04-12 00:09:44 -07:00
Erwin Coumans
1f756cfb8d bump up pybullet version to 1.9.5 2018-04-11 01:21:57 -07:00
erwincoumans
39edcf699c bump up pybullet version, add missing sdf file 2018-04-10 22:59:53 -07:00
Erwin Coumans
7fa5e91cbd replace green stadium with blue checkered Bullet plane
add missing files to pybullet setup.pu
2018-04-10 19:55:26 -07:00
erwincoumans
fafa939d33
Merge pull request #1579 from lunkhound/parallel-solver-wip3
Multithreaded constraint solver
2018-03-26 17:11:05 -07:00
Erwin Coumans
e134dcdb0b increase shared memory block size ( to reduce image copy steps)
reduce vertices in r2d2 finger stl files
bump up pybullet vesion
2018-03-07 09:47:28 -08:00
Lunkhound
d900a74939 add new source files to setup.py to fix travis-ci build 2018-02-27 03:03:12 -08:00
Erwin Coumans
15c46a0237 bump up pybullet version, add missing glad file(s) to MANIFEST.in 2018-02-21 11:46:53 -08:00
Erwin Coumans
15608acc4f bump up pybullet version 2018-02-21 10:48:04 -08:00
Erwin Coumans
92fd206dac bump up pybullet version 2018-02-20 20:59:41 -08:00
Erwin Coumans
d583269430 fix glad_glx on linux 2018-02-20 20:57:55 -08:00
Erwin Coumans
dacafda88a use glad instead of glew in mac build and pybullet setup.py 2018-02-20 20:09:12 -08:00
Erwin Coumans
e70470656a PyBullet: bump up version to 1.8.6 2018-01-27 10:25:55 -08:00
Erwin Coumans
1b5676c9da bump up pybullet version 2018-01-26 17:37:00 -08:00
Erwin Coumans
b8362fff94 PyBullet pybullet_envs: fix issue with Humanoid environments (excessive forces, due to lack of action clamping)
PyBullet pybullet_envs: use 1./60 sleep, add enjoy_TF_HumanoidFlagrunHarderBulletEnv_v1_2017jul.py
2018-01-24 16:02:19 -08:00
erwincoumans
585f858842 PyBullet: bump up API version due to move of tinyrenderer into a plugin 2018-01-17 12:51:19 -08:00
erwincoumans
329a1f5a74 PyBullet: move TinyRenderer into a plugin, default statically loaded. You can also dynamically load a render plugin, as shown in renderPlugin.py example. premake has a way to compile the tinyRendererPlugin. 2018-01-17 12:48:48 -08:00
Erwin Coumans
18c83592f3 bump up PyBullet to version 1.8.2 2018-01-15 12:53:41 -08:00
Erwin Coumans
0e41cc65c9 bump up pybullet version 2018-01-11 21:11:27 -08:00
Erwin Coumans
61636038d8 bump up pybullet version 2018-01-08 16:16:59 -08:00
Erwin Coumans
90c5d66e1b fix for Python 2.x 2018-01-08 16:15:54 -08:00
Erwin Coumans
02e5d51052 bump up version 2018-01-05 14:23:45 -08:00
Erwin Coumans
712a088303 Merge remote-tracking branch 'bp/master' 2017-12-23 11:02:52 -08:00
Erwin Coumans
ddabc6b70c bump up pybullet version 2017-12-23 11:02:22 -08:00
erwincoumans
6803c80f89
Merge pull request #1482 from erwincoumans/master
expose local inertia diagonal in PyBullet/C-API, render inertia boxes, updated minitaur with flex brackets
2017-12-20 16:09:01 -08:00
Erwin Coumans
b24d344cbe update to pybullet 1.7.5 version 2017-12-14 11:33:18 -08:00
Yuri
b788e7f4f1 Fixed GL/GLEW libraries on BSD (they weren't linked). 2017-12-12 00:00:45 -08:00
Erwin Coumans
ec0a182a12 add pybullet unittests.py with travis support 2017-11-28 21:53:26 -08:00
Erwin Coumans
1c3092afb8 bump up pybullet to version 1.7.3 (Windows Numpy fix) 2017-11-24 16:52:03 -08:00
Erwin Coumans
db10adeae1 bump up pybullet version to 1.7.2 2017-11-24 14:34:11 -08:00
erwincoumans
4cc29008f7 bump up pybullet version to 1.7.1 2017-11-23 17:39:09 -08:00
erwincoumans
29aa9cb789 Bullet bump up to version 2.88
add preliminary support to import btMultiBody from a .bullet file (will help save/restore state)
fix some Windows char/widechar issues
2017-11-22 18:12:02 -08:00
Erwin Coumans
3f60be59ad bump up pybullet version to 1.7.0 2017-11-20 12:35:36 -08:00
Erwin Coumans
c88132b80f fix issue in pybullet_envs.agents
bump up to pybullet 1.6.9
2017-11-18 17:07:27 -08:00
Erwin Coumans
4226d57801 bump up pybullet version 2017-11-18 15:19:27 -08:00
Erwin Coumans
13937b80f8 bump up version of pybullet to 1.6.7 2017-11-17 18:09:42 -08:00
Erwin Coumans
5f56d3ce2d bump up pybullet version to 1.6.6 2017-11-16 16:51:23 +00:00
Erwin Coumans
ecf14ed132 bump up pybullet version to 1.6.5 2017-11-09 20:00:44 -08:00
Erwin Coumans
d570730b8e fix pybullet and bump up version to 1.6.4 2017-11-07 21:11:16 -08:00
Erwin Coumans
e4f58ddc33 fix typo, add train_ppo kuka task 2017-10-31 16:33:13 -07:00
Erwin Coumans
8750d49082 fix blocking plot.show() never terminating properly 2017-10-13 14:51:06 -07:00
erwincoumans
de44e4811a fix pybullet.addUserDebugText borders around letters
bump up pybullet version
In a few pybullet examples, first connect to SHARED_MEMORY, if not connected use GUI mode
2017-10-10 22:11:32 -07:00
erwincoumans
7bddc7706d bump up pybullet version 2017-10-10 09:08:31 -07:00
Erwin Coumans
91d164d886 remove obsolete CartPoleBulletEnv 2017-10-09 09:44:54 -07:00
Erwin Coumans
dae8af0a78 remote b3GjkPairDetector, it is obsolete and unused, causing clang compile problems
see https://github.com/bulletphysics/bullet3/issues/1347
2017-09-28 15:45:14 -07:00
Erwin Coumans
5082d6af15 bump up pybullet version, instruction to visualize agents ppo:
python -m pybullet_envs.agents.visualize_ppo -config=pybullet_pendulum --logdir=pendulum/20170927T101514-pybullet_pendulum/ --outdir=vid

tensorboard --logdir=20170927T101514-pybullet_pendulum --port=2222
2017-09-27 10:26:45 -07:00
Erwin Coumans
36c9f2f93b bump up pybullet version 2017-09-27 09:09:43 -07:00
Erwin Coumans
2d91e13886 tweak pybullet examples a bit (mac OSX OpenGL runs in mainloop, with python interpreter,
so it needs some 'ping' command
bump up pybullet to version 1.4.6
2017-09-24 21:37:31 -07:00
Erwin Coumans
3783dccaa3 create a C/C++ plugin system for pybullet / C-API. 2017-09-22 19:17:57 -07:00
Erwin Coumans
f4b28dddce fix rendering ("rgb_array") for pendulums/pendula 2017-09-15 16:33:22 -07:00
Erwin Coumans
06b695e051 remove some warning ,see also Pull Request #302
bump up pybullet version
2017-09-14 08:08:24 -07:00
Erwin Coumans
340a8f4704 add sigaction handler to Example Browser, to always shutdown shared memory
make GUI_SERVER more reliable
next attempt to connect to SHARED_MEMORY in Gym envs, if available, before DIRECT/GUI
allow software rendering fallback, even if ER_BULLET_HARDWARE_OPENGL is chosen in getCameraImage
2017-09-13 13:30:16 -07:00
Erwin Coumans
de6d370b38 bump up pybullet version 2017-09-11 17:36:04 -07:00
Erwin Coumans
b7e7415b46 bump up pybullet to 1.3.7 2017-09-11 09:39:48 -07:00
Erwin Coumans
f38b2cf14d use SHARED_MEMORY as first connection attempt, to make visualization/OpenGL rendering easier 2017-09-11 09:23:14 -07:00
Erwin Coumans
ee082396d1 fixes in libdl/DL cmake
minor tweaks in pybullet OpenAI gym locomotion envs (connect to shared memory before going GUI/DIRECT)
bump up pybullet version to 1.3.6
2017-09-10 16:22:45 -07:00
Erwin Coumans
ce64aff7af ant env, fix feet_collision reward issue 2017-09-09 16:00:03 -07:00
Erwin Coumans
6671156652 tweak pybullet title and bump up version 2017-09-07 14:34:37 -07:00
Erwin Coumans
2d3b1e8eaa bump up pybullet version 2017-09-07 14:27:23 -07:00
Erwin Coumans
a47e342ec4 bump up pybullet version 2017-09-02 11:42:58 -07:00
Erwin Coumans
9d404f5316 bump up pybullet version, pre-sort visual shapes 2017-08-29 21:36:56 -07:00
Erwin Coumans
659e869b86 pybullet a bit more refactoring, moving around files.
pybullet: move data to pybullet_data package, with getDataPath() method
2017-08-27 18:08:46 -07:00
Erwin Coumans
97cb6df00c bump up pybullet version 2017-08-26 15:00:54 -07:00
Erwin Coumans
b1426322ed add gif to pybullet data
add python files to .gitignore
pybullet bump up version to 1.2.5
2017-08-25 18:08:53 -07:00
Erwin Coumans
21f9d1b816 refactor pybullet/gym to allow instantiating environments directly from a pybullet install:
work-in-progress (need to add missing data files, fix paths etc)

example:

pip install pybullet
pip install gym

python
import gym
import pybullet
import pybullet_envs
env = gym.make("HumanoidBulletEnv-v0")
2017-08-22 00:42:02 -07:00
Erwin Coumans
c06ea72a4c improve the new pybullet gym environments, follow camera, disable 2D GUI, disable rendering during loading (makes it faster)
disable vsync on Mac
fix setup.py file
2017-08-20 18:11:53 -07:00
Erwin Coumans
226aaedc46 bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK default on Mac
minor fixes (arg name in header/cpp the same)
2017-08-18 08:53:46 -07:00
Erwin Coumans
0df8887990 improve pybullet performance of loadURDF/SDF/MJCF and 'createCollisionShape'/'createMultiBody' for GUI/VR/SHARED_MEMORY,
use p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,0) before loading and
p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,1) afterwards
2017-07-14 23:12:16 +01:00
Erwin Coumans
e6f7eb486a bump up pybullet setup.py version 2017-07-01 10:55:13 -07:00
Erwin Coumans
6e40f41dc6 bump up pybullet version 2017-07-01 10:43:02 -07:00
Erwin Coumans
e5db5192f0 bump up pybullet version again 2017-06-17 13:34:03 -07:00
erwincoumans
d2888f0884 add nicer meshes to kuka_with_gripper.sdf and add kuka_with_gripper2.sdf that can rotate without messing up IK
fix tray/tray_textured4.obj and tray/tray.urdf
fix kuka_with_cube.py
allow both IK /end-effector control and joint-space control in kuka environment, use 1./240. sec. step and 150 solver iter
bump up pybullet to 1.1.7
2017-06-14 19:34:33 -07:00
Erwin Coumans
d17faddff2 fix for b3RequestActualStateCommandComputeLinkVelocity/getLinkState link velocities for static links 2017-06-13 13:51:38 -07:00
Erwin Coumans
82e3c553b9 bump up pybullet version (some memory leaks were fixed since 1.1.3) 2017-06-09 14:03:47 -07:00
Erwin Coumans
9d422c9b08 bump up pybullet version 2017-06-07 19:02:23 -07:00
Erwin Coumans
46f2f3db4e implement 'mimic' joint constraint or 'gear' constraint for btMultiBody, add example in pybullet/examples/mimicJointConstraint.py 2017-06-07 16:22:02 -07:00
Erwin Coumans
b6cf8ade07 prepare for pybullet 1.1.2 2017-06-04 22:54:04 -07:00
erwincoumans
3987bdd333 remove pose frame from SDF,
allow plane collision shape in SDF
load the Roboschool stadium.sdf in humanoid_knee_position_control.py
2017-06-01 20:13:39 -07:00
Erwin Coumans
aa40b8487f bump up SHARED_MEMORY_MAGIC_NUMBER versioning tag, remove humanoid_running_3.py
bump up pybullet version to 1.1.0
2017-06-01 13:33:53 -07:00
erwincoumans
83f910711a Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API
!!! Make sure to add examples/SharedMemory/PhysicsServerExampleBullet2.cpp to your build system, if needed
Bump up pybullet to version 1.0.9
2017-05-30 19:54:55 -07:00
Erwin Coumans
2d04d39fcf bump up pybullet version, include <string.h> for memset 2017-05-23 22:41:08 -07:00
Erwin Coumans
4dcf2b82b6 bump up pybullet to version 1.0.7 2017-05-21 06:53:06 -07:00
Erwin Coumans
f5d7aac5cc bump up pybullet to 1.0.6, prepare to tag Bullet 2.87 release 2017-05-17 21:21:33 -07:00
Erwin Coumans
196d3248b4 update pybullet quickstart guide, bump up pybullet to version 1.0.4 (will update pypi) 2017-05-13 19:13:32 -07:00
Erwin Coumans (google)
c068cb8297 bump up pybullet to 1.0.3,
allow humanoid_running.py to run on Python 2.7
2017-05-12 21:21:03 +00:00
Erwin Coumans
d54eab16e1 bump up setup.py pybullet pypi pip version to 1.0.2 2017-05-09 16:57:56 -07:00
erwincoumans
fbd1a4ec2c Merge pull request #1075 from devnexen/build_fix_bsd
forgotten setup.py build part
2017-04-26 14:43:41 +00:00
David Carlier
a95f5e06db forgotten setup.py build part 2017-04-17 20:05:01 +01:00
Erwin Coumans
747ccf2c85 bump up pybullet setup.py 2017-04-14 07:28:16 -07:00
Erwin Coumans
fec96ab17f pybullet setup.py: enable numpy if found 2017-04-13 12:46:16 -07:00
Erwin Coumans
0a42ad6a88 pybullet: add support for Anaconda install on Mac OSX, for pip install pybullet, python setup.py install and cmake.
Usage:

Also updated pypi to latest, see https://pypi.python.org/pypi?:action=display&name=pybullet&version=0.1.7
Here are a few options for Mac OSX + Anaconda:

1) In the root of the Bullet Physics SDK source tree, run
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" python setup.py install

2) cmake, add the flag -DBUILD_PYBULLET_MAC_USE_PYTHON_FRAMEWORK=OFF

3) Globally, just use pip or pip3:
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" pip install pybullet

Option (3) may have an out-of-date pybullet/bullet version.
2017-04-11 12:17:08 -07:00
Erwin Coumans
239ef81364 pybullet pip/setup.py: enable double precision, tcp, udp 2017-04-04 08:11:18 -07:00
Erwin Coumans
322c7d4b7e add missing files in pip, bump version 2017-04-04 00:01:12 -07:00
erwincoumans
fa023cb14b fix syntax error in setup.py,
update pybullet quickstart guide PDF from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.6c3uot59qod4
2017-04-03 23:39:22 -07:00
erwincoumans
7a314fd62a pybullet/pip setup.py bump up to 0.1.4, add categories 2017-04-03 23:25:12 -07:00
erwincoumans
025687627d remove Linux preprocessor define from win32 setting in setup.py 2017-04-03 22:54:44 -07:00
erwincoumans
217dfef12b fix Windows pip / setup.py 2017-04-03 22:39:33 -07:00
Erwin Coumans (Google)
c4cee21225 pybullet pip/setup.py Linux fixes 2017-04-03 09:50:01 -07:00
Erwin Coumans
463cbf93de minor fix in setup.py, disable udp/tcp for now (not setup yet) 2017-04-02 23:12:02 -07:00
Erwin Coumans
e487bc360b add support for setuptools setup.py pybullet for 'pip install pybullet'
rewrite MacOpenGLWindow.mm into .m version, so that setup.py can handle it.
See also test at https://pypi.python.org/pypi/pybullet/0.1.0
2017-04-02 23:00:06 -07:00