Erwin Coumans
f09cefabe8
Merge remote-tracking branch 'bp/master'
2019-08-14 21:14:56 -07:00
erwincoumans
6feb1b25db
Merge pull request #2365 from fuchuyuan/updateLoadingSoftBody
...
update loading softbody
2019-08-14 21:14:10 -07:00
Erwin Coumans
88d1788ee5
PyBullet: allow to update an existing heightfield shape
...
Also, use flags = p.GEOM_CONCAVE_INTERNAL_EDGE to enable internal edge filtering for heightfield (disabled by default)
See https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/heightfield.py
2019-08-14 21:06:10 -07:00
erwincoumans
75df77611a
Merge pull request #2366 from fuchuyuan/tinyObjUpdate
...
update obj loader
2019-08-14 13:37:14 -07:00
Chuyuan Fu
10108cd3ea
update obj loader
2019-08-13 16:53:51 -07:00
Chuyuan Fu
b90097803e
update loading softbody
2019-08-13 14:56:26 -07:00
Erwin Coumans
f9b232b153
pybullet: allow programmatic creation of heightfield. See https://github.com/erwincoumans/bullet3/tree/master/examples/pybullet/examples/heightfield.py
...
premake4: allow to build example browser without C++11, re-enable stable PD control plugin using --enable_stable_pd=True
2019-08-11 13:59:24 -07:00
Erwin Coumans
54111f7023
PyBullet: add support for internal edge filtering for height field terrains
2019-08-09 10:14:14 -07:00
erwincoumans
666e1a8bad
Merge pull request #2357 from fuchuyuan/setWarmStartFactor
...
API and pybullet bindings for setting warmstarting factor
2019-08-07 17:34:58 -07:00
erwincoumans
cc7a450a3b
Merge pull request #2354 from fuchuyuan/loadRigidbody
...
add support to load rigidbody
2019-08-07 17:30:46 -07:00
Chuyuan Fu
2e64b27a31
bindings for setting warmstarting factor
...
fix space
2019-08-06 15:53:31 -07:00
Erwin Coumans
098cde55fd
sync graphics server at resetSimulation, load* and resetJointState
2019-08-06 10:56:21 -07:00
Chuyuan Fu
1cb3655f71
add support to load rigidbody
2019-08-05 13:38:43 -07:00
Erwin Coumans
7263439c4b
improved for inserting profile timings from Python, to analyzer performance of pybullet programs.
...
See examples/pybullet/examples/profileTiming.py for an example. Note that python and c++ is properly interleaved.
Open a timings with a name, close the timing without a name. Note that timings can be recursive, added/popped as a stack.
2019-08-01 19:12:16 -07:00
Erwin Coumans
4429c6dc9e
avoid Mac OSX bus error -> no large static arrays
2019-07-29 22:20:45 -07:00
Erwin Coumans
51fba6f78d
export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU)
...
fix rare getKeyboardEvents threading issue
change texture color to default plane.urdf blue
2019-07-29 20:23:38 -07:00
Erwin Coumans
36f3adc03f
copy/move heightfield files around (part of pybullet_data)
...
prepare for heightfield support in pybullet (first step, needs a bit more)
2019-07-25 13:01:26 -07:00
Erwin Coumans
b2825724d4
only if SPD is enabled
2019-07-21 22:03:23 -07:00
Erwin Coumans
8f220c1b23
fix memory leak in previous commit
2019-07-21 21:48:51 -07:00
Erwin Coumans
39a4e8dcd9
Implement faster array versions of PyBullet: getJointStatesMultiDof, getLinkStates, setJointMotorControlMultiDofArray, resetJointStatesMultiDof,
...
Implement StablePD in C++ through setJointMotorControlMultiDofArray method for pybullet_envs.deep_mimic, see testHumanoid.py and examples/pybullet/examples/humanoidMotionCapture.py
Minor fix in ChromeTraceUtil in case startTime>endTime (why would it happen?)
2019-07-21 13:08:22 -07:00
Erwin Coumans
31688ffb34
fix in multi-endeffector IK, calculate jacobian uses dofs without base, fix premake build of some projects
2019-07-11 22:22:35 -07:00
erwincoumans
8cc13efd2b
Merge pull request #2323 from erwincoumans/master
...
fix issue in previous commit (need to reserve instead of resize)
2019-07-10 20:53:22 -07:00
Erwin Coumans
7a7f944e39
fix issue in previous commit (need to reserve instead of resize)
2019-07-10 20:52:45 -07:00
erwincoumans
d220101c5a
Merge pull request #2322 from erwincoumans/master
...
PyBullet.calculateInverseKinematics2 for IK with multiple end-effector locations
2019-07-10 19:58:17 -07:00
Erwin Coumans
ee9575167d
expose PyBullet.calculateInverseKinematics2 that allows to specify multiple IK end effector locations (not multiple orientations)
...
usage example:
jointPoses = p.calculateInverseKinematics2(bodyUniqueId, [endEffectorLinkIndices], [endEffectorTargetWorldPositions])
2019-07-10 17:21:18 -07:00
erwincoumans
9ac2261557
Update PhysicsServerCommandProcessor.cpp
...
set alpha default to 1, just in case.
2019-07-09 08:42:52 -07:00
Andreas Christiansen
8c8a7fa0c9
Fix memory sanitizer warning on potential reading of uninitialized memory. This can happen for the RGB values that are only conditionally set in TinyRendererVisualShapeConverter::addVisualShape.
2019-07-09 11:52:42 +02:00
Chuyuan Fu
d5e028c673
take out unused variable
2019-07-01 13:31:00 -07:00
Chuyuan Fu
4da456054c
Update PhysicsServerCommandProcessor and plugins to support render
2019-06-25 17:59:15 -07:00
Erwin Coumans
ed4515ae17
for the GraphicsServer, expose a sync transform interval: only synchronize the transform once the stepSimulation exceeds this time interval.
...
(for example, run the simulation at 1kHz but sync the graphics transforms to remove graphics server at 30Hz)
2019-06-19 09:45:29 -07:00
Erwin Coumans
c3b7f39aaf
expose shadowMapResolution (texture resolution) and shadowMapWorldSize (size in meters in world space)
...
expose pybullet.ConfigureOpenGLVisualizerRequest(lightPosition=[x,y,z], shadowMapWorldSize=10.5, shadowMapResolution=16384)
See examples/pybullet/examples/configureDebugVisualizer.py for an example.
This reimplements https://github.com/bulletphysics/bullet3/pull/2295 but without creating a new command/status and explicitly referring to the debug visualizer
(since the 'getCameraImage' also has a lightPosition)
2019-06-19 09:01:16 -07:00
Erwin Coumans
7e76ee0ad7
make pybullet.getMeshData work for softbody
2019-06-17 21:43:38 -07:00
Chuyuan Fu
229e87c3c9
get mesh data api
...
fix compile
fix typo
2019-06-17 19:00:53 -07:00
Erwin Coumans
ee3680765e
fixes for RemoteGUIHelper
2019-06-14 14:34:56 -07:00
Erwin Coumans
6160b52fd7
graphicsServer to workaround OpenGL issues on some servers.
2019-06-13 23:24:22 -07:00
Erwin Coumans
2b9bece2c8
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-05-08 12:03:46 -07:00
Erwin Coumans
577dd16299
fix test compilation
2019-05-08 12:03:23 -07:00
mbennice
cf16c5c51f
Reduces wait in the gRPC plugin, fix state bug.
...
Updates the gRPC plugin to gather messages in its own thread, and
corrects the state details not being correctly added to shared memory.
2019-05-07 11:11:01 -07:00
Chuyuan Fu
ee10d47b17
fix space
...
fix space
2019-05-02 14:15:18 -07:00
Chuyuan Fu
3fb0a7c19b
add set starting position and orientation to softbody
2019-05-01 16:56:40 -07:00
erwincoumans
f71aea0b66
Update PhysicsServerCommandProcessor.cpp
2019-04-27 14:24:01 -07:00
erwincoumans
62e01c7a33
Update PhysicsServerCommandProcessor.cpp
2019-04-27 12:21:45 -07:00
Chuyuan Fu
5b5307cf14
load softbody API
...
update warning message
format
2019-04-25 15:40:15 -07:00
erwincoumans
e97a7d77af
only report solver analytics if enabled using setPhysicsEngineParameter(reportSolverAnalytics=1)
2019-04-14 18:20:20 -07:00
erwincoumans
5ff52e47d9
report constraint solver analytics data, currently for each island the number of solver iterations used and remaining residual error.
2019-04-11 22:19:02 -07:00
erwincoumans
76918ca26d
Merge remote-tracking branch 'bp/master'
2019-04-03 20:08:05 -07:00
erwincoumans
6951aaf26a
implement PyBullet removeState command. Fixes Issue #2163
...
https://github.com/bulletphysics/bullet3/issues/2163
2019-04-03 20:06:40 -07:00
mbennice
fed1a878d7
Replaces ; with ,
2019-03-26 18:14:07 -07:00
mbennice
8a96dc67cc
Initializes simulation timestamp to 0 explicitly.
2019-03-26 14:39:01 -07:00
mbennice
8fcb8d0694
Update to bullet formatting
2019-03-17 11:52:56 -07:00