Commit Graph
100 Commits
Author SHA1 Message Date
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
yunfeibai 1fbd78ece5 Add shared memory API for setting shadow and light source distance. 2016-11-29 13:19:35 -08:00
yunfeibai 8aa90a7427 Refactor shader and render pipeline code. 2016-11-29 12:53:50 -08:00
yunfeibai 86c5dfe8f4 Fix the light color issue in box rendering example. 2016-11-29 11:43:52 -08:00
yunfeibai 5fe36ca200 Clean global variables. 2016-11-29 11:11:41 -08:00
yunfeibai d48b03f23b Use the barycentric coordinate to get the coordinate in shadow buffer. 2016-11-28 10:13:09 -08:00
yunfeibai 0bc4e0a4c3 Render multiple objects with shadow. 2016-11-27 16:53:15 -08:00
yunfeibai 583dc1cac7 Add torus. 2016-11-27 15:34:01 -08:00
yunfeibai 529274a3f4 Render shadow of torus with shadow buffer and index from triangle order. 2016-11-27 15:32:55 -08:00
yunfeibai 29809a4471 Render depth buffer. 2016-11-23 13:00:26 -08:00
yunfeibai 24b3e137a6 Render shadow with depth from light. 2016-11-21 10:21:14 -08:00
yunfeibai 5be4409a1a Render shadow buffer. 2016-11-21 09:13:20 -08:00
yunfeibai be5b8a3d7b Set light color in pybullet. 2016-11-20 13:14:18 -08:00
yunfeibai 93ba8af023 Add shared memory API to change light color. 2016-11-20 12:52:12 -08:00
yunfeibai 7bd585fa87 Fix memory leak in IK. 2016-11-04 10:47:07 -07:00
yunfeibai ff2c79e6bc Fix a bug in softbody contact handling. 2016-11-03 12:14:39 -07:00
yunfeibai e8635932cf Merge remote-tracking branch 'upstream/master' 2016-11-03 10:26:52 -07:00
yunfeibai b7482c1142 Add model file for kuka with free base. 2016-11-03 09:54:56 -07:00
yunfeibai 479497997c Add grasp bunny example with multibody gripper. 2016-11-02 14:53:28 -07:00
yunfeibai ab6ce65abe Add contact handling between multibody and softbody. 2016-11-02 13:21:01 -07:00
yunfeibai 295c1b7c88 Modify the setup for grasping bunny example. 2016-11-02 12:49:51 -07:00
yunfeibai 3c37db0804 Add API to set bunny properties. Add example to show coupling between softbody and multibody. 2016-11-01 16:45:10 -07:00
yunfeibai 9d54f0cf8d Grasp soft body with rigid fingers. 2016-11-01 15:46:09 -07:00
yunfeibai 9c00b4d9f4 Add texture reset API to pybullet. 2016-10-21 17:48:06 -07:00
yunfeibai 4847e57069 Add script for pybullet. 2016-10-21 15:54:39 -07:00
yunfeibai 1b312dab3c Remove the temporary test code. 2016-10-21 12:42:42 -07:00