Commit Graph

3516 Commits

Author SHA1 Message Date
jingyuc
c6c7533167 fixed constraints wip 2021-07-28 16:36:15 -04:00
jingyuc
549b57df77 clean up 2021-07-28 14:36:42 -04:00
jingyuc
6c2023e330 add mode visualizer example. 2021-07-28 12:34:01 -04:00
jyc-n
bfa74dbacd initial translation WIP 2021-07-28 00:03:51 -04:00
jingyuc
67b58428e8 clean up. now the inertia tensor is calculated based on geometry, and it is updated everytime step 2021-07-27 15:59:25 -04:00
jyc-n
0983d36eff rotation is working 2021-07-26 21:48:57 -04:00
jyc-n
7678545e76 clean up initialzation 2021-07-26 15:30:35 -04:00
jingyuc
9baee29300 simple rigid translation is working. 2021-07-26 11:28:37 -04:00
jingyuc
6f3dd32f37 add new btReducedSoftBody and btReduceDeformableSolver class 2021-07-23 16:20:09 -04:00
jyc-n
87e20f450b save files. misc 2021-07-22 21:55:34 -04:00
jyc-n
c325da8b34 add new ReducedSoftBody class. move read files functions to btReducedSoftBodyHelpers 2021-07-22 11:43:26 -04:00
jingyuc
237333d030 make the impulse scaled with nodal mass. all binary mode files contains all modes info. 2021-07-19 15:26:00 -04:00
jingyuc
4119d8812e add initial impulse 2021-07-18 00:52:13 -04:00
jingyuc
c24f2a72ef add internal force 2021-07-16 15:01:44 -04:00
jingyuc
4b6eaeed4c kinematic tested. specified delta_v as a cosine function. 2021-07-15 17:30:08 -04:00
jingyuc
d390360f9e clean up kinematic test setup 2021-07-14 20:01:50 -04:00
jingyuc
f1e86bf257 test modes kinematics 2021-07-14 16:00:28 -04:00
jingyuc
fa00ee2bbd Start the reduced deformable example. Read in mesh and modes files. 2021-07-13 00:45:11 -04: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
erwin coumans
84a63cf221 allow to use the useMultiBody argument for loadMJCF command
note that for dynamic and static objects (without joints) it is best to set useMultiBody=False
2021-04-19 20:37:26 -07:00
r-a-sattarov
a923ce184e examples/RobotSimulator/CMake: fixed warning (mis-matching arguments) 2021-04-19 23:32:57 +03:00
erwincoumans
48ba5a37ad
Merge pull request #3348 from erwincoumans/master
disable texture release, it causes crashes, need to figure out better…
2021-04-15 20:30:13 -07:00
erwin coumans
910c20334f disable texture release, it causes crashes, need to figure out better solution 2021-04-15 20:26:01 -07:00
Erwin Coumans
973d8c128f Merge branch 'master' of github.com:erwincoumans/bullet3 2021-04-07 22:13:18 -07:00
jaraujo98
dcf9c8d6a5
Replace xrange with range
The xrange function was deprecated in Python 3. Removing it for compatibility.
2021-04-06 11:26:39 -07:00
erwincoumans
21d1b8fc71
Merge pull request #3339 from erwincoumans/master
add pybullet_examples, fix pybullet_envs.minitaur.envs_v2, bump up pybullet 3.1.2
2021-04-05 19:53:38 -07:00
Erwin Coumans
5205dafcc2 add __init__.py 2021-04-05 19:51:38 -07:00
Erwin Coumans
29f388a5d8 add selected examples under pybullet_examples 2021-04-05 19:50:46 -07:00
Erwin Coumans
513e3a7db4 add more __init__.py files 2021-04-05 18:07:39 -07:00
Erwin Coumans
674c82db89 bump up pybullet version to 3.1.2
add missing __init__.py files
2021-04-05 17:58:25 -07:00