Commit Graph

1974 Commits

Author SHA1 Message Date
Erwin Coumans
af6bf8ddc8 plumb URDF/SDF audio_source into PhysicsServerCommandProcessor, allow to play sounds on collision !
See also https://youtu.be/eppOjTfx5Jg for a first test, and this modified URDF how to add sounds:
https://github.com/bulletphysics/bullet3/blob/master/data/plane_with_collision_audio.urdf
Add the --audio flag to enable sound in pybullet/Bullet-C-API
2017-05-01 11:14:09 -07:00
Erwin Coumans
e32debdca4 improvements in MJCF importer: fix capsule shape inertia (for fromto definition)
add cylinder support
don't crash when no "quat" is provided
inertia fix in btMinkowskiSumShape (based on AABB)
2017-04-05 12:22:38 -07:00
Erwin Coumans
e5290560d7 avoid checking beyond string length in b3CommandLineArgs.h 2017-03-30 13:54:32 -07:00
nicolaichuk
1122afc2f4 Merge branch 'Branch_2.86.1' 2017-03-30 01:48:39 +03:00
nicolaichuk
ccecb4db62 revert add compare operation 2017-03-30 01:47:43 +03:00
nicolaichuk
2c6c64ca8a Merge remote-tracking branch 'remotes/bulletphysics/master' 2017-03-29 18:22:53 +03:00
nicolaichuk
2466df1c5a Merge branch 'Branch_2.86.1' 2017-03-29 18:21:42 +03:00
nicolaichuk
a359262678 remove redefine warning_message 2017-03-29 18:21:08 +03:00
nicolaichuk
f30464ebcb Revert "add compare operators in btAABB"
This reverts commit 18f17be47d.
2017-03-29 18:20:36 +03:00
nicolaichuk
ae07ce2ea7 * add BT_USE_INVERSE_DYNAMICS_WITH_BULLET2 2017-03-29 17:11:26 +03:00
Erwin Coumans
7503418c72 Split Bullet/src/LinearMath/btSerializer.cpp into btSerializer64.cpp to make it easier to rebuild serialization structure.
Add several MSVC optimization flags to cmake.
Bump up VERSION because serialization format changed
Expose btScalar& jointMaxForce, btScalar& jointMaxVelocity to 'getJointInfo2' API, add backwards compatibility to examples\Importers\ImportURDFDemo\URDFImporterInterface::getJointInfo.

pybullet: expose 4 more fields to getJointInfo: jointLowerLimit/jointUpperLimit/jointMaxForce/jointMaxVelocity
fix performance issue in CMD_ACTUAL_STATE_UPDATE_COMPLETED
2017-03-26 13:06:46 -07:00
erwincoumans
f27eb19633 revert m_linearDamping to previous (0.04f)
it broke many tests with empirical check values
2017-03-23 19:59:53 -07:00
Erwin Coumans
ee0e3ba271 Remove RobotLogging from CMakeLists.txt
Avoid crashing if threadIndex exceeds BT_QUICKPROF_MAX_THREAD_COUNT (64)
2017-03-23 18:00:00 -07:00
Erwin Coumans
21d1827c9f revert previous cmake copy->symlink (doesn't work on Windows)
fix timing issues at small timestep, disable default linear damping for btMultiBody
2017-03-23 17:30:59 -07:00
nicolaichuk
34228bb355 Merge branch 'Branch_2.86.1' 2017-03-23 17:48:23 +03:00
nicolaichuk
f68f821c89 rename Sructs to Structs 2017-03-23 17:47:44 +03:00
nicolaichuk
6063027181 fix "warning '<': signed/unsigned mismatch" 2017-03-23 15:24:27 +03:00
nicolaichuk
5144949ed8 add BT_USE_INVERSE_DYNAMICS_WITH_BULLET2 2017-03-23 15:17:29 +03:00
nicolaichuk
71e411c2ca fix warning "This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library" 2017-03-23 14:38:45 +03:00
nicolaichuk
5527e36139 Merge remote-tracking branch 'remotes/bulletphysics/master'
# Conflicts:
#	src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.h
2017-03-23 14:28:49 +03:00
nicolaichuk
8e1b146568 Merge branch 'Branch_2.86.1' 2017-03-23 14:24:32 +03:00
nicolaichuk
6decb7ad1a fix define call 2017-03-23 14:23:13 +03:00
nicolaichuk
703e66727c irr_simd_memcpy to gim_simd_memcpy 2017-03-23 14:22:18 +03:00
nicolaichuk
18f17be47d add compare operators in btAABB 2017-03-23 14:21:49 +03:00
nicolaichuk
bbf54cb05c remove inline in function definition 2017-03-23 14:20:58 +03:00
nicolaichuk
233dd51e02 update CMakeLists.txt 2017-03-23 14:19:13 +03:00
nicolaichuk
d26952acac add additional callback 2017-03-23 14:18:50 +03:00
nicolaichuk
1897939ec7 remove unimplemented method 2017-03-23 14:17:57 +03:00
nicolaichuk
3bf2f107b2 add default constructor 2017-03-23 14:17:13 +03:00
nicolaichuk
db065b8af8 fix redefinition 2017-03-23 14:15:51 +03:00
nicolaichuk
74b1044a05 move constructor for abstract class in protected 2017-03-23 14:14:14 +03:00
nicolaichuk
9360f1dca2 "btGImpactQuantizedBvh.h" divided into two files "btGImpactQuantizedBvh.h" and "btGImpactQuantizedBvhSructs.h" 2017-03-23 14:11:55 +03:00
nicolaichuk
3472a61216 "btGImpactBvh.h" divided into two files "btGImpactBvh.h" and "btGImpactBvhSructs.h" 2017-03-23 14:11:02 +03:00
nicolaichuk
b859ad7e4f "btContactProcessing.h" divided into two files "btContactProcessing.h" and "btContactProcessingSructs.h" 2017-03-23 14:10:17 +03:00
nicolaichuk
c7834e8e25 "btAxisSweep3.h" divided into two files "btAxisSweep3.h" and "btAxisSweep3Internal.h" 2017-03-23 14:08:54 +03:00
Erwin Coumans
61b28621ea minor fix in friction anchors for btMultiBody 2017-03-21 09:24:00 -07:00
Erwin Coumans
0c874aa43a fix issue introduced in previous commit, related to
btMultiBodyConstraintSolver friction/penetration handling
2017-03-20 19:38:59 -07:00
Erwin Coumans
0b017b0f53 fix issue with btMultiBody friction in combination with soft contacts (friction should not re-use normal contact cfm/erp)
implement friction anchors, position friction correction, disabled by default. Use colObj->setCollisionFlag(flag | CF_HAS_FRICTION_ANCHOR); See test/RobotClientAPI/SlopeFrictionMain.cpp. In URDF or SDF, add <friction_anchor/> in <contact> section of <link> to enable.
PhysicsServer: properly restore old activation state after releasing picked object
btMultiBodyConstraintSolver: disable flip/flop of contact/friction constraint solving by default (it breaks some internal flaky unit tests)
2017-03-20 10:58:07 -07:00
erwincoumans
a89d3cfb95 Merge pull request #1019 from erikogenvik/kinematic_controller_initialization
Kinematic controller initialization
2017-03-16 10:54:41 -07:00
Erwin Coumans
b7b46b12d3 update RobotSimulator/MinitaurSetup to use data/quadruped/minitaur.urdf
add b3RobotSimulatorClientAPI::getBaseVelocity and resetBaseVelocity
add b3Quaternion::getEulerZYX
2017-03-15 17:09:17 -07:00
Erwin Coumans
4db6fa9e29 update minitaur.py to use minitaur.urdf (instead of quadruped.urdf), also sort the legs in the same order as real hardware
added test urdf files for minitaur with all fixed joints, or fixed knees.
added some stiffness/damping to minitaur legs (testing)
tiny_obj_loader, don't crash on invalid texture coordinates
btMultiBodyConstraintSolver: sweep back and forward to reduce asymmetry
2017-03-15 15:38:50 -07:00
Erik Ogenvik
4ee09c264c Avoid using unitialized values.
m_gravity was used before it was initialized. Simplest way to avoid
it is to call any method first after all values are initialized.
2017-03-14 22:10:15 +01:00
Erwin Coumans
bbefc8fe7e Apply temporary stack-memory optimization, thanks to Jim Tillander
(old pull request 316 https://github.com/bulletphysics/bullet3/pull/316)
You can disable this in the build system, by adding preprocessor define 'BT_DISABLE_STACK_TEMP_MEMORY'
2017-03-13 22:27:37 -07:00
erwincoumans
11975ec60b Merge pull request #259 from AlexanderPolyakov/master
Fix for use of uninitialized variables.
2017-03-13 21:57:03 -07:00
erwincoumans
ef9afd39f7 Merge pull request #996 from iSLC/master
Adjust thread-local local static variable syntax for MinGW/GCC.
2017-03-13 21:52:06 -07:00
erwincoumans
cbd046e87f Merge pull request #1012 from DaveeFTW/winarm-fix
fix using SSE on non x86 targets
2017-03-13 21:50:55 -07:00
erwincoumans
41d7ee4f89 Merge pull request #1009 from cprogrammer1994/fix-compile-warnings
Fix some compiler warnings
2017-03-13 21:49:28 -07:00
David Morgan
6e35a9ee64 fix using SSE on non x86 targets 2017-03-13 19:14:10 +00:00
Erwin Coumans
bdaadf57e0 apply _clang-format to Bullet/src/LinearMath/btScalar.h, disable around preprocessor defines
(issue with clang-format lacking preprocessor indentation support, see
https://bugs.llvm.org//show_bug.cgi?id=17362
and possibly apply this patch:
https://github.com/mkurdej/clang/tree/indent-pp-directives
)
2017-03-13 11:17:42 -07:00
Szabolcs Dombi
839086ac84 fix type conversion warnings 2017-03-13 18:30:44 +01:00