Commit Graph

3905 Commits

Author SHA1 Message Date
Erwin Coumans
bc5a756c36 Merge remote-tracking branch 'bp/master' 2016-07-05 08:55:41 -07:00
erwin coumans
d0f20eafd1 Allow to build PhysicsServer in VR mode, to see the URDF/SDF robots in proper scale in VR.
Add option to have Z as up-axis for VR examples.
Add OpenVR LICENSE + README file
Don't crash VR app when no HMD is detected, just exit.
For now, don't request debug lines in client, it slows down physics server in VR mode too much.
2016-07-02 18:53:19 -07:00
erwincoumans
0cba24b637 Merge pull request #680 from erwincoumans/master
Add preliminary support for VR/OpenVR for HTC Vive and Oculus Rift,
2016-07-02 11:07:43 -07:00
Erwin Coumans
471d3652e4 (finally) applied patch to fix 'setLocalScaling' of btMultiSphereShape
See https://code.google.com/archive/p/bullet/issues/636
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8237 and
https://github.com/bulletphysics/bullet3/issues/125
2016-07-02 10:07:13 -07:00
erwincoumans
67cfaa45fa Merge pull request #679 from jbohren/patch-1
pkg-config: Fixing regression introduced by e46b7b2
2016-07-02 10:03:20 -07:00
erwin coumans
58206b7962 Add preliminary support for VR/OpenVR for HTC Vive and Oculus Rift,
(Windows-only first, later Linux and OSX)
Use premake to build, use --enable_openvr flag
2016-06-30 16:03:38 -07:00
Jonathan Bohren
83543ec76b pkg-config: Fixing regression introduced by e46b7b2 2016-06-30 14:02:19 -04:00
erwincoumans
eae90eb201 Merge pull request #675 from erwincoumans/master
remove debug printf's, fix an issue introduced in a previous commit to btMultiJointMotor etc.
2016-06-27 16:22:59 -07:00
Erwin Coumans
178dd54ca5 remove printf's and fix an issue in btMultiJointMotor in previous commit 2016-06-27 16:10:13 -07:00
Erwin Coumans
3966e0cc55 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-06-27 13:53:55 -07:00
erwincoumans
ed9be25570 Merge pull request #669 from hellojas/loadURDF
fix loading urdf at default position (0,0,0)
2016-06-26 19:12:20 -07:00
erwincoumans
cf1a4b02a1 Merge pull request #673 from erwincoumans/master
implement a few more pybullet methods:
2016-06-26 19:09:54 -07:00
Erwin Coumans
013dbda023 implement a few more pybullet methods:
pybullet_applyExternalForce, pybullet_applyExternalTorque, pybullet_setTimeStep,
pybullet_resetBasePositionAndOrientation,
pybullet_getQuaternionFromEuler,
pybullet_getEulerFromQuaternion
2016-06-26 18:18:30 -07:00
Jasmine Hsu
aa91042ac8 merge bullet master 2016-06-24 15:20:46 -07:00
erwincoumans
84f6d60ab3 Merge pull request #671 from erwincoumans/master
move PD control from PhysicsServerCommandProcessor into btMultiBodyJointConstraint
2016-06-24 13:59:54 -07:00
erwincoumans
a15eb3035e default gains 1 -> 0.1 2016-06-24 11:12:19 -07:00
Erwin Coumans
c17c39c2c9 move PD control from PhysicsServerCommandProcessor into btMultiBodyJointMotor
improvements/changes in pybullet API
2016-06-24 11:06:56 -07:00
erwincoumans
86150e2c71 Merge pull request #667 from erwincoumans/master
add one more test, related to b3CreatePoseCommandInit
2016-06-24 07:55:06 -07:00
Erwin Coumans (Google)
6d1948e79e tweaks in pybullet and shared memory C-API:
allow to reset the state of a single joint
allow to set the target/mode for a single joint motor at a time
rename pybullet API: initializeJointPositions -> resetJointState
2016-06-24 07:31:17 -07:00
Jasmine Hsu
d2a2797201 accidently added pybullet.so 2016-06-23 14:06:14 -07:00
Jasmine Hsu
976e228be0 remove print debugger 2016-06-23 14:05:36 -07:00
Jasmine Hsu
a21889e225 remove print debugger 2016-06-23 14:01:57 -07:00
Jasmine Hsu
e0448c7613 fix loading urdf at default position (0,0,0) and adding b3 cmd to change orientation if args provided 2016-06-23 14:00:44 -07:00
Erwin Coumans
2cd0eba257 re-introduce old method in pybullet for temporary back-wards compatibility
b3JointControlCommandInit requires 3 args, but it was only 2,
use b3JointControlCommandInit2 for now.
2016-06-23 08:40:36 -07:00
Erwin Coumans
8b96e2de3c a few pybullet tweaks to set desired joint motor targets (pos/vel/torque) 2016-06-22 23:21:47 -07:00
Erwin Coumans
f5ffb11bc5 fix bus error on Raspberry Pi, unaligned float access when loading STL files
fix pybullet Python 3 issue (PyString_FromString -> PyBytes_FromString and PyInt_FromLong -> PyLong_FromLong)
2016-06-23 05:10:00 +00:00
Erwin Coumans
df0b2a2e3a Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-06-22 10:01:26 -07:00
Erwin Coumans
79fa4ebd7c Merge remote-tracking branch 'bp/master' 2016-06-22 10:01:22 -07:00
Erwin Coumans
2b8bd58e1c support single-scalar scale values in URDF, even though "officially" it should be a vector3. This will load quadcopter.urdf in Drake:
https://github.com/RobotLocomotion/drake/blob/master/drake/examples/Quadrotor/quadrotor.urdf
2016-06-22 09:59:25 -07:00
Erwin Coumans
f0edf8a854 Merge remote-tracking branch 'bp/master' 2016-06-21 11:28:54 -07:00
erwincoumans
0b249361c2 fix a c99 issue in pybullet 2016-06-21 09:01:27 -07:00
erwincoumans
08b88c445a more travis/python testing fun 2016-06-21 08:51:43 -07:00
erwincoumans
07ee9673ef try to get python dependency in travis (pybullet) 2016-06-21 08:43:04 -07:00
erwincoumans
51da386345 also compile pybullet in one of the tests 2016-06-20 15:05:14 -07:00
erwincoumans
01cad7c2a5 fix return type in pybullet
.
2016-06-20 15:00:35 -07:00
erwincoumans
b58978184c fix C99 issue, use malloc, not variable sized array.
.
2016-06-20 14:58:56 -07:00
Erwin Coumans
c7c01e6b32 add one more test, related to b3CreatePoseCommandInit 2016-06-20 14:09:37 -07:00
erwincoumans
18e158ed38 Merge pull request #666 from erwincoumans/master
expand b3ResourcePath automagic resource localization capability.
2016-06-20 14:01:31 -07:00
Erwin Coumans
251fab0d75 expand b3ResourcePath automagic resource localization capability. 2016-06-20 12:40:08 -07:00
erwincoumans
40317a8b59 Merge pull request #665 from erwincoumans/master
add texture support in SDF, URDF for both OpenGL and software rendere…
2016-06-19 18:05:57 -07:00
Erwin Coumans
a67df7fd03 fix cmake and premake build systems, after adding texture support in SDF,
in a nutshell, add the following two files:

examples/Importers/ImportMeshUtility/b3ImportMeshUtility.cpp
examples/ThirdPartyLibs/stb_image/stb_image.cpp
2016-06-19 17:35:25 -07:00
Erwin Coumans
e3b2b1a969 add texture support in SDF, URDF for both OpenGL and software renderer (TinyRenderer) 2016-06-18 18:02:20 -07:00
erwincoumans
6369e3e12a Merge pull request #664 from YunfeiBai/master
Check diffuse field in sdf.
2016-06-17 16:15:47 -07:00
yunfeibai
d51320be2c Check diffuse field in sdf. 2016-06-17 15:47:11 -07:00
erwincoumans
7d5dea1bac Merge pull request #663 from erwincoumans/master
colors for sdf
2016-06-17 13:58:23 -07:00
Erwin Coumans
26f6618f00 colors for sdf 2016-06-17 12:07:38 -07:00
erwincoumans
c7365837cd Merge pull request #661 from erwincoumans/master
fix some issues related to controlling a robot/multibody beyond body …
2016-06-17 07:34:07 -07:00
Erwin Coumans
53a0772257 fix some issues related to controlling a robot/multibody beyond body index 0
(most testing happened with a single robot/multibody so far)
preliminary pybullet.setJointControl implementation
2016-06-16 18:46:34 -07:00
erwincoumans
70c7ec6c45 Merge pull request #660 from YunfeiBai/master
Set view and projection matrices from camera and frustum parameters.
2016-06-16 12:27:48 -07:00
yunfeibai
1329f265c8 Set view and projection matrices from camera and frustum parameters. 2016-06-16 11:48:37 -07:00