Commit Graph

5049 Commits

Author SHA1 Message Date
Erwin Coumans
4587813a63 Merge remote-tracking branch 'bp/master' 2017-02-09 17:10:47 -08:00
erwincoumans
32b15d7aee Merge pull request #952 from YunfeiBai/master
Add depth image when using hardware renderer.
2017-02-09 15:58:18 -08:00
Jie Tan
509b77054a now minitaur class can output joint angles, velocities and torques. I also extract evaluate functions to a file 2017-02-09 14:43:40 -08:00
Erwin Coumans
0e8bc418d7 add utility for reading and writing of minitaur quadruped robot log files.
Example usage:
const char* fileName = "D:/LOG00053.TXT";
btAlignedObjectArray<MinitaurLogRecord> logRecords;
btAlignedObjectArray<std::string> structNames;
std::string structTypes;
bool verbose = false;
//reading
int val = readMinitaurLogFile(fileName, structNames, structTypes,
logRecords, verbose);

//writing
const char* fileNameOut = "D:/LOG00100.TXT";
FILE* f = createMinitaurLogFile(fileNameOut,structNames,structTypes);
for (int i=0;i<logRecords.size();i++)
{
  appendMinitaurLogData(f, structTypes, logRecords[i]);
}
closeMinitaurLogFile(f);
2017-02-09 09:48:50 -08:00
Jie Tan
4df8b27626 make the motorId corresponds to that of the real minitaur. change the mass of the quadruped.urdf, change the friction of plane.urdf. 2017-02-08 17:26:36 -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
Erwin Coumans
0c464e6848 [pybullet] add example for roll, pitch, yaw 2017-02-08 09:27:51 -08:00
erwincoumans
07ba9f6629 Merge pull request #954 from erwincoumans/master
Attempt to use VERSION string for CMakeLists.txt
2017-02-08 07:42:38 -08:00
Erwin Coumans
04b3e88cde Attempt to use VERSION string for CMakeLists.txt
See Issue 953, https://github.com/bulletphysics/bullet3/issues/953
2017-02-07 19:15:22 -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
erwincoumans
46c7974927 Merge pull request #947 from erwincoumans/master
[pybullet] add some out-of-bounds checks, reduce run-time memory allocations
2017-02-07 12:07:40 -08:00
erwincoumans
9705bb7681 Merge pull request #949 from YunfeiBai/master
EGL OpenGL window.
2017-02-07 08:39:12 -08:00
erwincoumans
61b68edb58 Merge pull request #951 from jietan/pullRequest
add minitaur class and test to the pull request
2017-02-07 08:29:55 -08:00
Erwin Coumans
56b4ac278b pybullet workaround for very slow Mac OSX GUI mode, since OpenGL can only run in main thread, just like the Python interpreter
improve quadruped.py script, to allow 'useRealTime' 0 or 1
2017-02-07 08:08:55 -08:00
erwincoumans
8a85b3b697 Update Utility.cpp
reduce stack size, it conflicts with some in-house build systems/compiler limits.
2017-02-06 17:20:03 -08:00
Jie Tan
692f7680a2 add minitaur class and test to the pull request 2017-02-06 16:27:54 -08:00
yunfeibai
c92fd6120d EGL OpenGL window. 2017-02-06 16:22:17 -08:00
erwincoumans
88fdffba04 pybullet/shared memory API: add some more check for out-of-bounds indices when setting up a command.
avoid many run-time memory allocations in btCompoundCompoundCollisionAlgorithm
2017-02-04 12:32:42 -08:00
erwincoumans
b342f08f86 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-02-03 21:05:40 -08:00
erwincoumans
7e08e960a1 Merge pull request #945 from YunfeiBai/master
Set joint damping in IK.
2017-02-03 17:04:25 -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
erwincoumans
c1eabcf059 Merge pull request #944 from erwincoumans/master
[pybullet] fix type quation->quaternion, fix getVisualShapeData int->float, URDF parser accepts <xx/yy/zz> inertial data.
2017-02-03 09:24:20 -08:00
Erwin Coumans
257b7b89aa update pybullet quickstart guide: add 'colorRGBA' to getVisualShapeData 2017-02-03 08:38:46 -08:00
Erwin Coumans
58f37f85f4 fix type 'getMatrixFromQuaterion -> getMatrixFromQuaternion' (missing n, thanks Jie Tan for the report)
fix type of dimensions, visualframe in pybullet.getVisualShapeData (thanks Michael Ahn for the report)
2017-02-03 08:34:22 -08:00
erwincoumans
ab5a86576f Update CommonRigidBodyMTBase.cpp 2017-02-01 16:04:37 -08:00
erwincoumans
bbf596bce8 Update CommonRigidBodyMTBase.h 2017-02-01 16:03:00 -08:00
erwincoumans
e1cfe94ac9 no special case for <=1 minimumSolverBatchSize 2017-02-01 11:20:36 -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
Erwin Coumans
7df123025f URDF parser: allow inertial element in just ixx, iyy, izz format (non-standard URDF)
tiny_obj_loader: don't crash when/if normals are not specified
2017-01-31 18:09:44 -08:00
erwincoumans
806f30aba5 Merge pull request #941 from erwincoumans/master
pybullet.enableJointForceTorqueSensor, add profile markers for BenchmarkDemo raytest.
2017-01-31 17:37:37 -08:00
Erwin Coumans
d0fa10db63 add spinning_friction to sphere2_rolling_friction.urd 2017-01-31 12:01:10 -08:00
erwincoumans
6ee3b6832c update pybullet_quickstartguide.pdf from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3 2017-01-31 10:33:47 -08:00
erwincoumans
3a42b356e2 Add profile markers for BenchmarkDemo raytest.
Implement pybullet enableJointForceTorqueSensor, add forcetorquesensor.py example.
2017-01-31 10:14:00 -08:00
erwincoumans
2fa3e267fc Merge pull request #940 from erwincoumans/master
fix sphere-triangle for degenerate triangles (zero area/normal), fix 'safeNormalize' (probably should remove it)
2017-01-30 21:26:08 -08:00
erwincoumans
690bd4f265 fix rendering of rays in Benchmark demo when using BT_USE_DOUBLE_PRECISION 2017-01-30 18:51:19 -08:00
erwincoumans
72dd8285e8 fix 'safeNormalize' (probably should remove it)
Fix for Issue 953: cull degenerate triangles
https://github.com/bulletphysics/bullet3/issues/935
Thanks to Oleg Klimov for the report and reproduction case.
2017-01-30 18:12:09 -08:00
erwincoumans
fc59a40127 Merge pull request #905 from lunkhound/pr-sel-solver-type
example browser: add controls for changing the solver type and solver flags
2017-01-30 10:22:31 -08:00
erwincoumans
fc7125081a Merge pull request #938 from erwincoumans/master
Move ChromeTracing in its own file, and add tracing support for VR se…
2017-01-30 10:20:35 -08:00
Lunkhound
f65644f3e0 fix compile error when BT_THREADSAFE not defined 2017-01-29 21:13:24 -08:00
erwincoumans
a877deb4c3 Merge pull request #934 from kkimdev/BT_ID_
Add and use BT_ID_* math functions for idScalar.
2017-01-29 21:10:25 -08:00
erwincoumans
26a34e3cda Move ChromeTracing in its own file, and add tracing support for VR server (App_SharedMemoryPhysics_VR)
Add a bit of extra sleep in PhysicsServer thread, to make rendering smoother.
2017-01-29 20:59:47 -08:00
erwincoumans
12711a0226 Merge pull request #937 from erwincoumans/master
improvements/fixes in pybullet/shmem UDP network handling
2017-01-29 10:24:41 -08:00
erwincoumans
446cb77a5e [UDP] disconnect needs to set m_data->m_isConnected=false 2017-01-28 23:18:26 -08:00
erwincoumans
d0e1ec8c48 add a usleep(0) to improve UDP performance on Windows (busy-loop eats all CPU time, other thread didn't proceed) 2017-01-28 22:46:23 -08:00