Commit Graph

4014 Commits

Author SHA1 Message Date
Erwin Coumans
f304fd7611 add one more pybullet renderImage API and testrender.py example
tweak Bullet Inverse Dynamics, work-around compiler issue
2016-08-02 11:12:23 -07:00
erwincoumans
7d76183e13 Merge pull request #726 from erwincoumans/master
fix CMD_INIT_POSE+INIT_POSE_HAS_INITIAL_ORIENTATION
2016-08-02 09:54:48 -07:00
Erwin Coumans
93db3d7ba6 fix CMD_INIT_POSE+INIT_POSE_HAS_INITIAL_ORIENTATION,
setWorldToBaseRot takes inverse orientation (need to remove that API!)
2016-08-02 09:30:33 -07:00
Erwin Coumans
30ae7f7514 Merge remote-tracking branch 'bp/master' 2016-08-02 08:11:41 -07:00
Erwin Coumans
2597e9eddb Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-08-02 08:11:27 -07:00
erwincoumans
d69d569ae8 Merge pull request #725 from erwincoumans/master
fix overflow visual shape in COLLADA .dae importer, trailing space in .mtl names.
2016-08-02 00:17:41 -07:00
Erwin Coumans
04cd9e18d6 add [] in error message of texture loading, to show leading/trailing spaces 2016-08-01 23:53:38 -07:00
Erwin Coumans
a608f9bfdd fix trailing space issue in tinyobjloader/mtl files. 2016-08-01 23:46:35 -07:00
Erwin Coumans
b759ab8a91 fix overflow visual shape in COLLADA .dae file importer. 2016-08-01 23:45:14 -07:00
erwincoumans
0c0b4be665 Merge pull request #722 from matpalm/fixSetIdentity
fix setidentity bug
2016-07-29 14:50:16 -07:00
Mat Kelcey
80dfec170b fix setidentity bug 2016-07-29 14:43:55 -07:00
erwincoumans
d605897d13 Merge pull request #719 from erwincoumans/master
fix ffmpeg stream to create quicktime compatible videos
2016-07-29 09:07:46 -07:00
erwin coumans
72e329962e fix ffmpeg mp4 generation under Windows as well.
remove static variables, make them local, to avoid multithreading issues.
2016-07-28 18:06:03 -07:00
erwincoumans
bfca157dd8 Merge pull request #721 from matpalm/charsafterendif
fix warning: extra tokens at end of #endif directive
2016-07-28 17:17:03 -07:00
Mat Kelcey
a7a9182953 fix warning: extra tokens at end of #endif directive 2016-07-28 16:47:05 -07:00
erwincoumans
f38d3c5b69 Merge pull request #720 from MiCroN3000/character_controller_fixes
Fix kinematic character controller
2016-07-28 13:23:41 -07:00
MiCroN3000
626a913866 The kinematic character controller with various fixes and a few new features like, being able to set any vector for gravity/up, jumping in a certain direction, possibility to use collision masks, angular & linear velocity, angular & linear damping. 2016-07-28 20:15:38 +02:00
Erwin Coumans
daf91de778 fix ffmpeg stream to create quicktime compatible videos 2016-07-27 09:11:08 -07:00
erwincoumans
9451923dbd Merge pull request #717 from matpalm/pyJointMotorControlArgs
update pybullet_setJointMotorControl with seperate args for targetPosition, targetVelocity, kp and kd
2016-07-26 16:18:28 -07:00
erwincoumans
745743ac53 Merge pull request #718 from erwincoumans/master
fix screen width/height issue on Intel/Linux
2016-07-26 16:17:48 -07:00
Mat Kelcey
b4cfee8745 set dft for kd to be 1.0. note: this is only applicable to CONTROL_MODE_VELOCITY 2016-07-26 16:16:18 -07:00
Erwin Coumans (Google)
98c6181ba8 fix screen width/height issue on Intel/Linux
add command-line option to set png_skip_frames when taking screenshot series
2016-07-26 15:36:21 -07:00
Mat Kelcey
4b75c5d9d0 add another combo of args to allow kd to be configured in the CONTROL_MODE_VELOCITY case 2016-07-26 11:36:34 -07:00
Mat Kelcey
b221d2ad18 add targetPosition, targetValue, kp & kd to pybullet_setJointMotorControl 2016-07-26 11:09:12 -07:00
Erwin Coumans
ab86b66e92 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-07-25 17:22:14 -07:00
erwincoumans
a6e5c6a273 Merge pull request #716 from erwincoumans/master
Add robotics learning add GripperGraspExample
2016-07-25 16:01:15 -07:00
Erwin Coumans
8270096fad add GripperGraspExample, separate from R2D2GraspExample 2016-07-25 12:30:47 -07:00
Erwin Coumans
6b0ceace7f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-07-25 11:49:56 -07:00
Erwin Coumans
a6216f4f24 add robotics learning grasp contact example
add wsg50 gripper with modified r2d2 gripper tip
expose a fudge factor to scale inertia, to make grasping more stable
(until we have better grasping contact model/implementation)
2016-07-25 11:48:44 -07:00
erwincoumans
299243d49b Merge pull request #715 from erwincoumans/master
Add inverse kinematics example with implementations by Sam Buss.
2016-07-25 00:02:50 -07:00
Erwin Coumans
53fa57bdc4 make IK compile on Mac OSX 2016-07-24 23:50:18 -07:00
erwin coumans
75e86051c2 Add inverse kinematics example with implementations by Sam Buss.
Uses Kuka IIWA model description and 4 methods:
Selectively Damped Least Squares,Damped Least Squares,
Jacobi Transpose, Jacobi Pseudo Inverse
Tweak some PD values in Inverse Dynamics example and Robot example.
2016-07-24 22:22:42 -07:00
erwincoumans
a285a72c62 Merge pull request #704 from hujiajie/w4373
[WIP] Suppress compiler warnings.
2016-07-21 17:03:28 -07:00
erwincoumans
e55628c7ac Merge pull request #708 from matpalm/paramNameFix
GetJointInfo used linkIndex param, switched to jointIndex for naming consistency
2016-07-21 17:02:55 -07:00
erwincoumans
d26ef6cee1 Merge pull request #709 from erwincoumans/master
fix one more multi-threading issue
2016-07-21 17:02:13 -07:00
Erwin Coumans
77b9e1a3e2 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-07-20 15:46:25 -07:00
erwincoumans
e88de13cc6 fix Parse joint dynamics in SDF 2016-07-20 15:41:58 -07:00
Erwin Coumans
d3a94248d4 fix one more multi-threading issue 2016-07-20 12:48:01 -07:00
Mat Kelcey
51ec707230 fix GetJointInfo to use a param called jointIndex (not linkIndex) for naming consistency 2016-07-20 11:01:02 -07:00
erwincoumans
2278385802 Merge pull request #707 from matpalm/loadErrorMsgTypo
fix error msg when loading sdfs
2016-07-20 10:50:31 -07:00
erwincoumans
628d029e30 Merge pull request #706 from erwincoumans/master
Improve OpenVR support, fix some multi-threading issue (disable CProfileManager singleton), fix/remove old API
2016-07-20 10:31:11 -07:00
Mat Kelcey
9369f9b764 fix error msg when loading sdfs 2016-07-20 10:24:34 -07:00
erwin coumans
81af5db2da Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-07-19 15:56:34 -07:00
erwin coumans
25a1714754 disable CProfileManager, might reduce some multi-threading conflicts 2016-07-19 15:55:52 -07:00
Erwin Coumans
0ae252fa35 fix issue, use bodyUniqueId/b3JointControlCommandInit2 2016-07-19 15:53:16 -07:00
erwin coumans
2302709e2d OpenVR support: track multiple controllers and buttons 2016-07-18 23:13:46 -07:00
erwincoumans
73ac7c89c6 Merge pull request #703 from erwincoumans/master
OpenVR controller can pick/drag objects
2016-07-18 11:46:53 -07:00
hujiajie
c9c837cc67 [WIP] Suppress compiler warnings.
Fix Visual Studio warning C4373: previous versions of the compiler did
not override when parameters only differed by const/volatile qualifiers.
2016-07-18 23:09:44 +08:00
erwin coumans
c28cd03fbd OpenVR controller can pick/drag objects. Instructions, Windows only:
Compile using premake+visual studio, and compile App_SharedMemoryPhysics_VR
Compile pybullet using cmake using cmake -DBUILD_PYBULLET=OFF -DCMAKE_BUILD_TYPE=Release ..
Create a symbolic link from c:\python\dlls\pybullet.pyd to C:\develop\bullet3\cmp\lib\Release\pybullet.dll
App_SharedMemoryPhysics_VR
Run Python. Here are some Python lines to get going:
import pybullet as p
p.connect(p.SHARED_MEMORY)
p.loadURDF("cube.urdf")
p.setGravity(0,0,-10)
p.setRealTimeSimulation(1)

Allow real-time simulation in physics server, add pybullet command setRealTimeSimulation to control it
Mesh decimation (reduce number of triangles/vertices) using a Blender modifier for Kuka IIWA and Husky
Disabled the 'glFlush' commands in GLInstancingRenderer.
Add VR controller methods to examples\CommonInterfaces\CommonExampleInterface.h
Use the ANSI version in Windows file/string operations instead of unicode, hope this doesn't break builds.
2016-07-17 23:50:11 -07:00
erwin coumans
e1e76c19a3 Merge remote-tracking branch 'bp/master' 2016-07-17 21:29:17 -07:00