Will Rosecrans
6fa4945da0
ln to force mode to suppress message if target already exists.
2018-01-08 15:05:20 -08:00
Will Rosecrans
e2105dfaad
Fix nproc unavailable
2018-01-08 15:00:20 -08:00
Will Rosecrans
7acd169bef
Tidy build script
2018-01-08 14:48:58 -08:00
erwincoumans
1e0d1c2b6d
Merge pull request #1496 from erwincoumans/master
...
warning fix (param name different in header/cpp)
2018-01-08 13:23:44 -08:00
Erwin Coumans
f39d83580b
Merge remote-tracking branch 'bp/master'
2018-01-08 12:29:32 -08:00
Erwin Coumans
e97b751781
further work on urdfEditor.py, fix some serialization issues
2018-01-08 12:25:56 -08:00
Erwin Coumans
a85a4f387b
more work on UrdfEditor.py
2018-01-06 15:00:20 -08:00
Erwin Coumans
9a9aa5e9e7
example of joint motor with friction
2018-01-06 13:43:07 -08:00
Erwin Coumans
02e5d51052
bump up version
2018-01-05 14:23:45 -08:00
Erwin Coumans
9523df2519
warning fix (param name different in header/cpp)
2018-01-04 15:48:59 -08:00
Erwin Coumans
dfbb586cba
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-01-04 15:45:04 -08:00
erwincoumans
380738308d
Merge pull request #1495 from erwincoumans/master
...
tweak ImportMJCFSetup.cpp example MJCF humanoid a bit, clamp target p…
2018-01-04 15:18:30 -08:00
Erwin Coumans
c59a3763e5
tweak ImportMJCFSetup.cpp example MJCF humanoid a bit, clamp target positions to be within joint limits to avoid solver problems (conflicting constraints)
...
add humanoid_manual_control.py PyBullet example which is similar to ImportMJCFSetup.cpp
2018-01-04 13:14:11 -08:00
erwincoumans
6237386c7c
Merge pull request #1494 from erwincoumans/master
...
Start of a urdfEditor.py, limited support to extract a URDF from a Py…
2018-01-04 12:11:08 -08:00
Erwin Coumans
23efbdb593
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-01-04 12:10:31 -08:00
Erwin Coumans
4743d2770a
fix recently introduced crashing bug in MJCF reader
...
due to https://github.com/bulletphysics/bullet3/pull/1484 (Issue 1484)
2018-01-03 21:47:58 -08:00
Erwin Coumans
36c258fd3d
fix PhysicsLoopBack
2018-01-03 21:38:09 -08:00
Erwin Coumans
60b5ffc13a
Merge remote-tracking branch 'bp/master'
2018-01-03 21:34:29 -08:00
erwincoumans
577ee86012
Update README.md
2018-01-03 19:30:12 -08:00
Erwin Coumans
79d78a325a
Start of a urdfEditor.py, limited support to extract a URDF from a PyBullet body.
...
Use btCylinderShapeZ for URDF cylinder, instead of converting it to a btConvexHullShape.
Implement PyBullet.getCollisionShapeData
Extend PyBullet.getDynamicsInfo / b3GetDynamicsInfo, remove flag (don't rely on API returning a fixed number of elements in a list!)
Extend PyBullet.getJointInfo: add parentIndex
2018-01-03 19:17:28 -08:00
erwincoumans
dc50c0ff3b
Merge pull request #1493 from jietan/pullRequest
...
Pull request
2018-01-02 19:45:14 -08:00
Jie
85bd1ce2b4
Merge remote-tracking branch 'bp/master' into pullRequest
2018-01-02 18:54:07 -08:00
Jie
de11d71246
use the right mass for the rotational part of motors.
2018-01-02 18:53:38 -08:00
erwincoumans
a1492f50fc
Merge pull request #1492 from erwincoumans/master
...
implement pybullet.saveState command, for in-memory storage of state.
2017-12-31 19:19:35 -08:00
Erwin Coumans
35b44f8a85
implement pybullet.saveState command, for in-memory storage of state.
...
bump up pybullet API version (SHARED_MEMORY_MAGIC_NUMBER) to 201801010
2017-12-31 15:37:16 -08:00
erwincoumans
515aa9ee9b
Merge pull request #1491 from erwincoumans/master
...
some progress in saving and restoring the state
2017-12-31 13:39:27 -08:00
Erwin Coumans
4c6df650d4
skip serialization of empty contact manifolds.
2017-12-31 11:28:22 -08:00
Erwin Coumans
f104765c47
added some template to restore (syncMultiBody, syncContactManifolds) for single float and double precision, in 'pybullet.restoreState'
2017-12-31 11:19:29 -08:00
Erwin Coumans
20e00d11d8
further work on saveRestoreState.py
2017-12-30 21:57:42 -08:00
Erwin Coumans
9c55b61315
pybullet.createVisualShape: process sphere radius, box half extents, capsule+cylinder radius/length
...
fixes issue #1427 , https://github.com/bulletphysics/bullet3/issues/1427
2017-12-30 17:42:13 -08:00
Erwin Coumans
4084c1cc71
also add serializeContactManifolds to btSoftMultiBodyDynamicsWorld.cpp and btDiscreteDynamicsWorld.
2017-12-30 14:20:20 -08:00
Erwin Coumans
0326fa93a8
made some progress in saving and restoring the state during the simulation, with identical results.
...
Option to de/serialize btPersistentContactManifolds and fix lossy conversion during btMultiBody de/serialization of base world transform
(serialize the quaternion, not the converted 3x3 matrix)
There are still several caches not taken into account, and btMultiBody links/constraints are not deserialized yet etc.
See examples\pybullet\examples\saveRestoreState.py for an example.
2017-12-30 14:19:13 -08:00
erwincoumans
e3a85493e8
Merge pull request #1484 from rhaps0dy/MJCFImporter
...
Support for reading <inertial> elements from MJCF
2017-12-29 10:58:08 -08:00
erwincoumans
28803dc56f
Merge pull request #1487 from erwincoumans/master
...
expose link index in segmentation mask (getCameraImage) when a flag is set. preparation for restoreState (not implemented yet), allow multiple options in connect call.
2017-12-29 10:55:15 -08:00
Erwin Coumans
29cfac096b
compile fix in pybullet.c
2017-12-28 12:57:49 -08:00
Erwin Coumans
22e23d22d1
double/single precision compile fix
2017-12-28 12:55:47 -08:00
Erwin Coumans
5517cbc4e0
add segmask_linkindex.py example using p.getCameraImage(320,200,flags=p.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX)
...
to extract object unique id and link index from segmentation mask in getCameraImage
2017-12-28 12:37:07 -08:00
Erwin Coumans
afd1066c50
pybullet.getCameraImage: preparation to expose link index in segmentation mask buffer
2017-12-28 10:18:35 -08:00
Erwin Coumans
78e4d9675e
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-12-28 10:15:46 -08:00
Erwin Coumans
97547eda0d
preliminary work towards saveState/restoreState and saveRestoreState.py example (not implemented yet)
...
allow multiple options in connect, for example: p.connect(p.GUI, options="--width=640, --height=480")
2017-12-28 10:05:51 -08:00
Erwin Coumans
d0561d81b0
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-12-26 07:59:07 -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
Adrià Garriga
cb2fcfd032
Skipping calculateLocalInertia is unnecessary
2017-12-23 17:56:47 +01:00
Adrià Garriga
4d70d54d19
Support for reading <inertial> elements from MJCF
2017-12-23 08:53:10 +01:00
Erwin Coumans
799d030874
restore multibody world transform and joint angles/velocities from a .bullet file.
2017-12-22 14:45:36 -08:00
erwincoumans
60d2af8ed2
Merge pull request #1483 from erwincoumans/master
...
expose API to change the local inertia diagonal, pybullet.ChangeDynam…
2017-12-20 17:46:36 -08:00
erwincoumans
41f9bb89e5
expose API to change the local inertia diagonal, pybullet.ChangeDynamics(objectUid, linkIndex, localInertiaDiagonal=[xx,yy,zz])
2017-12-20 16:56:31 -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
erwincoumans
eb35cba740
expose local inertia diagonal in C-API, PyBullet, through the 'getDynamicsInfo'
...
render the inertia boxes in examples/pybullet/examples/quadruped.py and examples/pybullet/examples/reset_dynamic_info.py
fix an issue where the original margin (0.04) was used to compute the inertia, instead of latest margin
2017-12-20 14:54:32 -08:00