Commit Graph
598 Commits
Author SHA1 Message Date
Erwin Coumans 92fb2db0a3 fix some msan (memory sanitizer) issues 2021-05-12 20:14:15 +00:00
Erwin Coumans 092b7bc3d9 bump up pybullet version (and c++ version) to 3.17/3.1.7 2021-05-07 11:03:21 -07:00
erwincoumans 049d13d190 Merge pull request #3324 from kjander0/bug/update_comment
Updating a misleading comment
2021-04-10 15:57:14 -07:00
Kieren c810edf483 Updating a misleading comment 2021-03-25 21:00:27 +10:00
Erwin Coumans 9e2c39f04f bump up version to 3.08 2020-12-22 17:27:11 -08:00
David Carlier 3c7cdb498b profile, enable TLS for a handful of BSD platforms. 2020-12-04 09:17:06 +00:00
Erwin Coumans e32fc59c88 bump up version to 3.07 2020-11-26 14:25:33 -08:00
Vladimir Orlov 35f489f697 Compilation warning fixes:
* new btSdfCollisionShapeInternalData() may not be allocated aligned 16
* Two cases of signed/unsigned mismatch
2020-10-19 20:59:36 +02:00
erwincoumans b12da620ab Merge pull request #3082 from erwincoumans/master
@erwincoumans bump up PyBullet and Bullet version to 3.05 (in sync for this release)
2020-09-24 10:12:24 -07:00
Erwin Coumans e454b90c5b bump up PyBullet and Bullet version to 3.05 (in sync for this release) 2020-09-24 10:11:37 -07:00
Erwin Coumans 2154aad0ca bump up Bullet to version 2.90 2020-09-21 18:09:08 -07:00
Mihail Isakov db0d6c9292 CWE-190 integer overflow in btConvexHullComputer 2020-09-06 04:02:30 +02:00
DarkDefender 85a3cb0ed5 Add ability to get the original vertex index from the convex hull (#3018)
This makes it possible to know which input verticies were picked to
to define the hull.

With this information it is much easier to map certain features from the
input mesh/point cloud to the output convex hull.
2020-08-31 15:05:27 -07:00
Stephen Gold 245bacd6ac btAlignedAllocator: filename args should be const char* 2020-05-17 23:18:02 -07:00
Xuchen Han e92d013730 add new files to CMakeLists 2020-04-22 13:39:45 -07:00
Xuchen Han 78aebd44e2 Merge remote-tracking branch 'origin/master' into KKT 2020-04-20 19:35:46 -07:00
Xuchen Han 6e14a274ca add conjugate residual solver 2020-04-08 12:19:18 -07:00
Xuchen Han 460164c30e CG with projection + MGS working 2020-04-08 11:27:26 -07:00
Xuchen Han bbdca8a4e8 add support for reduced vectors and modified gram schmidt 2020-04-04 17:19:57 -07:00
stolk 567f221136 Fix unused var warning. 2020-04-01 17:12:58 -07:00
Xuchen Han a807d4c0c1 Fix include for std::numerical_limits; Fix uninitialized params 2020-03-13 15:03:08 -07:00
Xuchen Han 4b35af3830 change deformable teleport to absolute pose 2020-03-12 16:40:25 -07:00
Erwin Coumans 082a1ddbfe remove bla 2019-12-11 17:08:59 -08:00
Erwin Coumans 202cf18995 allow to compile using clang-cl on visual studio (disable SSE) 2019-12-11 13:07:53 -08:00
Erwin Coumans 5a9b862ef5 bump up to Bullet version 2.89 and update serialization structures 2019-10-30 10:32:14 -07:00
Erwin Coumans 938ac51da7 return a value in a degenerate svd case
re-disable svd by default
2019-10-29 20:40:57 -07:00
Erwin Coumans 7bffbb2351 add check against FLT_EPSILON/DBL_EPSILON for sqrt and division to avoid nan.
add max_iterations count in svd as safety termination condition
2019-10-29 18:28:30 -07:00
Xuchen Han a1afc66817 remove std::fabs and std::max 2019-10-15 13:51:33 -07:00
Xuchen Han 30238b2fbc remove std::copysign 2019-10-15 13:51:33 -07:00
Xuchen Han 9546390fd6 clamp stress for NeoHookean in singular value space 2019-10-15 13:50:13 -07:00
Erwin Coumans 3a4159c793 fix slow full btMatrixX operator* (was not used) 2019-10-08 19:31:58 -07:00
Xuchen Han 11ad0f0dfd add btMatrix3x3 constructor from vectors 2019-09-28 14:44:42 -07:00
biller23 448f0b8bef Fix alignment macros for btScalar.h
As of the merged #2278, but for btScalar.h
2019-07-13 10:53:25 +00:00
erwincoumans 5ec8339b6f Merge pull request #2270 from jamoflaw/deadlock-on-exit
Destroy semaphore after join
2019-06-10 19:24:28 -04:00
erwincoumans dd8885bf32 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-01 07:29:09 -07:00
jamoflaw 50dca7cf0e Destroy semaphore after join
I can't quite work out the logic behind this fix though I get a consistent hang on the worker threads (both my worker threads get stuck on sem_wait() - Line 181) when the semaphore is destroyed before the thread is joined, and the application never exits.

This change resolves this.
2019-05-27 23:05:20 +01:00
Michael Theall c3790448bc Return at least 1 from btGetNumHardwareThreads 2019-05-16 13:20:53 -05:00
erwincoumans 2f0ee2870d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-05-09 09:41:32 -07:00
Emil Nordén 7638b7c5a6 fixed build on latest version of clang 2019-05-04 08:38:53 +02:00
erwincoumans ba899b371d Make btMatrixX::printMatrix const 2019-05-02 16:18:29 -07:00
erwincoumans 225db2e385 Merge remote-tracking branch 'bp/master' 2019-01-23 08:55:38 -08:00
erwincoumans ae8e83988b Add preliminary PhysX 4.0 backend for PyBullet
Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng
Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py)
Fix related to TinyRenderer object transforms not updating when using collision filtering
2019-01-22 21:08:37 -08:00
Fredrik Svantesson 192b92a6dd Add space to prevent macro from specifying literal 2019-01-18 22:58:09 +01:00
erwincoumans 3729b733de Merge pull request #1941 from ShFil119/impr/remove_register
Remove unneeded keyword `register`
2019-01-04 07:58:16 -08:00
erwincoumans 875a5f6b0e append m_, fixes Issue 402 2018-12-22 11:07:08 -08:00
erwincoumans 9e99f5cdbc Expose PyBullet.calculateVelocityQuaternion, getAxisAngleFromQuaternion, getQuaternionFromAxisAngle, getDifferenceQuaternion
Add preparation for DeepMimic humanoid environment, replicating parts of https://github.com/xbpeng/DeepMimic
Loading humanoid.urdf and applying motion action: examples/pybullet/gym/pybullet_envs/mimic/humanoid.py
Loading MotionCapture data: examples/pybullet/gym/pybullet_envs/mimic/motion_capture_data.py
Little test: examples/pybullet/gym/pybullet_envs/mimic/humanoid_test.py
2018-11-16 17:29:03 -08:00
Erwin Coumans ac18c95ea1 fix some race conditions 2018-11-05 10:04:19 -08:00
erwincoumans 750133694c Disable btQuickprof.h profiling by default. We use custom profiling functions, see b3ChromeUtilsStartTimings. 2018-11-01 08:19:50 -07:00
Erwin Coumans a48b6b9ca0 fix some thread sanitizer (read/write integer, should be a harmless warning) 2018-10-31 17:00:34 -07:00
Filip Gawin 4aab16d943 Remove unneeded keyword register
Why is it unneeded?

C++11 has deprecated it,
c++17 removed.

So, how about older (c++98)?

According to Herb Sutter, it is as meaningful
as whitespace.

http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/
184403859
2018-10-16 21:28:42 +02:00