Commit Graph

4805 Commits

Author SHA1 Message Date
erwincoumans
63dc57c7e6 add pybullet file to track VR controller attached to some robot (such as minitaur)
press button to toggle tracking, other button to reset orientation of controller, relative to robot.
2017-03-07 08:48:23 -08:00
erwincoumans
18fb738f80 Merge pull request #992 from taylor001/dev
Fix warning when compiling with -Dundef on MinGW
2017-03-07 07:37:39 -08:00
erwincoumans
c1d4651eb9 Merge pull request #994 from erwincoumans/master
typo (thanks Avik for the report!)
2017-03-07 07:36:52 -08:00
erwincoumans
98e7519134 Update b3RobotSimulatorClientAPI.cpp 2017-03-06 18:54:52 -08:00
erwincoumans
b12ccd92c8 typo (thanks Avik for the report!) 2017-03-06 18:52:52 -08:00
Daniele Bartolini
af284122a3 Fix warning when compiling with -Dundef on MinGW 2017-03-06 19:27:21 +01:00
erwincoumans
9139151b72 Merge pull request #991 from erwincoumans/master
fix quadruped.py, don't use 'realtime' and set timeout (in case conne…
2017-03-05 22:41:39 -08:00
Erwin Coumans
f81211f3b0 fix quadruped.py, don't use 'realtime' and set timeout (in case connection to server is lost) to few seconds 2017-03-05 22:40:05 -08:00
erwincoumans
0759ba1a22 Merge pull request #990 from erwincoumans/master
improved minitaur.urdf file, see https://youtu.be/lv7lybtOzeo for a preview.
2017-03-05 22:23:23 -08:00
erwincoumans
00361afea5 allow user to specify the maximum number of dofs to log in GenericRobotStateLogger (default = 12)
add minitaur quadruped playback of minitaur log files (real robot and simulated create the same log files)
add improved minitaur.urdf file, see https://youtu.be/lv7lybtOzeo for a preview.
2017-03-05 21:49:20 -08:00
erwincoumans
a7ad6c2860 Merge remote-tracking branch 'bp/master' 2017-03-04 15:31:02 -08:00
erwincoumans
c7579d7b82 fix quadruped, allow user to pick the maximum number of dofs to log 2017-03-04 15:30:57 -08:00
erwincoumans
2c081c767c Merge pull request #988 from YunfeiBai/master
Log time stamp and set renderer in pybullet.
2017-03-04 15:27:00 -08:00
yunfeibai
e0c74a46ac Set renderer in pybullet. 2017-03-04 13:31:30 -08:00
yunfeibai
6e3cd26f11 Log time stamp and step count. 2017-03-04 13:19:43 -08:00
erwincoumans
44b140dd38 disable the gMaxNumCmdPer1ms experiment by default (-1)
fix minitaur_evaluate.py script, quadruped.py
2017-03-04 12:59:21 -08:00
erwincoumans
d13969854f Merge pull request #987 from pps83/master
remove `using namespace ConvexDecomposition` from library header file
2017-03-04 05:26:49 -08:00
Pavel
13669a4331 remove unnecessary using namespace std from b3CommandLineArgs.h 2017-03-04 03:52:50 -08:00
Pavel
84fc9b5a98 remove using namespace ConvexDecomposition from library header file 2017-03-04 03:42:17 -08:00
erwincoumans
995a686eaf Merge pull request #986 from erwincoumans/master
fix uninitialized value in new btMatrix3x3::diagonalize
2017-03-03 16:03:02 -08:00
Erwin Coumans
dcc4c0bda8 fix uninitialized value in new btMatrix3x3::diagonalize 2017-03-03 16:02:12 -08:00
erwincoumans
ea4fb7f322 Merge pull request #985 from erwincoumans/master
fix body name in GUI more
2017-03-03 15:03:28 -08:00
Erwin Coumans
7cb5898db6 fix body name in GUI more
expose getBodyInfo to b3RobotSimulatorClientAPI
2017-03-03 11:33:20 -08:00
erwincoumans
8f3ba88754 Merge pull request #983 from erwincoumans/master
update pybullet quickstart guide from
2017-03-02 13:28:05 -08:00
Erwin Coumans
3d43ab1bad update pybullet quickstart guide from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit
2017-03-02 13:26:12 -08:00
erwincoumans
211d292ea2 Merge pull request #982 from erwincoumans/master
create premake/cmake file for Bullet/Extras/obj2sdf
2017-03-02 12:45:13 -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