Commit Graph
100 Commits
Author SHA1 Message Date
Erwin Coumans 61c099460c apply yapf 2019-04-27 14:22:02 -07:00
Erwin Coumans efe73670ef Merge remote-tracking branch 'bp/master' 2019-04-27 14:19:58 -07:00
erwincoumans 38f45d7137 Update btMultiBodyDynamicsWorld.cpp 2019-04-27 14:16:44 -07:00
erwincoumans 62e01c7a33 Update PhysicsServerCommandProcessor.cpp 2019-04-27 12:21:45 -07:00
erwincoumans d0737dfa4c Update BlockSolverExample.cpp 2019-04-27 12:19:38 -07:00
Erwin Coumans ef9570c315 add yapf style and apply yapf to format all Python files
This recreates pull request #2192
2019-04-27 07:31:15 -07:00
Erwin Coumans c591735042 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-27 06:24:12 -07:00
erwincoumans 1da207efaa Merge pull request #2209 from YungKC/patch-2
Should sort best directions that gives the highest rewards
2019-04-26 16:43:32 +02:00
erwincoumans d095a24274 Merge pull request #2217 from fuchuyuan/softbody
load softbody API
2019-04-26 16:33:46 +02:00
Chuyuan Fu 5b5307cf14 load softbody API
update warning message

format
2019-04-25 15:40:15 -07:00
Erwin Coumans 1c6aa4b67e bump up PyBullet to 2.4.9 2019-04-25 08:07:36 -07:00
erwincoumans 10633c7c11 Merge pull request #2208 from erwincoumans/master
allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape
2019-04-25 08:06:59 -07:00
Erwin Coumans 72c6ed9abe fix file caching issue 2019-04-25 07:04:22 -07:00
Erwin Coumans 0d4392af58 rename laikago_walk.json -> txt 2019-04-18 14:18:34 -07:00
Erwin Coumans 73ecd49d1f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-16 15:01:36 -07:00
YungKC 61987dea85 Should sort best directions that gives the highest rewards
Found bug where the sort order would incorporate the lowest N rewards, instead of the highest. With this fix, one can now use fewer best directions instead.
2019-04-16 12:20:08 -07:00
erwincoumans a8d1c121fd allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape 2019-04-16 10:34:59 -07:00
Erwin Coumans 6912290080 fix one more warning in HeightfieldExample 2019-04-16 09:26:33 -07:00
Erwin Coumans 0675ce789d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-16 09:17:21 -07:00
Erwin Coumans a7e1c5b681 fix warnings in HeightfieldExample 2019-04-16 09:14:00 -07:00
Erwin Coumans 38da7f3ea7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-16 07:40:31 -07:00
erwincoumans bf0eb4703d Merge pull request #2200 from YungKC/patch-1
Fix render issue in server render mode (e.g., docker)
2019-04-16 06:31:58 -07:00
erwincoumans 2a9bfbdb1c Merge pull request #2204 from erwincoumans/master
add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc…
2019-04-15 22:20:06 -07:00
erwincoumans a936e98300 Merge pull request #2205 from bulletphysics/revert-2062-heightfield_accelerator
Revert "Accelerated terrain raycast with "Bresenham" and chunks"
2019-04-15 22:19:53 -07:00
erwincoumans ee9b14299c Revert "Accelerated terrain raycast with "Bresenham" and chunks" 2019-04-15 22:19:40 -07:00
erwincoumans d9d37cc4ea Merge pull request #2062 from Zylann/heightfield_accelerator
Accelerated terrain raycast with "Bresenham" and chunks
2019-04-15 22:18:58 -07:00
erwincoumans f28fd91e4f add raycast accelerator for btHeightfieldTerrainShape, thanks to Marc Zylann, see https://github.com/bulletphysics/bullet3/pull/2062
it can be disabled by setting the flag cb.m_flags |= btTriangleRaycastCallback::kF_DisableHeightfieldAccelerator;
acceleration is disabled for z axis up.
add btHeightfieldTerrainShape example to example browser
2019-04-15 21:55:29 -07:00
erwincoumans a929e8f2e5 Merge pull request #2203 from erwincoumans/master
implement stablePD control version of testLaikago,  fix getCameraImage in VR,  only report solver analytics if enabled using setPhysicsEngineParameter
2019-04-15 08:52:03 -07:00
erwincoumans e97a7d77af only report solver analytics if enabled using setPhysicsEngineParameter(reportSolverAnalytics=1) 2019-04-14 18:20:20 -07:00
erwincoumans 219970c09e fix getCameraImage in VR server using renderer=pybullet.ER_BULLET_HARDWARE_OPENGL 2019-04-14 14:08:35 -07:00
YungKC 8f9ff5e674 Fix render issue in server render mode (e.g., docker)
px is an 1D array, and cause a runtime error when trying to strip the color channels into RGB. I fixed this by first reshape the px array into am image compatible format first.
2019-04-12 17:42:26 -07:00
Erwin Coumans 1629801d95 Merge remote-tracking branch 'bp/master' 2019-04-12 17:38:48 -07:00
erwincoumans 154c65ae4d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-11 22:19:12 -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 c6a43e0a5b Merge pull request #2190 from JayFoxRox/pybullet-visibility
Reduce visibility of Bullet symbols in PyBullet
2019-04-09 12:22:21 -07:00
erwincoumans c243f9e7c7 Merge pull request #2195 from Steven89Liu/NeedsJointFeedback
don't need to call the computeAccelerationsArticulatedBodyAlgorithmMu…
2019-04-09 09:25:07 -07:00
Jannik Vogel 4ca8b997f9 Reduce visibility of Bullet symbols in PyBullet
Avoids version conflicts in programs using PyBullet, which also link against Bullet libraries
2019-04-08 02:59:24 +02:00
Erwin Coumans 4ae24083ee implement stablePD control version of testLaikago, in preparation for quadruped DeepMimic 2019-04-05 16:45:33 -07:00
erwincoumans 43e164af8a Merge pull request #2186 from erwincoumans/master
Added laikago mocap data for a DeepMimic compatible walk cycle
2019-04-04 21:01:49 -07:00
erwincoumans 3146f6276b Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-04-04 19:40:59 -07:00
erwincoumans 024af08320 Added laikago mocap data for a DeepMimic compatible walk cycle
Added testLaikago.py script to test this mocap data.
2019-04-04 19:40:21 -07:00
erwincoumans 473fd15a86 Merge pull request #2182 from erwincoumans/master
implement PyBullet removeState command. Fixes Issue #2163
2019-04-04 09:47:16 -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
erwincoumans 62add41ab4 Merge pull request #2180 from stephengold/master
in btSimpleBroadphase::destroyProxy(), remove pairs before freeing proxy
2019-04-03 07:32:06 -07:00
erwincoumans 0e23257855 Merge pull request #2174 from fuchuyuan/SIblock
Use two SI solvers as blocks in block solver.
2019-03-29 07:32:17 -07:00
erwincoumans 4d3f2e5b17 Merge branch 'master' into SIblock 2019-03-27 16:18:36 -07:00
erwincoumans d88a281802 Merge pull request #2177 from crewmatt/master
Initializes simulation timestamp to 0 explicitly.
2019-03-26 19:51:43 -07:00
erwincoumans 4912f72886 Merge pull request #2178 from erwincoumans/master
add actuatornet code,  temporary disable experimental BulletRobotics examples
2019-03-26 19:22:23 -07:00
Erwin Coumans c033c8b22f add missing m_numDofs 2019-03-26 18:13:04 -07:00
Erwin Coumans 4898887265 temporary disable experimental BulletRobotics examples 2019-03-26 15:07:55 -07:00
Erwin Coumans 2ba8c22397 add actuatornet code 2019-03-26 10:05:45 -07:00
Chuyuan Fu 7223e51dc4 fix compile 2019-03-25 17:32:53 -07:00
Chuyuan Fu c44c7f2891 add files 2019-03-25 14:55:02 -07:00
Chuyuan Fu 7aba1f9e8a Use two SI solvers as blocks in block solver.
In the btBlockSolver we are experimenting with, we have SI for both multibody and rigid body. I'm currently replacing rigid body SI solver with two smaller SI solvers. The two examples provided by RigidBodyBoxes.h should have the same behavior.
2019-03-25 14:41:58 -07:00
erwincoumans 922b27fb87 Merge pull request #2171 from iory/pybullet-envs
[pybullet/gym/pybullet_envs] Modified register's timestep_limit to max_episode_steps for gym
2019-03-25 14:25:11 -07:00
erwincoumans 9617dac9ec Merge pull request #2172 from erwincoumans/master
use certain methods from std namespace
2019-03-25 14:24:45 -07:00
Chuyuan Fu 19f3ec8b80 fix conflut 2019-03-25 14:12:00 -07:00
Erwin Coumans 0409478152 use certain methods from std namespace 2019-03-23 12:45:59 -07:00
iory a8146024fd [pybullet/gym/pybullet_envs] Modified register's timestep_limit to max_episode_steps for gym 2019-03-24 03:32:20 +09:00
erwincoumans 3768bbcae3 Merge pull request #2167 from erwincoumans/master
fix memleak in calculateInverseKinematics + joint limits.
2019-03-21 14:28:57 -07:00
Erwin Coumans 94d8ee74f7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-03-20 15:11:03 -07:00
Erwin Coumans f725d1201d fix memory leak in PyBullet.calculateInverseKinematics when joint limits are provided
Fixes Issue #2164
2019-03-20 15:09:48 -07:00
erwincoumans 28148eb1ed Merge remote-tracking branch 'bp/master' 2019-03-18 10:12:55 -07:00
erwincoumans 2e81714e7a Merge pull request #2161 from crewmatt/master
Adds a timestamp as a physics parameter.
2019-03-17 16:13:48 -07:00
Erwin Coumans 3acac372da add vision 60 urdf (from Ghost Robotics) and zipped random urdfs 2019-03-15 13:19:59 -07:00
Erwin Coumans a0aa963e28 fix premake and cmake for ExampleBrowser 2019-03-15 04:04:51 +00:00
erwincoumans 17d2b318bf Merge pull request #2159 from bulletphysics/erwincoumans-glob
Update kuka_diverse_object_gym_env.py
2019-03-14 18:28:14 -07:00
erwincoumans ced17be7f3 Merge pull request #2162 from erwincoumans/cl_237962826
Qualify calls to certain functions from the cmath library.
2019-03-14 18:27:54 -07:00
Erwin Coumans 150a6a0880 Qualify calls to certain functions from the cmath library. 2019-03-14 16:57:50 -07:00
erwincoumans 9662ae4ba0 Update kuka_diverse_object_gym_env.py
Fix issue in glob to separate training/test data pattern. See https://github.com/bulletphysics/bullet3/issues/2158
Thank to @TomoyaFukui
2019-03-14 09:33:48 -07:00
Erwin Coumans 1161a04c56 Merge remote-tracking branch 'bp/master' 2019-03-13 09:52:38 -07:00
erwincoumans 18918389d3 Merge pull request #2145 from fuchuyuan/addExample
Add example
2019-03-12 11:06:53 -07:00
erwincoumans 46e43e0051 Merge remote-tracking branch 'bp/master' 2019-03-12 09:13:51 -07:00
Erwin Coumans 0caf51a54e btBlockSolver use m_data2 instead of m_data 2019-03-11 17:52:55 -07:00
Chuyuan Fu bea2f6e65a Turn off self-collision for FixJointBoxes example 2019-03-11 13:12:49 -07:00
Damian Bemben 2ca6172f1a Fixing issue where mass of motors is uneven
Mass of motors was being tilted to the left, due to FL hip motor and RL hip motor having a mass of 1.095 and FR hip motor and BR hip motor having a mass of 0.241. This led to issues with the laikago tilting. May require further investigation to see if the laikago is at the proper center of mass!
2019-03-11 10:12:38 -07:00
erwincoumans 550f4c4785 expose maxJointVelocity through PyBullet.changeDynamics, this Fixes Issue #1890
bump up PyBullet to version 2.4.8
2019-03-11 10:12:38 -07:00
erwincoumans ce531e6015 allow to PyBullet.changeDynamics for all links in maximal coordinate rigid bodies
change snake.py to use useMaximalCoordinate = True by default
2019-03-11 10:12:38 -07:00
Erwin Coumans 53979b1b7b tweak mouse wheel multiplier 2019-03-11 10:12:38 -07:00
Erwin Coumans 84a7ceb416 bump up PyBullet version to 2.4.7 2019-03-11 10:12:38 -07:00
erwincoumans a1f15ae01a Expose anisotropic friction, add snake demo. Simple snake slither locomotion from > 15 years ago, thanks to Michael Ewert @ Havok!
Visit http://www.snakerobots.com to see one of these in the wild
2019-03-11 10:12:38 -07:00
erwincoumans 0b41fe1a49 use b3RobotJointInfo instead of b3JointInfo, so it is initialized.
don't reset the camera in SharedMemoryInProcessPhysicsC_API
2019-03-11 10:12:38 -07:00
erwincoumans d56b136155 Merge pull request #2154 from dambem/patch-1
Fixing issue where mass of motors is uneven
2019-03-10 21:38:34 -07:00
Damian Bemben b027bc92df Fixing issue where mass of motors is uneven
Mass of motors was being tilted to the left, due to FL hip motor and RL hip motor having a mass of 1.095 and FR hip motor and BR hip motor having a mass of 0.241. This led to issues with the laikago tilting. May require further investigation to see if the laikago is at the proper center of mass!
2019-03-10 22:41:40 +00:00
erwincoumans 31ce4e0e57 Merge pull request #2153 from erwincoumans/master
expose maxJointVelocity through PyBullet.changeDynamics, fix mouse wheel multiplier
2019-03-09 09:25:05 -08:00
erwincoumans 4ea907aacf expose maxJointVelocity through PyBullet.changeDynamics, this Fixes Issue #1890
bump up PyBullet to version 2.4.8
2019-03-09 09:23:16 -08:00
Chuyuan Fu 81ab8cd1c6 another fix 2019-03-08 14:21:18 -08:00
Chuyuan Fu fa2368c6d6 Try to fix tests 2019-03-08 13:50:12 -08:00
erwincoumans 32e93d9f91 allow to PyBullet.changeDynamics for all links in maximal coordinate rigid bodies
change snake.py to use useMaximalCoordinate = True by default
2019-03-08 09:20:32 -08:00
Erwin Coumans b1465c8205 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-03-08 07:44:21 -08:00
Erwin Coumans 58c638d5ee tweak mouse wheel multiplier 2019-03-08 07:43:50 -08:00
Erwin Coumans b072f2fdc8 bump up PyBullet version to 2.4.7 2019-03-07 22:05:15 -08:00
erwincoumans 2b5eabef18 Merge pull request #2147 from erwincoumans/master
Expose anisotropic friction, add snake demo. Simple snake slither loc…
2019-03-07 22:04:28 -08:00
erwincoumans 9408e4f2d0 Expose anisotropic friction, add snake demo. Simple snake slither locomotion from > 15 years ago, thanks to Michael Ewert @ Havok!
Visit http://www.snakerobots.com to see one of these in the wild
2019-03-07 21:13:00 -08:00
fuchuyuan 2908bd9641 Merge branch 'master' into addExample 2019-03-07 19:59:48 -08:00
erwincoumans c1e1a0f37b Merge pull request #2146 from erwincoumans/master
use b3RobotJointInfo instead of b3JointInfo, so it is initialized.
2019-03-07 17:56:54 -08:00
erwincoumans d7b54b0265 use b3RobotJointInfo instead of b3JointInfo, so it is initialized.
don't reset the camera in SharedMemoryInProcessPhysicsC_API
2019-03-07 17:55:45 -08:00
Chuyuan Fu 2fb12400ac Add urdf file for examples/BulletRobotics/JointLimit.cpp 2019-03-07 17:29:36 -08:00
Chuyuan Fu 1660957f75 Untrack Grasp box example for now. This example needs more adjustment.
fix compile
2019-03-07 17:10:16 -08:00