Commit Graph
3527 Commits
Author SHA1 Message Date
Tigran Gasparian 740d2b9783 Adds a request body info command for the physics direct command. This is
useful to incrementally sync the body state in the physics clients of
plugins (e.g. in response to a Body Added notification).
2021-10-26 18:31:33 +02:00
erwincoumans 33cceed500 Merge pull request #3982 from RedTachyon/patch-1
Explicitly state the datatypes in creating action/obs spaces
2021-10-25 09:09:47 -07:00
Wenhao Yu af0bfc62ec Merge branch 'bulletphysics:master' into master 2021-10-13 15:53:04 -07:00
Wenhao Yu fd96062972 Add config for visual locomotion env with two cameras and random stepstone. 2021-10-13 15:48:47 -07:00
Erwin Coumans a8f088d4d3 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-10-11 12:56:29 -07:00
Erwin Coumans 00567a5261 remote tensorflow requirement from envs_v2 2021-10-11 12:56:15 -07:00
erwincoumans aa49e19385 Update README.md
remote tensorflow requirement
2021-10-11 12:14:45 -07:00
Erwin Coumans 6390db4bd6 Merge remote-tracking branch 'bp/master' 2021-10-04 15:37:12 -07:00
Erwin Coumans 931f93d266 Merge remote-tracking branch 'bp/master' into master 2021-10-03 15:19:58 -07:00
Erwin Coumans 9d211393e4 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-10-03 15:19:26 -07:00
Erwin Coumans 34d77242e5 tweak gear (mimic) constraint example, enable erp (to avoid positional relative drift) and position camera at the gears. 2021-10-03 15:18:40 -07:00
Ariel Kwiatkowski 496e614f77 Explicitly state the datatypes in creating action/obs spaces
This should get rid of the annoying warnings that pop up whenever an environment is created. Numpy's default datatype is float64, gym's is float32, the env is actually float32, but the initialization doesn't make it explicit so it causes redundant warnings.
```
/path/lib/python3.9/site-packages/gym/logger.py:34: UserWarning: WARN: Box bound precision lowered by casting to float32 warnings.warn(colorize("%s: %s" % ("WARN", msg % args), "yellow"))
```
2021-09-29 23:10:18 +02:00
erwincoumans 9c37ca5185 Merge pull request #3950 from bttner/fix_external_force_command
Fix: reference frame issue of external force command processor (Physics Server)
2021-09-20 14:34:52 -07:00
erwincoumans 47c3f5e994 Merge pull request #3963 from erwincoumans/master
revert linkNames in createMultiBody, we cannot pass pointers pointing… …
2021-09-20 13:07:30 -07:00
Erwin Coumans 87605ca4c8 revert linkNames in createMultiBody, we cannot pass pointers pointing to local memory (storing the string) around into shared memory or over the network. 2021-09-20 12:22:30 -07:00
Aaron Franke ad74cfe6c8 Update Bullet URL in copyright statements 2021-09-13 09:06:14 -05:00
erwincoumans b638300fe4 Merge pull request #3951 from erwincoumans/master
implement resetMeshData for deformable bodies, fix tiny_renderer standalone example
2021-09-02 18:03:23 -07:00
Erwin Coumans b6df08b553 implement resetMeshData for deformable bodies, this allows better reset for reinforcement learning algorithms. 2021-09-02 17:27:05 -07:00
Felix Büttner 4b6ec20b30 External force and torque frame fix 2021-09-02 17:40:18 +02:00
erwin coumans 3577ef8108 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-09-01 15:00:10 -07:00
erwin coumans 7de63bdbc5 fix tiny_renderer standalone example 2021-09-01 15:00:01 -07:00
erwincoumans 31b8841efc Merge pull request #3948 from erwincoumans/master
add low-resolution Laikago (for faster rendering in CPU renderer) and cleanup sdf files
2021-08-30 13:01:15 -07:00
Erwin Coumans 68424feb2d don't use empty frame for pose in sdf files
use hint for clang that if (0) is intentional
2021-08-30 19:40:20 +00:00
erwincoumans 5ec0820c0e Merge pull request #3920 from araffin/feat/sb3
Migrate to Stable-Baselines3
2021-08-29 15:01:27 -07:00
Chuyuan Fu e16c9bb1cc implement request deformable contact info 2021-08-18 18:48:35 -07:00
erwin coumans 7ac95be8cd add training and run/eval scripts to train envs_v2 Laikago pmtg 2021-08-17 08:56:30 -07:00
erwin coumans e399944982 add simplified Laikago model for faster CPU rendering (getCameraImage in direct mode using TinyRenderer) 2021-08-03 13:26:39 -07:00
Antonin Raffin 13f3778c22 Fix SB3 comment 2021-07-29 15:24:46 +02:00
Antonin Raffin 2f8b44c702 Migrate to Stable-Baselines3 2021-07-29 15:21:49 +02:00
erwincoumans 0e124cb2f1 Merge pull request #3841 from erwincoumans/master
fix some msan (memory sanitizer) issues
2021-05-12 13:54:56 -07:00
erwincoumans a435fb7a41 Merge pull request #3819 from cadop/bullet-client-subprocess-safety
Fix for bullet_client to be used from a class instance during multiprocessing
2021-05-12 13:54:00 -07:00
Erwin Coumans 92fb2db0a3 fix some msan (memory sanitizer) issues 2021-05-12 20:14:15 +00:00
erwin coumans adcf785a4a re-enable eGUIHelperSetRgbBackground 2021-05-07 09:07:40 -07:00
Erwin Coumans cd76d605a9 more fixes for tsan 2021-05-07 15:37:56 +00:00
erwin coumans f14911c998 fix a tsan test failure 2021-05-06 18:34:43 -07:00
erwin coumans e952ac6f63 Add pybullet.configureDebugVisualizer(rgbBackground=[red,green,blue]) (each component a float in the range [0,1])
This is an alternative to passing options="--background_color_red=red --background_color_green=green --background_color_blue=blue" in the connect method.
2021-05-06 18:08:22 -07:00
erwin coumans 8e85dedaa9 PyUnicode_AsUTF8 breaks python 2.x compatibility 2021-05-06 10:19:15 -07:00
erwin coumans b696ed7d7b enable roll angle in pybullet.computeViewMatrixFromYawPitchRoll / b3ComputeViewMatrixFromYawPitchRoll 2021-04-28 12:13:31 -07:00
cadop ace34c4d08 check the process id before disconnecting 2021-04-27 19:33:37 -04:00
erwincoumans 45d3ead747 Merge pull request #3356 from erwincoumans/master
LICENSE should have no txt extension
2021-04-22 16:46:07 -07:00
Erwin Coumans 184b7816d0 LICENSE should have no txt extension 2021-04-22 16:45:29 -07:00
erwincoumans a7832e3a18 Merge pull request #3355 from erwincoumans/master
sync recent changes
2021-04-22 16:37:01 -07:00
Erwin Coumans c915e82d49 Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-22 16:20:31 -07:00
erwincoumans 00dcc77885 Merge pull request #3352 from erwincoumans/master
getDynamicsInfo report local inertia diagonal for useMaxima… …
2021-04-20 20:22:38 -07:00
erwin coumans a5761f2b10 pybullet: getDynamicsInfo report local inertia diagonal for useMaximalCoordinates 2021-04-20 20:20:55 -07:00
Erwin Coumans 9f91e6837a remove type annotations
bump up pybullet version
2021-04-20 15:50:12 -07:00
erwincoumans 201e7159d6 Merge pull request #3351 from erwincoumans/master
PyBullet: expose useMultiBody argument for loadMJCF command, expose sleeping threshold
2021-04-20 14:42:42 -07:00
erwin coumans e58e5bdf95 PyBullet:
expose pybullet.changeDynamics(sleepThreshold), default 0.05, for both useMaximalCoordinates=False and True
When the dot(vel,vel) < sleepThreshold for longer than 2 seconds (this timeout is hard coded) objects that have the ACTIVATION_STATE_ENABLE_SLEEPING enabled with be deactivated
Example:
p.changeDynamics(ob, -1, activationState=p.ACTIVATION_STATE_ENABLE_SLEEPING, sleepThreshold=0.05)
2021-04-20 11:29:27 -07:00
erwin coumans fd154cee8f set default sleeping threshold for useMaximalCoordinate btRigidBody to be similar to btMultiBody (0.05) 2021-04-20 11:14:28 -07:00
erwin coumans 78f5b141f9 fix for 'useMaximalCoordinates' rigid body in PyBullet: activate a rigid body after picking 2021-04-20 10:24:09 -07:00