ee55388815Merge pull request #1089 from erwincoumans/master
erwincoumans
2017-05-04 20:32:30 +00:00
7bf125e460reset the m_userConstraintUIDGenerator to 1 after 'resetSimulation'
Erwin Coumans
2017-05-04 13:28:09 -07:00
61999ef789b3ResizablePool: only remove a handle, if it is currently in-use also remove user constraints, if removing a body
Erwin Coumans
2017-05-04 13:14:24 -07:00
fac3d6e3cafix some compile errors after merge
Erwin Coumans
2017-05-04 11:08:59 -07:00
87a24dba84Merge pull request #1091 from YunfeiBai/master
erwincoumans
2017-05-04 17:47:33 +00:00
4602fbba34add missing openvr files to CMakeLists.txt, rename 64bit openvr_api.dll to openvr64pi.dll to avoid name conflicts when using 32 AND 64 bit versions of this dll.
Erwin Coumans
2017-05-04 08:37:46 -07:00
a86f584824more work towards removeBody for C-API/pybullet, work-in-progress.
Erwin Coumans
2017-05-03 21:53:29 -07:00
939d6ead32Add API to reset lateral friction coefficient.
yunfeibai
2017-05-03 21:47:53 -07:00
1841a41f2aAdd pybullet example for resetting dynamics.
yunfeibai
2017-05-03 21:30:42 -07:00
c7e9a31898Add API to get user constraint id.
yunfeibai
2017-05-03 18:25:25 -07:00
152e3da3e4Implementation of virtual void CommonRenderInterface::removeGraphicsInstance(int instanceUid) for GLInstancingRenderer (OpenGL3+) and SimpleOpenGL2Renderer (OpenGL2) Refactored the add/remove object pool in Bullet3Common/b3ResizablePool.h Added CommonRigidBodyBase::deleteRigidBody, also removing its graphics instance.
Erwin Coumans
2017-05-03 17:05:05 -07:00
03742208f1Collider object not necessary
Gregery Barton
2017-05-04 05:22:00 +10:00
6f7601966dfix issue ,don't iterate over [0..numBodyHandles], would fail once we allow 'removeBody'...
Erwin Coumans
2017-05-03 11:23:01 -07:00
2c8f65a2d0move body handles in its own template class, for re-use.
Erwin Coumans
2017-05-03 10:49:04 -07:00
7c439b2b6aMerge pull request #1088 from erwincoumans/master
erwincoumans
2017-05-03 05:50:01 +00:00
eb7cf38293Add option to --useKitchen=1 to VRGloveSimulatorMain
Erwin Coumans
2017-05-02 22:33:42 -07:00
07992fe61dImprove MJCF import, to allow reading of friction parameters, including spinning and rolling friction, with some rudimentary 'default class' support. Tweak VRGloveSimulatorMain to work better with MPL/mpl2.xml hand.
Erwin Coumans
2017-05-02 18:05:36 -07:00
7be746d892Merge pull request #1086 from erwincoumans/master
erwincoumans
2017-05-02 06:10:12 +00:00
74ce6af26cadd commented-out example to enable premake serial/audio
Erwin Coumans
2017-05-01 22:37:45 -07:00
9fef6c1d66Add C++ version VRGloveSimulatorMain example, using the serial library. First run the App_PhysicsServer_SharedMemory_VR_vs2010.exe to run the VR server, then run App_VRGloveHandSimulator. You likely need to tune the minV/maxV for each finger (check values using Arduino IDE Serial Monitor)
Erwin Coumans
2017-05-01 22:35:33 -07:00
4da2c076a7Add API to reset mass.
yunfeibai
2017-05-01 22:18:54 -07:00
305725e52eadd --serial option in premake, added serial library to test vr glove in C++ (pybullet works already fine)
Erwin Coumans
2017-05-01 15:04:00 -07:00
2a2c18e959add more tinyaudio preparation, some test wav files, play sound on collision events. Will expose this in the C-API to pick wav files and collision threshold levels etc. Use the premake --audio flag to try it out. The TinyAudio example in the ExampleBrowser works on Mac, Linux and Windows, you can play notes by pressing keys.
Erwin Coumans
2017-04-29 10:32:30 -07:00
08b35563beMerge pull request #1085 from jietan/pullRequest
erwincoumans
2017-04-28 23:20:01 +00:00
bf5915f44badd a simple DDPG agent and a policy
Jie Tan
2017-04-28 15:24:53 -07:00
93fc04c6c3Merge remote-tracking branch 'bp/master' into pullRequest
Jie Tan
2017-04-28 14:36:56 -07:00
948b2b00feadded a policy trained by DDPG
Jie Tan
2017-04-28 14:34:03 -07:00
c95a1c9c33add soft-clipping of mixed sounds using tanh expose ADSR to TinyAudio API enable envelope when playing wav files
Erwin Coumans
2017-04-28 12:39:51 -07:00
dfc1800065remove the goto's from the source code (came from http://github.com/thestk/stk toolkit) add test wav file
Erwin Coumans
2017-04-27 08:39:57 -07:00
943dd16e78disable keyboard repeat on Windows add some TinyAudio classes to play wav, mostly from Stk (http://github.com/thestk/stk)
Erwin Coumans
2017-04-26 21:31:01 -07:00
fbd1a4ec2cMerge pull request #1075 from devnexen/build_fix_bsd
erwincoumans
2017-04-26 14:43:41 +00:00
09280d6f7bMerge pull request #1084 from erwincoumans/master
erwincoumans
2017-04-26 05:29:38 +00:00
e4ace90980fix some potentially uninitialized variable
Erwin Coumans
2017-04-25 21:37:04 -07:00
2b4f6d7997Merge pull request #1082 from benelot/feature/link-names
erwincoumans
2017-04-26 02:29:04 +00:00
e3a7023ef5Merge pull request #1083 from YunfeiBai/master
erwincoumans
2017-04-26 02:26:39 +00:00
56f9c38226Use float when clipping the shadow map index, because the index before clipping can be out of the range for int.
yunfeibai
2017-04-25 18:28:56 -07:00
55414f5b20Add link name to getJointInfo(...).
Benelot
2017-04-25 23:58:30 +02:00
a159709820Merge pull request #1080 from erwincoumans/master
erwincoumans
2017-04-25 16:41:31 +00:00
771b197131add option to calibrate individual fingers for the vr glove
Erwin Coumans
2017-04-25 09:40:18 -07:00
1dd3a0f9c9Merge pull request #1079 from erwincoumans/master
erwincoumans
2017-04-25 16:10:57 +00:00
d41a2fdfd4change hand.ino/py to match hardware changes (use pullup resistor, connect to gnd, instead of 5V + pull down resistor)
Erwin Coumans
2017-04-24 09:56:27 -07:00
4759e5a590tinyrenderer: disable triangle backface culling (doesn't work well, cull triangles that should be visible) GLInstancingRenderer: allow to set the light position
Erwin Coumans
2017-04-23 07:35:13 -07:00
e8c1602232add vrhand for vive tracker tweak 'saveWorld' feature a bit (mjcf, gui fallback if shared memory server is not available)
Erwin Coumans
2017-04-21 10:28:20 -07:00
73b4c0092cMerge pull request #1076 from YunfeiBai/master
erwincoumans
2017-04-18 01:03:33 +00:00
a7068bb57aModify the link index when computing Jacobian. Add a test for end effector orientation IK. Inverse dynamics Jacobian uses zero-based indexing of bodies, not starting from -1 for base.
yunfeibai
2017-04-17 16:54:45 -07:00
a95f5e06dbforgotten setup.py build part
David Carlier
2017-04-17 19:58:24 +01:00
ee753eef6fMerge pull request #1073 from devnexen/build_fix_bsd
erwincoumans
2017-04-17 18:19:10 +00:00
381eace157Merge pull request #1072 from erwincoumans/master
erwincoumans
2017-04-17 18:15:28 +00:00
874d02d7aaMerge pull request #1070 from erwincoumans/master
erwincoumans
2017-04-12 22:40:06 +00:00
5158c1ae98add python dumpLog.py utility to view log files created using 'startStateLogging' don't enable <CTRL> for hotkeys yet add some more profile markers log objectId and linkIndex as signed int ('i') and not unsigned int 'I' fix issue in startStateLogging: number of parameters was wrong
Erwin Coumans
2017-04-12 15:02:47 -07:00
80e87d5ccbre-create debug drawer after 'resetSimulation', also avoid memory leak after doing so. this fixes wireframe. Also use <CTRL>+hotkey, to avoid conflicts with user-specified keyboard functions.
Erwin Coumans
2017-04-11 16:03:07 -07:00
f17ba3bd8eMerge pull request #1068 from erwincoumans/master
erwincoumans
2017-04-11 19:19:13 +00:00
0a42ad6a88pybullet: add support for Anaconda install on Mac OSX, for pip install pybullet, python setup.py install and cmake. Usage:
Erwin Coumans
2017-04-11 12:17:08 -07:00
93bef00fbaMerge pull request #1067 from erwincoumans/master
erwincoumans
2017-04-10 19:39:06 +00:00
440d445a02also report VR events for HMD and generic tracked devices. Also expose those VR events to pybullet: expose a deviceTypeFilter, that defaults to VR_DEVICE_CONTROLLER
Erwin Coumans
2017-04-07 22:53:36 -07:00