Commit Graph

5391 Commits

Author SHA1 Message Date
Erwin Coumans
ee8fd56c5e prepare to train racecar using ZED camera pixels (CNN+DQN) 2017-06-13 16:04:50 -07:00
Erwin Coumans
0958e8f473 only show debug camera RGB pixels by default 2017-06-13 14:07:58 -07:00
Erwin Coumans
d17faddff2 fix for b3RequestActualStateCommandComputeLinkVelocity/getLinkState link velocities for static links 2017-06-13 13:51:38 -07:00
Erwin Coumans
ab6d5c9c53 Merge remote-tracking branch 'bp/master' 2017-06-13 11:06:12 -07:00
Erwin Coumans
c84416d932 add debug view for getCameraImage (RGB, depth, segmentation mask) 2017-06-13 10:53:24 -07:00
erwincoumans
5692137554 Merge pull request #1185 from mbreyer/bugfix-uninitializedVariable
fix uninitialized erp in pybullet_setPhysicsEngineParameter
2017-06-13 08:28:24 -07:00
Michel Breyer
0c7cf47eb9 fix uninitialized erp in pybullet_setPhysicsEngineParameter 2017-06-13 17:24:35 +02:00
erwincoumans
e24dbec146 Merge pull request #1184 from mbreyer/bugfix-pybulletGetCameraImage
fix memcpy of depth and segmentation images to numpy arrays
2017-06-12 14:15:30 -07:00
Michel Breyer
6d84e5e159 fix memcpy of depth and segmentation images to numpy arrays 2017-06-12 16:28:21 +02:00
erwincoumans
00e85554fb Merge pull request #1181 from erwincoumans/master
Implement OpenAI baselines dqn train/enjoy pybullet racecar
2017-06-10 20:34:42 -07:00
erwincoumans
1752aa55ca train_pybullet_racecar.py works, self-driving car drives towards the ball using OpenAI baselines DQN :-)
See https://www.youtube.com/watch?v=DZ5Px-ocelw for video and how-to-install.
2017-06-10 18:46:36 -07:00
Erwin Coumans
4a7469a1ba fix uninitialized-variable issues (were unused initialized, but triggers some memory checking tools) 2017-06-09 21:19:02 -07:00
Erwin Coumans
b361722500 Implement train_pybullet_racecar.py and enjoy_pybullet_racecar.py using OpenAI baselines DQN for the RacecarGymEnv. 2017-06-09 19:26:07 -07:00
erwincoumans
dc8c2e4d5e Merge pull request #1179 from erwincoumans/master
add mimic constraint for differential gears
2017-06-09 15:02:59 -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
erwincoumans
b2a46a7edd mimicJointConstraint.py creates actual differential drive
See https://www.youtube.com/watch?v=pK3PTPlRTGA  :-)
2017-06-09 10:15:05 -07:00
Erwin Coumans
0aeb4d5058 add RacecarGymEnv as a gym experimentation environment 2017-06-08 19:45:48 -07:00
Erwin Coumans
7ee8126d66 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-08 14:28:42 -07:00
Erwin Coumans
b325844b9a add missing 'wheel.urdf" and very simple procedural terrain generation (sine wave) 2017-06-08 14:28:33 -07:00
erwincoumans
e5ce067cb9 Merge pull request #1176 from erwincoumans/master
mimic joint, enable btGearConstraint for multibody, expose contact stiffness/damping, erp to pybullet etc.
2017-06-08 10:20:22 -07:00
erwincoumans
c1f6b7e9b8 fix memory leak in case a Wavefront .obj file had multiple shapes (texture was loaded multiple times, while only releasing one) 2017-06-08 09:21:32 -07:00
Erwin Coumans
9d422c9b08 bump up pybullet version 2017-06-07 19:02:23 -07:00
Erwin Coumans
c1e32e6428 fix potential memory leaks 2017-06-07 19:00:44 -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
60e3887456 enable btGearConstraint, expose 'changeDynamics' for gearRatio, only works for maximalCoordinates rigid bodies.
See examples\pybullet\examples\mimicJointConstraint.py
2017-06-07 13:44:34 -07:00
Erwin Coumans
d08f3e5f91 expose pybullet non-contact erp, friction erp and frictionAnchor, b3PhysicsParamSetDefaultNonContactERP / b3PhysicsParamSetDefaultFrictionERP / b3ChangeDynamicsInfoSetFrictionAnchor 2017-06-07 09:37:28 -07:00
Erwin Coumans
0c3a3cc466 pybullet.changeDynamicsInfo/b3ChangeDynamicsInfoSetContactStiffnessAndDamping expose contactStiffness/contactDamping 2017-06-07 08:37:42 -07:00
erwincoumans
877e2cf9f9 Merge pull request #1174 from erwincoumans/master
add MIT racecar and examples/python/examples/racecar.py, fix compile issue/warning
2017-06-06 09:50:07 -07:00
erwincoumans
7e12034097 improve racecar visuals a little bit with a texture on the wheels 2017-06-06 09:45:06 -07:00
erwincoumans
ae00c24a5c add MIT racecar URDF, meshes and racecar.py quick test 2017-06-06 09:23:40 -07:00
erwincoumans
7b56db9f97 fix compile issue/warning 2017-06-06 06:59:41 -07:00
erwincoumans
fb6d623d24 Merge pull request #1171 from erwincoumans/master
revert due to crashes on windows, when simulation speed is increased
2017-06-05 16:49:22 -07:00
Erwin Coumans
91735acc7c also revert those 2 files 2017-06-05 14:19:28 -07:00
Erwin Coumans
b5962ab148 revert due to crashes on windows, when simulation speed is increased 2017-06-05 14:15:51 -07:00
erwincoumans
444f206c7c Merge pull request #849 from benelot/3D-NN-walkers-example
Improvements to 3DNNWalkers example
2017-06-05 13:31:07 -07:00
erwincoumans
be9384a01b Merge pull request #1168 from lunkhound/pr-fix-thread-index
fix various multithreading issues with thread indexes
2017-06-05 13:27:05 -07:00
erwincoumans
0d7232c661 Merge pull request #1170 from erwincoumans/master
prepare for pybullet 1.1.2
2017-06-05 09:33:50 -07:00
Erwin Coumans
adb938f30f reduce memory usage 2017-06-05 08:01:11 -07:00
lunkhound
6bf3d4e08e Merge branch 'master' into pr-fix-thread-index 2017-06-05 00:33:02 -07:00
Erwin Coumans
b6cf8ade07 prepare for pybullet 1.1.2 2017-06-04 22:54:04 -07:00
Erwin Coumans
14a128d122 Merge remote-tracking branch 'bp/master' 2017-06-04 22:53:26 -07:00
Erwin Coumans
351ea171c1 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-04 22:53:23 -07:00
erwincoumans
69642805ff Merge pull request #1166 from erwincoumans/master
btThreadsAreRunning wasn't defined if BT_THREADSAFE was not defined, …
2017-06-04 22:53:11 -07:00
Erwin Coumans
704269afe1 don't pass second parameter, pybullet func 2017-06-04 22:24:14 -07:00
Erwin Coumans
88c743b5ce Merge remote-tracking branch 'bp/master' 2017-06-04 22:12:42 -07:00
erwincoumans
b01386077d Merge pull request #1169 from lunkhound/pr-gui-slider-fix
example browser: fix 'clamp-to-integer' on GUI-sliders
2017-06-04 22:08:47 -07:00
Erwin Coumans
a7aed37632 work on pybullet/C-API createMultiBody (still preliminary, only sphere/box collision shapes, no links/hierarchies yet, soon)
pybullet/C-API, expose linear/angular damping
fix some warnings (param name needs to be same in .h and .cpp)
fix potential startup threading issue (args were deleted in main thread while still possibly use in child thread)
fix for spinning/rolling friction in case of mixing maximal and reduced coordinate btMultiBody+btRigidBody
2017-06-04 22:04:16 -07:00
Lunkhound
03aa178ca5 example browser: fix 'clamp-to-integer' on GUI-sliders 2017-06-04 17:34:21 -07:00
Benjamin Ellenberger
4a169d180e Call reset right before using the clock. 2017-06-04 20:47:31 +02:00
Benjamin Ellenberger
b5a80a08aa Revert b3Clock changes and use reset method instead. 2017-06-04 20:39:10 +02:00