Commit Graph
100 Commits
Author SHA1 Message Date
yunfeibai 6b97e1e604 Expose API to set projective texture instead of using global. 2018-03-20 21:28:47 -07:00
yunfeibai e42a934e16 Fix compiling error. 2018-03-19 10:23:17 -07:00
yunfeibai 37696dd87e Add Bullet C API and pybullet API to set projective texture matrices. 2018-03-18 18:45:54 -07:00
yunfeibai fd7aa8d0e1 Expose using projective texture as a flag in pybullet getCameraImage API. 2018-03-18 17:01:23 -07:00
yunfeibai 5494aa72fa Set the perspective projection for projective texture mapping. Change the demo to two bears with the same view projection matrix for the camera and the projector. 2018-02-20 18:32:09 -08:00
yunfeibai ef0ae4935b Minor change. 2018-02-15 18:37:23 -08:00
yunfeibai fb6907aa1b Merge remote-tracking branch 'upstream/master' 2018-02-15 18:19:29 -08:00
yunfeibai 36dcabbaf5 Merge remote-tracking branch 'upstream/master' 2018-02-15 14:31:34 -08:00
yunfeibai cf4a0a3503 Add improvement/fix in SortableTransparentInstance back. 2018-02-15 13:19:41 -08:00
yunfeibai 7dbc5626fb Add the shader files. 2018-02-12 18:19:05 -08:00
yunfeibai 2947cd54ce Add shader for projective texture. 2018-02-11 21:29:02 -08:00
yunfeibai 08548e1ef0 Add example for projective texture. 2018-02-11 13:50:45 -08:00
YunfeiBai de3b8bf3c9 Merge branch 'master' into master 2018-01-08 18:13:03 -08:00
yunfeibai 0e0d3da2b5 Add python binding and a pybullet example for loading softbody from obj. 2018-01-08 18:10:28 -08:00
yunfeibai d3bc98e245 Add filename as an argument in the softbody loading function. 2018-01-07 19:56:46 -08:00
yunfeibai d077bdec07 Change the API names for loading softbody. 2018-01-07 19:24:37 -08:00
yunfeibai e3e9546960 Load the deformable object through obj file. Modify the demo for two way coupling between multibody and softbody. 2018-01-07 19:06:09 -08:00
yunfeibai b67bccc575 Add inverse kinematics example for pole, which has a prismatic joint. 2017-10-19 14:30:37 -07:00
yunfeibai 39bdd00ce5 Add pole urdf. 2017-10-19 14:29:43 -07:00
yunfeibai dda1b05f4a Expose IK solver options including DLS and SDLS. 2017-10-19 14:00:53 -07:00
yunfeibai 55b60e90f7 Modify inverse kinematics to also support robot model with fixed joint. 2017-10-09 18:28:52 -07:00
yunfeibai 54eada7579 Fix memory leak. 2017-09-27 16:42:29 -07:00
yunfeibai 85be3b43dd Merge remote-tracking branch 'upstream/master' 2017-09-27 15:20:11 -07:00
yunfeibai 113e103bc2 Modify the joint damping input check, and output error message when it doesn't pass the size check. Modify the kuka grasping example accordingly. Setting joint damping in this example was a no-op before. 2017-09-27 15:18:08 -07:00
yunfeibai adcece7927 Adjust the IK setup to address the inverse kinematics issues mentioned in #1249. 2017-09-27 14:14:57 -07:00
yunfeibai cfc7917586 Add init function and module for pybullet with EGL. 2017-07-18 13:52:29 -07:00
yunfeibai 037043467a Bug fix. Only return friction coefficient when there is a valid link collider. 2017-06-08 18:59:11 -07:00
yunfeibai 708a430e30 comment out btThreadsAreRunning which does not build. 2017-06-02 18:32:39 -07:00
yunfeibai bfcbb339cf Merge remote-tracking branch 'upstream/master' 2017-06-02 18:26:04 -07:00
yunfeibai 0a29c8d9af Get debug visualizer camera yaw, pitch, dist, and target. 2017-06-02 18:24:51 -07:00
yunfeibai e2a9fc33dc Remove debug code. 2017-06-02 17:40:50 -07:00
yunfeibai 3506603d60 Test conversion from view matrix to yaw pitch roll. 2017-06-02 16:56:05 -07:00
yunfeibai f350a506a6 Enable rgba color update for TinyRender. 2017-06-01 23:32:26 -07:00
yunfeibai e97bb9d494 Add utility function to convert view matrix to camera yaw pitch roll. 2017-06-01 21:44:02 -07:00
yunfeibai e6d1a8cf97 Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
yunfeibai dacdcb0508 Add the pybullet example. 2017-05-22 22:26:57 -07:00
yunfeibai d383799d97 Merge remote-tracking branch 'upstream/master' 2017-05-22 22:23:55 -07:00
yunfeibai 3eb974f66f Add kuka grasping block playback. 2017-05-22 22:23:01 -07:00
yunfeibai c9aad0b6b0 format change 2017-05-10 16:15:13 -07:00
yunfeibai 719dba5cd1 keep the original dumpLog, and create a dumpVrLog 2017-05-10 16:12:45 -07:00
yunfeibai c3e3e1e983 modify vr button log parse example 2017-05-10 15:33:58 -07:00
yunfeibai cfb8316297 Add an example to decode the packed button events from vr log. 2017-05-10 15:07:49 -07:00
yunfeibai c938e42a19 Optimize tinyrender by precompute matrix multiplication in vertex shader. 2017-05-09 14:11:01 -07:00
yunfeibai 28de699e70 Add back face culling based on world space coordinates. 2017-05-09 13:49:13 -07:00
yunfeibai a587d4fec4 Use "change" instead of "reset" for changing dynamics info. 2017-05-09 10:44:33 -07:00
yunfeibai 98654a0cb4 Change dynamic to dynamics in dynamics info. 2017-05-09 10:31:28 -07:00
yunfeibai 92de4ecd31 Add pybullet example to get dynamic info. 2017-05-07 22:41:05 -07:00
yunfeibai 5fe4c6bb5b Add API to get dynamic info. 2017-05-07 22:21:38 -07:00
yunfeibai e363e12ea4 Add default specular when there is not specular map. Add example for adjusting specular coefficient. 2017-05-07 21:09:08 -07:00
yunfeibai 939d6ead32 Add API to reset lateral friction coefficient. 2017-05-03 21:47:53 -07:00
yunfeibai 1841a41f2a Add pybullet example for resetting dynamics. 2017-05-03 21:30:42 -07:00
yunfeibai c7e9a31898 Add API to get user constraint id. 2017-05-03 18:25:25 -07:00
yunfeibai 4da2c076a7 Add API to reset mass. 2017-05-01 22:18:54 -07:00
yunfeibai 56f9c38226 Use float when clipping the shadow map index, because the index before clipping can be out of the range for int. 2017-04-25 18:28:56 -07:00
yunfeibai a7068bb57a Modify 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. 2017-04-17 16:54:45 -07:00
yunfeibai fedf718d9e minor fix for pybullet comment. 2017-04-04 13:45:49 -07:00
yunfeibai b168f53ed9 Rename body index to body unique id. 2017-04-04 10:38:25 -07:00
yunfeibai 1e91e78469 Add pybullet API for logging contacts. 2017-04-02 16:03:20 -07:00
yunfeibai 0d83667817 Add C API to log contact points. 2017-04-02 15:45:48 -07:00
yunfeibai 7c7d831767 Add contact point logger. 2017-04-02 15:09:40 -07:00
yunfeibai f062847038 Replace spaces with tabs. 2017-03-29 15:37:33 -07:00
yunfeibai 66a8685816 Merge remote-tracking branch 'upstream/master' 2017-03-29 15:06:15 -07:00
yunfeibai 64573c38e4 Remove getBodyName API. 2017-03-29 15:03:29 -07:00
yunfeibai de3f91b64e Get body name from getBodyInfo. 2017-03-29 14:56:05 -07:00
yunfeibai 0a552c3ba1 Merge remote-tracking branch 'upstream/master' 2017-03-23 13:55:44 -07:00
yunfeibai d717b1db84 Add the API to get the body name and pybullet example call. 2017-03-23 13:54:44 -07:00
yunfeibai 50f0cfca9e Add body name when loading urdf. 2017-03-23 10:16:39 -07:00
yunfeibai 753f1d3d2f Add lateral and spinning friction coefficients to gripper sdf model. 2017-03-20 10:16:15 -07:00
yunfeibai 6695268fba Fix the issue with indentation in pr2 setup. 2017-03-20 09:52:24 -07:00
yunfeibai 3ad49ae5eb Set logging unique id at initialization. This fixed a bug that the second log couldn't be stopped properly. 2017-03-07 11:52:26 -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
yunfeibai a33dcdb63d Modify logging and playback to handle fixed joint. 2017-03-01 23:37:01 -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
yunfeibai 86f0067266 A bug fix for logging the orientation of the base of the object. 2017-02-22 13:30:28 -08:00
yunfeibai e12981fd45 Enable logging a specified list of objects for generic robot logging. 2017-02-20 12:17:12 -08:00
yunfeibai a3c1fec171 Add logging for generic robot and an example of logging state of kuka and cubes. 2017-02-17 17:41:57 -08:00
yunfeibai ce69f27f32 Modify the depth buffer value in TinyRenderer to be consistent as in OpenGL. 2017-02-08 11:34:38 -08:00
yunfeibai 8034a6f7fc Merge remote-tracking branch 'upstream/master' 2017-02-07 17:21:14 -08:00
yunfeibai 151bc8e12c Add depth image when using hardware renderer. 2017-02-07 17:19:48 -08:00
yunfeibai c92fd6120d EGL OpenGL window. 2017-02-06 16:22:17 -08:00
yunfeibai be77fb269f Add joint damping in pybullet IK example. 2017-02-03 16:36:20 -08:00
yunfeibai df07f2aaaa minor fix 2017-02-03 14:44:25 -08:00
yunfeibai abbd3ad884 minor fix. 2017-02-03 12:46:49 -08:00
yunfeibai 3442b6524a Merge remote-tracking branch 'upstream/master' 2017-02-03 12:32:08 -08:00
yunfeibai ac5a8aa2d6 Set joint damping in pybullet. 2017-02-03 12:03:07 -08:00
yunfeibai ce9378f819 Add shared memory API and RobotSim API for setting joint damping in IK. 2017-02-03 11:08:44 -08:00
yunfeibai 0022d0dafb Modify damped least square IK formulation. Test setting joint damping coefficients for IK. 2017-01-31 22:58:37 -08:00
yunfeibai 4af7ee3b2e Fix a bug when rendering texture. 2016-12-09 17:17:24 -08:00
yunfeibai 388cba152e Fix error in integration test. 2016-12-07 11:41:55 -08:00
yunfeibai 9c4222ea9e Modify shader so that the color of the light and the shadow don't affect the ambient component. 2016-12-07 11:33:26 -08:00
yunfeibai 9cd27b8456 Add pybullet API for changing ambient, diffuse, and specular coefficients. 2016-12-06 15:38:09 -08:00
yunfeibai c253c750b9 Expose ambient, diffuse and specular coefficient of the light. 2016-12-06 15:21:35 -08:00
yunfeibai 08b449f149 Adjust magic number to prevent z-fighting. 2016-12-06 13:36:41 -08:00
yunfeibai bf83c77dab Merge remote-tracking branch 'upstream/master' 2016-12-01 16:48:22 -08:00
yunfeibai a88272de1b Restore the old constructor for TinyRenderObjectData for backward compatibility. 2016-12-01 16:47:11 -08:00
yunfeibai e8ff969a6f Merge remote-tracking branch 'upstream/master' 2016-11-29 14:17:38 -08:00
yunfeibai 0cb2b21b5f Add pybullet API for shadow. 2016-11-29 14:10:07 -08:00
yunfeibai b40c9cde96 Add torus shadow render example. 2016-11-29 13:50:49 -08:00