erwincoumans
457312f94f
fix leak in loadSDF in case of visuals with duplicate/identical names that have a material.
...
fix GUI performance issue on Mac OSX
fix issue introduced in previous commit (in btConvexHullComputer.cpp)
2017-08-11 17:14:52 -07:00
Erwin Coumans
c67a70cb09
compile fixes
2017-07-29 13:40:03 +02:00
Erwin Coumans
dd3d55610b
fixes in pybullet.loadTexture, changeVisualShape replacing texture.
...
(also works for OpenGL3 renderer now)
2017-06-30 13:35:07 -07:00
erwincoumans
b4f21e77af
Merge pull request #1206 from erwincoumans/master
...
Allow to create concave collision meshes. Transparency (only OpenGL 3.x renderer, not tinyrenderer/gl2)
2017-06-24 20:07:17 -07:00
Erwin Coumans
65e22ba3e9
allow auxilary link to be used for gear btMultiBodyGearConstraint.
2017-06-23 20:24:04 -07:00
erwincoumans
c48f5b1546
Merge pull request #1182 from lunkhound/pr-fix-solver-simd
...
SequentialImpulseConstraintSolver: fix bugs with SOLVER_SIMD flag
2017-06-20 12:19:15 -07:00
Erwin Coumans
bb8cfe3c9a
pybullet.getAABB and getAPIVersion
...
fix btMultiBody::getLinkCollider
bump up Bullet C-API version
2017-06-15 19:46:27 -07:00
Erwin Coumans
d17faddff2
fix for b3RequestActualStateCommandComputeLinkVelocity/getLinkState link velocities for static links
2017-06-13 13:51:38 -07:00
Lunkhound
e9ec5044d1
SequentialImpulseConstraintSolver: fix bugs with SOLVER_SIMD flag
2017-06-10 04:33:40 -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
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
erwincoumans
7b56db9f97
fix compile issue/warning
2017-06-06 06:59:41 -07:00
lunkhound
6bf3d4e08e
Merge branch 'master' into pr-fix-thread-index
2017-06-05 00:33:02 -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
0fc3ce69e9
fix thread index going out of range bug
2017-06-03 18:03:59 -07:00
Erwin Coumans
ff695dd328
Merge remote-tracking branch 'bp/master'
2017-06-03 08:16:59 -07:00
yunfeibai
708a430e30
comment out btThreadsAreRunning which does not build.
2017-06-02 18:32:39 -07:00
yunfeibai
bfcbb339cf
Merge remote-tracking branch 'upstream/master'
2017-06-02 18:26:04 -07:00
yunfeibai
e2a9fc33dc
Remove debug code.
2017-06-02 17:40:50 -07:00
yunfeibai
3506603d60
Test conversion from view matrix to yaw pitch roll.
2017-06-02 16:56:05 -07:00
Erwin Coumans
1d1c822d52
btThreadsAreRunning wasn't defined if BT_THREADSAFE was not defined, causing compile errors using premake
2017-06-02 16:25:28 -07:00
erwincoumans
518c7ec00e
Merge pull request #1144 from lunkhound/pr-threading-refactor
...
Bullet 2 threading refactor: moved parallel-for calls into core libs
2017-06-02 16:18:12 -07:00
erwincoumans
3987bdd333
remove pose frame from SDF,
...
allow plane collision shape in SDF
load the Roboschool stadium.sdf in humanoid_knee_position_control.py
2017-06-01 20:13:39 -07:00
Lunkhound
34e2c1b784
add profiling info
2017-05-29 23:53:35 -07:00
erwincoumans
5436b8f048
print better error warning, in case the physics client/server version mismatch.
...
fix in b3HashString
remove many unused dependencies from kuka_grasp_block_playback.py (time,math, datetime ,numpy,pylab ,sys, os, fnmatch,argparse were not used!)
move block_grasp_log.bin from Bullet3/data to Bullet3/examples/pybullet/examples/data folder.
PhysicsServerCommandProcessor, derive from CommandProcessorInterface to prepare for different back-end implementation
2017-05-28 17:05:18 -07:00
Erwin Coumans
b645963879
expose pybullet changeDynamics(spinningFriction=..., rollingFriction=..., restitution=...)
...
Bullet C-API b3ChangeDynamicsInfoSetSpinningFriction/RollingFriction/Resitution
b3PhysicsParamSetRestitutionVelocityThreshold, / pybullet.setPhysicsEngineParameter restitutionVelocityThreshold:
if the velocity is below this threshhold, the restitution is zero (this prevents energy buildup at near-resting state)
pybullet restitution.py example.
2017-05-26 18:14:38 -07:00
Lunkhound
d77c3d5b68
fix compile errors in non-threadsafe build
2017-05-23 02:34:29 -07:00
Lunkhound
dfe184e8d3
Bullet 2 threading refactor: moved parallel-for calls into core libs
2017-05-23 01:01:20 -07:00
erwincoumans
ba22f4a4dc
Merge pull request #1126 from erwincoumans/master
...
allow to enable/disable VR picking and VR teleport. Disabling VR pick…
2017-05-16 13:55:47 -07:00
Erwin Coumans
433d11d8cf
Add a btIDEbugDraw::clearLines, helps multi-threaded rendering of lines (while updating those lines in a dynamics world in a different thread)
...
Expose COV_ENABLE_VR_RENDER_CONTROLLERS, to enable/disable rendering of controllers (and some frames) in VR
Expose COV_ENABLE_RENDERING to enable/disable rendering.
Fix some multi-threading issues (potential crashes), related to debug drawing/rendering in one thread, while changing the dynamics world/removing/resetSimulation in a different thread.
2017-05-16 12:19:03 -07:00
Andrew Meadows
81758bf1b3
'powered' is bool not int
2017-05-12 15:47:03 -07:00
Andrew Meadows
4a1c682c3c
fix typo: Velosity-->Velocity
2017-05-12 15:46:01 -07:00
erwincoumans
9356019572
Merge pull request #1116 from olegklimov/master
...
Rewrite collision filtering code for C API
2017-05-12 20:56:26 +00:00
Erwin Coumans
424a29474f
fix for division by zero, in case angular velocity goes close to zero
...
(but not zero)
2017-05-11 17:45:01 -07:00
Oleg Klimov
f4943c3ed5
Fix self-collision code again (in case both flags are set)
2017-05-11 14:30:07 +03:00
erwincoumans
9a80b529d8
Merge pull request #1112 from erwincoumans/master
...
bump up setup.py pybullet pypi pip version to 1.0.2
2017-05-10 23:19:21 +00:00
Erwin Coumans
53a82819a0
expose b3LoadMJCFCommandSetFlags / pybullet.pybullet_loadMJCF(fileName,flags=pybullet.URDF_USE_SELF_COLLISION_EXCLUDE_ALL_PARENTS)
2017-05-10 15:01:25 -07:00
Erwin Coumans
fc6fb7b14c
initialize values (padding etc) help asan/msan tests
2017-05-09 18:00:28 -07:00
Erwin Coumans
0d3940b8bd
fix signed-integer-overflow issue:
...
Hash functions rely on 2's complement behaviour. Use unsigned integers to get that.
2017-05-09 16:36:11 -07:00
Erwin Coumans
18dbf6f018
Merge remote-tracking branch 'bp/master'
2017-05-08 09:08:50 -07:00
Erwin Coumans
a69442d119
Some optimizations for btMultiBodyJointMotor (skip constraint generation if maxImpulse/maxForce = 0) and
...
skip constraint row generation if joint limit is not violated.
2017-05-08 09:06:39 -07:00
Gregery Barton
72b0b76b64
getSolveSwingLimit() returns wrong value
...
Should return m_solveSwingLimit instead of m_solveTwistLimit
2017-05-06 11:45:26 +10:00
erwincoumans
f76f3e2ba7
Merge pull request #1093 from erwincoumans/master
...
expose profileTiming to pybullet/b3RobotSimulatorClientAPI.h
2017-05-05 01:29:26 +00:00
Erwin Coumans
1f64a87abe
Improve ChromeTraceUtil logging, allow filename to be specified.
...
Expose this ChromeTraceUtil logging to C-API: start/statelogging and submitProfileTiming
pybullet.submitProfileTiming, and STATE_LOGGING_PROFILE_TIMINGS used in startStateLogging
added example for Python profileTiming.py and C++ b3RobotSimulatorClientAPI::submitProfileTiming
2017-05-04 17:51:40 -07:00
erwincoumans
92d7a0850f
Merge pull request #1090 from gregeryb/patch-3
...
Collider object not necessary
2017-05-04 20:34:21 +00:00
Erwin Coumans
61999ef789
b3ResizablePool: only remove a handle, if it is currently in-use
...
also remove user constraints, if removing a body
2017-05-04 13:14:24 -07:00
Erwin Coumans
a7d08ca9d7
Merge remote-tracking branch 'bp/master'
2017-05-04 10:51:42 -07:00
erwincoumans
87a24dba84
Merge pull request #1091 from YunfeiBai/master
...
Add APIs to reset object mass, lateral friction coefficient, and to get user constraint id.
2017-05-04 17:47:33 +00:00
Erwin Coumans
a86f584824
more work towards removeBody for C-API/pybullet, work-in-progress.
2017-05-03 21:53:29 -07:00
yunfeibai
939d6ead32
Add API to reset lateral friction coefficient.
2017-05-03 21:47:53 -07:00