Erwin Coumans
0cf6685041
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-07-21 13:13:25 -07:00
Erwin Coumans
39a4e8dcd9
Implement faster array versions of PyBullet: getJointStatesMultiDof, getLinkStates, setJointMotorControlMultiDofArray, resetJointStatesMultiDof,
...
Implement StablePD in C++ through setJointMotorControlMultiDofArray method for pybullet_envs.deep_mimic, see testHumanoid.py and examples/pybullet/examples/humanoidMotionCapture.py
Minor fix in ChromeTraceUtil in case startTime>endTime (why would it happen?)
2019-07-21 13:08:22 -07:00
Erwin Coumans
dff277ad7b
add laikago urdf with toes (for inverse kinematics, and control over stiffness/damping to model rubber)
2019-07-17 12:30:49 -07:00
Erwin Coumans
7a7f944e39
fix issue in previous commit (need to reserve instead of resize)
2019-07-10 20:52:45 -07:00
Erwin Coumans
ee9575167d
expose PyBullet.calculateInverseKinematics2 that allows to specify multiple IK end effector locations (not multiple orientations)
...
usage example:
jointPoses = p.calculateInverseKinematics2(bodyUniqueId, [endEffectorLinkIndices], [endEffectorTargetWorldPositions])
2019-07-10 17:21:18 -07:00
Erwin Coumans
9db6acd97d
support changeVisualShape(rgbaColor) through GraphicsServer/Client
...
support getCameraInfo through GraphicsServer/Client
2019-07-02 09:48:34 -07:00
erwincoumans
9e28737b57
Merge pull request #2298 from erwincoumans/master
...
configureDebugVisualizer: expose lightPosition, shadowMapResolution (texture resolution) and shadowMapWorldSize
2019-06-19 11:48:25 -07:00
Erwin Coumans
ed4515ae17
for the GraphicsServer, expose a sync transform interval: only synchronize the transform once the stepSimulation exceeds this time interval.
...
(for example, run the simulation at 1kHz but sync the graphics transforms to remove graphics server at 30Hz)
2019-06-19 09:45:29 -07:00
erwincoumans
d762bc4e84
Merge pull request #2266 from devnexen/shader_example_build_fix
...
Fix shader example build / spotted by clang
2019-06-19 09:16:25 -07:00
Erwin Coumans
c3b7f39aaf
expose shadowMapResolution (texture resolution) and shadowMapWorldSize (size in meters in world space)
...
expose pybullet.ConfigureOpenGLVisualizerRequest(lightPosition=[x,y,z], shadowMapWorldSize=10.5, shadowMapResolution=16384)
See examples/pybullet/examples/configureDebugVisualizer.py for an example.
This reimplements https://github.com/bulletphysics/bullet3/pull/2295 but without creating a new command/status and explicitly referring to the debug visualizer
(since the 'getCameraImage' also has a lightPosition)
2019-06-19 09:01:16 -07:00
erwincoumans
bc9c477edb
Merge pull request #2296 from Steven89Liu/urdfparser
...
fix the issue of converting the double to single.
2019-06-19 07:21:50 -07:00
erwincoumans
0b9c0cebfb
Merge pull request #2294 from erwincoumans/master
...
make pybullet.getMeshData work for softbody
2019-06-18 21:18:56 -07:00
Erwin Coumans
7e76ee0ad7
make pybullet.getMeshData work for softbody
2019-06-17 21:43:38 -07:00
Erwin Coumans
20d9ad5f24
Merge remote-tracking branch 'bp/master'
2019-06-17 20:37:34 -07:00
Erwin Coumans
d888c50f15
avoid getting stuck in RemoteGUIHelper when graphics server isn't started first.
2019-06-17 18:30:39 -07:00
Erwin Coumans
e286fbd9f2
fixes for RemoteGUIHelper
2019-06-15 10:30:48 -07:00
Erwin Coumans
708f66ac42
add RemoteGUIHelper to communicate between graphics client/server
2019-06-14 08:06:21 -07:00
erwincoumans
dd23cadd73
Merge pull request #2291 from bulletphysics/revert-2221-c_api_refactor_build
...
Revert "C api refactor build"
2019-06-14 07:50:33 -07:00
erwincoumans
e1326adff5
Revert "C api refactor build"
2019-06-14 07:49:24 -07:00
Erwin Coumans
95a79800ec
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-06-13 23:24:42 -07:00
Erwin Coumans
6160b52fd7
graphicsServer to workaround OpenGL issues on some servers.
2019-06-13 23:24:22 -07:00
Erwin Coumans
dc9549b2b4
Merge remote-tracking branch 'bp/master'
2019-06-10 16:24:42 -07: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
9457646737
Merge pull request #2279 from AndreaCatania/patch-3
...
Fix initialization order
2019-06-10 19:23:49 -04:00
Erwin Coumans
8c796a954c
Merge remote-tracking branch 'bp/master'
2019-06-10 16:21:20 -07:00
erwincoumans
500264ca23
Merge pull request #2276 from erwincoumans/master
...
add toes to Mini Cheetah
2019-06-02 18:29:29 -04:00
erwincoumans
d7c0c9c017
update ExampleBrowser InverseKinematics example to track 4 end effectors at once.
2019-06-01 19:43:27 -07:00
erwincoumans
36896db828
Merge remote-tracking branch 'bp/master'
2019-06-01 07:29:31 -07:00
erwincoumans
dd8885bf32
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-06-01 07:29:09 -07:00
erwincoumans
78e1baede8
Merge pull request #2257 from mtheall/master
...
Return at least 1 from btGetNumHardwareThreads
2019-05-27 14:01:43 -07:00
Erwin Coumans
093986f1ee
revert to previous leg style of Microtaur
2019-05-22 23:42:32 -04:00
Erwin Coumans
e13df4ce48
add toe endeffectors for IK of Microtaur
2019-05-22 22:08:45 -04:00
Erwin Coumans
d7e863e51a
update microtaur URDF and example, to be compatible with minitaur_rainbow_dash
2019-05-22 10:59:20 -04:00
Erwin Coumans
af5bfb4089
added Microtaur URDF file, with basic system identification
...
See https://www.youtube.com/watch?v=UmGnLgpEVTE
2019-05-21 22:33:16 -04:00
erwincoumans
2f0ee2870d
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-05-09 09:41:32 -07:00
Erwin Coumans
2b9bece2c8
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2019-05-08 12:03:46 -07:00
Erwin Coumans
577dd16299
fix test compilation
2019-05-08 12:03:23 -07:00
erwincoumans
b40bb583b7
Merge pull request #2235 from RanTig/user-data-direct-fix
...
Fixes bug in getNumUserData in the physics direct client.
2019-05-06 16:30:22 -07:00
erwincoumans
2f3dfce2bf
Merge pull request #2236 from AndreaCatania/patch-3
...
Multibody memory invalid writing
2019-05-06 15:37:10 -07:00
erwincoumans
f4f5f70886
Merge pull request #2231 from fuchuyuan/master
...
set softbody start position and orientation in pybullet
2019-05-05 11:26:43 -07:00
erwincoumans
7f6c479ea6
Merge pull request #2232 from EmilNorden/master
...
fixed build on latest version of Clang
2019-05-05 11:25:51 -07:00
erwincoumans
de2d22f76b
Merge pull request #2226 from fuchuyuan/softBodyExp
...
Soft body exp
2019-05-02 17:09:08 -07:00
erwincoumans
ba899b371d
Make btMatrixX::printMatrix const
2019-05-02 16:18:29 -07:00
erwincoumans
aec9968e28
Merge pull request #2218 from erwincoumans/master
...
apply Python formatting using yapf (thanks to @kngwyu)
2019-04-28 16:06:54 +02:00
erwincoumans
a8d1c121fd
allow Z as up-axis for raycast acceleration in btHeightfieldTerrainShape
2019-04-16 10:34:59 -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
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
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
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
erwincoumans
3768bbcae3
Merge pull request #2167 from erwincoumans/master
...
fix memleak in calculateInverseKinematics + joint limits.
2019-03-21 14:28:57 -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
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
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
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
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
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
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
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
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
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
erwincoumans
ba61c0911f
Merge pull request #2144 from erwincoumans/master
...
reduce size of SharedMemoryStatus
2019-03-07 08:31:01 -08:00
erwincoumans
b94a55ee5f
Merge remote-tracking branch 'bp/master'
2019-03-06 23:29:29 -08:00
erwincoumans
0af0f193ee
reduce size of SharedMemoryStatus by moving state details into shared memory streaming block.
2019-03-06 23:27:59 -08:00
erwincoumans
4d39b7caca
Merge pull request #2142 from fuchuyuan/fixedJoint
...
Fixed joint
2019-03-06 22:03:00 -08:00
erwincoumans
a9e350b0fb
Merge pull request #2141 from erwincoumans/blocksolver
...
solver experiment
2019-03-06 22:02:44 -08:00
erwincoumans
4c37558805
Merge pull request #2138 from erwincoumans/master
...
Implement 'cone friction' for the rolling friction, to avoid curved t…
2019-03-03 20:56:12 -08:00
erwincoumans
04441a29cc
Implement 'cone friction' for the rolling friction, to avoid curved trajectories for contact with rolling friction enabled.
...
(and separate spinning friction from rolling friction)
Fixes Issue 2117
2019-03-03 17:10:01 -08:00