Erwin Coumans
55361e262e
fix 6dof sensors for fixed joints (recent bug left fields uninitialized in getJointInfo)
...
add premake build support for Test_PhysicsClientUDP
2017-02-20 13:18:33 -08:00
Erwin Coumans
3e94840340
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-02-19 12:09:12 -08:00
Erwin Coumans
3faab1b019
adjusted clsocket build and test, so there is an EchoServer and QueryDayTime sending a string to the EchoServer.
2017-02-19 12:08:58 -08:00
Erwin Coumans
4faa6613c9
first draft of premake/cmake build files for clsocket (tiny cross-platform TCP socket library)
2017-02-19 11:48:01 -08:00
Erwin Coumans
957266b121
add tiny cross-platform TCP socket library from https://github.com/DFHack/clsocket
...
(todo: hook-up to Bullet cmake/premake build systems, and implement TCP alternative for UDP server)
2017-02-19 10:25:55 -08:00
erwincoumans
45aa392a28
Update PhysicsServerCommandProcessor.cpp
2017-02-17 15:43:38 -08:00
erwincoumans
8af62239b0
Update pybullet.c
2017-02-17 15:15:13 -08:00
Erwin Coumans
cfd35840f0
initial implementation of state logging.
...
see examples/pybullet/logMinitaur.py for example. Other state logging will include general robot states and VR controllers state.
2017-02-17 14:25:53 -08:00
Erwin Coumans
2b27ab2463
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-02-17 10:48:03 -08:00
Erwin Coumans
34c3fca8d5
prepare state logging system (log state of robot, vr controllers after each stepSimulation)
2017-02-17 10:47:55 -08:00
Erwin Coumans
8f546acbe8
disable keyboard toggle in Linux/X11
...
revert num solver iterations to 50 (from 150)
set solver iterations for one gripper grasp to 150
2017-02-16 15:56:42 -08:00
Erwin Coumans
63486a712c
VR video recording, use command-line --mp4=videoname.mp4
...
tune gripper grasp example with tefal pan, 800Newton force.
URDF importer: if using single transform 1 child shape, don't use compound shape.
if renderGUI is false, don't intercept mouse clicks
add manyspheres.py example (performance is pretty bad, will look into it)
[pybullet] expose contactBreakingThreshold
2017-02-16 14:19:09 -08:00
Erwin Coumans
08b83c3cd8
Merge remote-tracking branch 'bp/master'
2017-02-16 13:41:12 -08:00
Erwin Coumans
6db217b36a
remove some sleep delays from PhysicsServerExample physics loop.
2017-02-09 18:27:51 -08:00
Erwin Coumans
4587813a63
Merge remote-tracking branch 'bp/master'
2017-02-09 17:10:47 -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
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
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
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
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
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
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
Lunkhound
f65644f3e0
fix compile error when BT_THREADSAFE not defined
2017-01-29 21:13:24 -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
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