Commit Graph

6626 Commits

Author SHA1 Message Date
Tigran Gasparian
bb72a91080 Clears the user data cache when syncUserData is called.
Adds unit test for the UserData functons.
Changes the char pointer in btHashString to std::string. There were
problems where the object owning the string memory would deallocate the
string, making the btHashString object invalid.
2018-06-04 15:10:48 +02:00
erwincoumans
e0667d8579 Merge pull request #1728 from erwincoumans/master
PyBullet.addUserData (etc) and expose flags to createMultiBody
2018-06-02 18:41:53 -07:00
erwincoumans
4997eb8da2 add new file related to PyBullet userData 2018-06-02 13:52:00 -07:00
erwincoumans
b6120e760a PyBullet.addUserData / getUserData / removeUserData / getUserDataId / getNumUserData / getUserDataInfo
See examples/pybullet/examples/userData.py how to use it. TODO: add to PyBullet Quickstart Guide.
Thanks to Tigran Gasparian for the contribution!
2018-06-02 13:40:08 -07:00
erwincoumans
cb6b7a7c38 PyBullet: expose flags to createMultiBody 2018-06-02 11:37:14 -07:00
erwincoumans
c77586a526 Merge pull request #1727 from erwincoumans/master
PyBullet picking change, revert gjk test
2018-06-02 00:13:43 -07:00
Erwin Coumans
39c9ffa4c3 PyBullet IK: backward compatible changes related to joint damping 2018-06-01 23:25:47 -07:00
Erwin Coumans
f75e22e37d bump up PyBullet version to 2.0.3 2018-06-01 22:54:43 -07:00
erwincoumans
68ea22bfd0 undo git merge conflict mess-up with IK 2018-06-01 22:50:06 -07:00
erwincoumans
a450600eb8 revert gjk test 2018-06-01 22:17:46 -07:00
erwincoumans
e721a9cdf5 revert testing changes 2018-06-01 22:02:17 -07:00
erwincoumans
54ddbad29f remove printf 2018-06-01 21:56:34 -07:00
erwincoumans
92579f9196 Merge branch 'master' of https://github.com/erwincoumans/bullet3
# Conflicts:
#	examples/SharedMemory/PhysicsServerCommandProcessor.cpp
2018-06-01 09:35:15 -07:00
erwincoumans
2d40a18315 picking shouldn't activate (wakeup) sleeping objects 2018-06-01 09:34:18 -07:00
erwincoumans
00c8f8f68e Merge pull request #1725 from erwincoumans/master
Use dofCount and not numJoints in PyBullet.calculateInverseKinematics…
2018-06-01 07:31:09 -07:00
Erwin Coumans
e74cd05e37 add space 2018-05-31 21:21:50 -07:00
Erwin Coumans
3ac01d57a5 Merge remote-tracking branch 'bp/master' 2018-05-31 21:21:43 -07:00
erwincoumans
7653ddbeba bump up pybullet version (for fixed ik) 2018-05-31 21:17:39 -07:00
erwincoumans
4c75e022c8 Use dofCount and not numJoints in PyBullet.calculateInverseKinematics, fixes null space demo
See baxter_ik_demo at https://github.com/erwincoumans/pybullet_robots
2018-05-31 21:07:04 -07:00
erwincoumans
1d53c48322 Merge pull request #1724 from erwincoumans/master
test space
2018-05-31 18:20:12 -07:00
Erwin Coumans
3720421e82 Merge remote-tracking branch 'bp/master' 2018-05-31 18:17:12 -07:00
Erwin Coumans
70b3d4d0f4 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-31 18:16:57 -07:00
Erwin Coumans
76e88dddc5 add space to make conversion work 2018-05-31 18:16:40 -07:00
erwincoumans
bc8378cb87 Merge pull request #1723 from erwincoumans/master
fix different arg name in header versus cpp
2018-05-31 18:08:29 -07:00
erwincoumans
309a07c21b Merge branch 'master' into master 2018-05-31 18:05:50 -07:00
Erwin Coumans
378de87286 Merge remote-tracking branch 'bp/master' 2018-05-31 18:03:56 -07:00
Erwin Coumans
93a51e19d9 fix different arg name in header versus cpp 2018-05-31 17:58:12 -07:00
erwincoumans
75eaaecf49 Merge pull request #1722 from erwincoumans/master
implement accurate inverse kinematics in C++, exposed through PyBullet.calculateInverseKinematics
2018-05-31 16:50:52 -07:00
erwincoumans
3463d0a879 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-31 16:06:33 -07:00
erwincoumans
edc70582dd implement accurate inverse kinematics in C++. PyBullet.calculateInverseKinematics gets "maxNumIterations=20", "residualThreshold=1.04" to tune
allow to provide current joint positions in IK, overriding the body joint positions, also IK target will be in local coordinates.
expose b3ComputeDofCount in C-API
2018-05-31 16:06:15 -07:00
erwincoumans
8567f6bb7c PyBullet: rename sleepObjectAutoDeactivation -> sleeping.py
PyBullet: allow maximal coordinate rigid bodies to sleep/deactivate
2018-05-30 21:14:35 -07:00
erwincoumans
292e198a57 Merge pull request #1719 from erwincoumans/master
const char* for path, bump up pybullet version
2018-05-30 19:48:25 -07:00
erwincoumans
150a0e050e Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-30 19:47:47 -07:00
Erwin Coumans
491ecf2a20 export object auto-deactivation (sleeping) to pybullet (needs some more testing/configuring) 2018-05-30 18:37:08 -07:00
Erwin Coumans
14c6dee6a3 const char* for path 2018-05-30 14:37:49 -07:00
erwincoumans
1dec33d44b move default linearslop to 0 2018-05-30 12:31:29 -07:00
erwincoumans
afa5ab25a6 Merge pull request #1715 from eastskykang/b3RobotAPI
added functions to b3RobotSimulatorClientAPI_NoGUI
2018-05-30 14:08:27 +10:00
erwincoumans
2819ff4a00 bump up version 2018-05-29 21:05:12 -07:00
erwincoumans
851459dbfe Merge pull request #1716 from erwincoumans/master
fix fixed constraint between btMultiBody and btRigidBody, fix minitaur examples when ran from pip version
2018-05-30 12:02:34 +10:00
erwincoumans
11d8f069f0 Disable overlapping pair debug variables behind the BT_DEBUG_COLLISION_PAIRS preprocessor definition. 2018-05-29 17:06:35 -07:00
erwincoumans
7d0c8d18a6 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-29 16:49:21 -07:00
erwincoumans
ec4b3505a4 fix fixed constraint between btMultiBody and btRigidBody 2018-05-29 16:49:07 -07:00
Erwin Coumans
6fb8cc7fda Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-29 09:29:12 -07:00
Erwin Coumans
39808ddfdf allow to run minitaur environment examples from pip version, like this:
python -m pybullet_envs.minitaur.envs.minitaur_trotting_env_example
python -m pybullet_envs.minitaur.envs.minitaur_reactive_env_example
2018-05-29 09:28:31 -07:00
donghokang
325ccad258 getDynamicsInfo function now works. Changed to call b3GetDynamicsInfo in getDynamicsInfo. 2018-05-29 16:41:37 +02:00
donghokang
6bd7a52bf8 solverResidualThreshold now can be set. 2018-05-29 16:25:28 +02:00
donghokang
a3e4582bef getCollisionShapeData and getVisualShapeData were added to RobotSimulatorClinetAPI_NoGUI. b3RobotSimulatorJointMotorArrayArgs initialization bug fix. 2018-05-29 16:23:17 +02:00
erwincoumans
fc9a2f88ef Merge pull request #1710 from erwincoumans/master
Move from b3Vector3 to btVector3 to support double precision in examp…
2018-05-27 11:25:40 +10:00
Erwin Coumans
dcc9c4d0d9 fix HelloBulletRobotics example from b3Vector3 -> btVector3 2018-05-27 10:55:53 +10:00
Erwin Coumans
57b3e0d221 Move from b3Vector3 to btVector3 to support double precision in examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI API. 2018-05-27 10:42:33 +10:00