Commit Graph

4780 Commits

Author SHA1 Message Date
Erwin Coumans
3d43ab1bad update pybullet quickstart guide from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit
2017-03-02 13:26:12 -08:00
Erwin Coumans
34fc2fb589 create premake/cmake file for Bullet/Extras/obj2sdf
add missing 1.sdf for Bullet/data/kitchens/1.sdf
add support for getting keyboard events (pybullet.getKeyboardEvents and b3RobotSimulatorClientAPI::getKeyboardEvents)
2017-03-02 12:33:22 -08:00
erwincoumans
255b21a776 Merge pull request #979 from erwincoumans/master
fix lack of collision scaling in pybullet URDF/SDF files (only graphi…
2017-03-02 08:18:11 -08:00
erwincoumans
1ba22c7c45 Merge pull request #980 from YunfeiBai/master
Modify logging and playback to handle fixed joint.
2017-03-02 08:17:59 -08:00
yunfeibai
a33dcdb63d Modify logging and playback to handle fixed joint. 2017-03-01 23:37:01 -08:00
Erwin Coumans
6a40c1cca7 pybullet expose resetDebugVisualizerCamera
example: pybullet.resetDebugVisualizerCamera(cameraDistance=3,cameraYaw=30,cameraPitch=52,cameraTargetPosition=[0,0,0])
2017-03-01 15:04:07 -08:00
Erwin Coumans
2f3ba49357 expose some sleep timeout pybullet.setPhysicsEngineParameter(maxNumCmdPer1ms=100) or b3PhysicsParamSetMaxNumCommandsPer1ms,
if more commands than those are processed per millisecond, a 1ms sleep will follow, to avoid other threads being stalled.
2017-03-01 13:48:57 -08:00
Erwin Coumans
ac28f50fa5 vrhand.py first try to connect to SHARED_MEMORY if that fails use GUI fallback 2017-03-01 13:01:02 -08:00
Erwin Coumans
2eb019cdc3 Created Wavefront obj to sdf converter, to make it easier to import complex obj models with many materials. See kitchen for example.
Fix in tinyobj, make sure material is initialized
Add fatihrmutfak kitchen model, for Virtual Reality and some research
2017-03-01 10:06:10 -08:00
Erwin Coumans
89e8e30de6 fix lack of collision scaling in pybullet URDF/SDF files (only graphics meshes supported scaling, collision objects ignored scaling) 2017-02-28 16:30:57 -08:00
erwincoumans
413d31e77e Update README.md 2017-02-27 19:11:24 -08:00
erwincoumans
26a4414bc2 Merge pull request #977 from manmohanbishnoi/master
Update helloworld.tex with tip on proper library link order.
2017-02-26 10:50:24 -08:00
Manmohan Bishnoi
dad2895fed Update helloworld.tex with library link order.
Added a tip on how to properly link BulletPhysics libraries in order.
2017-02-27 00:04:46 +05:30
erwincoumans
e2bdf124a1 Merge pull request #975 from erwincoumans/master
Rewrite 'diagonalize' to use 'extractRotation', should fix Issue 846
///See http://dl.acm.org/citation.cfm?doid=2994258.2994269
tweak Minitaur/RobotSimulator, fix target value from int to double.
2017-02-26 07:01:42 -08:00
Erwin Coumans
0131754173 Add 'extractRotation' based on "A robust method to extract the rotational part of deformations"
///See http://dl.acm.org/citation.cfm?doid=2994258.2994269
Rewrite 'diagonalize' to use 'extractRotation', should fix Issue 846
2017-02-25 16:57:18 -08:00
Erwin Coumans
88aa9e899e tweak Minitaur/RobotSimulator, fix target value from int to double 2017-02-24 21:40:43 -08:00
erwincoumans
77538b04c2 Update PhysicsServerCommandProcessor.cpp 2017-02-24 16:01:18 -08:00
erwincoumans
929eb49029 Merge pull request #974 from erwincoumans/master
expose timeout in pybullet/shared memory API
2017-02-24 15:50:26 -08:00
Erwin Coumans
a4f1e34899 expose timeout in pybullet/shared memory API
add RobotSimulator, a C++ API similar to pybullet. (work-in-progress, only part of API implemeted)
2017-02-24 15:34:11 -08:00
erwincoumans
f15722ffb1 Merge pull request #973 from erwincoumans/master
allow to compile/run 64bit version of VR, co-exist of 64bit and 32bit openvr_api.dll
2017-02-22 17:38:27 -08:00
Erwin Coumans
bb11884f89 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-02-22 15:50:34 -08:00
Erwin Coumans
0b27edf172 allow to compile/run 64bit version of VR lib, workaround for issue that both 32bit and 64bit version is called openvr_api.dll
Now 64bit version is called openvr64pi.dll (patched the 64bit binary library openvr_api.lib)
See also https://github.com/ValveSoftware/openvr/issues/412
2017-02-22 15:50:09 -08:00
erwincoumans
3e1710d48e Merge pull request #972 from YunfeiBai/master
Modify controller constraint in the pybullet vr gripper setup.
2017-02-22 14:40:55 -08:00
yunfeibai
2751b34894 Add maximum joint angle. 2017-02-22 14:01:03 -08:00
yunfeibai
6f2a7220a5 Modify controller constraint in the pybullet vr gripper setup. 2017-02-22 13:52:49 -08:00
erwincoumans
b452689ccf Merge pull request #971 from YunfeiBai/master
A bug fix for logging the orientation of the base of the object.
2017-02-22 13:39:45 -08:00
yunfeibai
86f0067266 A bug fix for logging the orientation of the base of the object. 2017-02-22 13:30:28 -08:00
erwincoumans
ecfae44441 Update README.md 2017-02-22 12:35:24 -08:00
erwincoumans
e991234821 Update README.md 2017-02-22 12:34:02 -08:00
erwincoumans
8fd8d5151f Merge pull request #970 from erwincoumans/master
pybullet, physics-server version check, small cleanup of build scripts, use b3Clock RTC timeout instead of 1024*1024*1024 iterations,
2017-02-22 12:00:59 -08:00
Erwin Coumans (Google)
aff3b13ebd Merge remote-tracking branch 'bp/master' 2017-02-22 10:44:37 -08:00
Erwin Coumans (Google)
e1504eb990 fix Linux premake build 2017-02-22 10:39:37 -08:00
Erwin Coumans
bd30ba30ce Replace large timeout (1024*1024*1024) using real-time clock timeout (10 seconds default)
Change SHARED_MEMORY_MAGIC_NUMBER to make sure server/client are using the same version (shared memory)
add --realtimesimulation to physics server (GUI, VR)
remove --G Xcode from build_cmake_pybullet_double.sh
2017-02-22 09:33:30 -08:00
Erwin Coumans
35b92c43d3 remove some standalone-example from the premake build (re-enable using option --standalone-examples
move PhysicsServer and PhysicsClient into Physics Server-Client in its own ExampleBrowser section (out of Experiments)
2017-02-22 06:13:32 -08:00
Erwin Coumans
7a9c144efc remove 'run' from script name. 2017-02-22 05:40:08 -08:00
Erwin Coumans
bdf08335ee Remove a few build scripts, to focus on the main script with pybullet, double precision enabled by default, in addition VR for MSVC. 2017-02-22 05:38:03 -08:00
erwincoumans
4c5958af1a Merge pull request #969 from erwincoumans/master
allow to enable/disable GUI, shadows, wireframe etc of OpenGL Visualizer from pybullet/shmem
2017-02-22 05:09:08 -08:00
Erwin Coumans
bf5f78f35a decouple some dependency using a callback. 2017-02-21 19:28:49 -08:00
Erwin Coumans
218f883211 make flag/enable required argument
update pybullet quickstart guide PDF from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
2017-02-21 17:53:49 -08:00
Erwin Coumans
926c83f2ab Merge remote-tracking branch 'bp/master' 2017-02-21 17:38:42 -08:00
Erwin Coumans
3988d363b3 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-02-21 17:38:32 -08:00
Erwin Coumans
37890e5a4d allow to enable/disable GUI, shadows, wireframe of OpenGL Visualizer from API
(pybullet.configureDebugVisualizer)
2017-02-21 17:36:54 -08:00
erwincoumans
61f05c7330 Update PhysicsServerCommandProcessor.cpp 2017-02-21 13:28:43 -08:00
erwincoumans
c1d5f2357a Merge pull request #968 from erwincoumans/master
update pybullet quickstart guide
2017-02-21 10:24:59 -08:00
Erwin Coumans
1cd65a324c update pybullet quickstart guide 2017-02-21 10:23:18 -08:00
erwincoumans
29772fc3b4 Merge pull request #965 from jietan/pullRequest
Pull request
2017-02-21 05:10:01 -08:00
erwincoumans
07bd911c36 Merge pull request #966 from erwincoumans/master
add tiny clsocket cross-platform TCP  library, update pybullet PDF doc
2017-02-20 21:17:22 -08:00
erwincoumans
bdcd474777 Merge pull request #967 from YunfeiBai/master
Generic robot state logging
2017-02-20 21:17:00 -08:00
Erwin Coumans
5c74b0a199 add cmake support for TCP / clsocket in pybullet 2017-02-20 20:55:37 -08:00
Erwin Coumans
28146e816f export TCP connection mode to pybullet
made TCP disconnection detection more reliable
2017-02-20 20:34:05 -08:00