Commit Graph

4726 Commits

Author SHA1 Message Date
Erwin Coumans
5c74b0a199 add cmake support for TCP / clsocket in pybullet 2017-02-20 20:55:37 -08:00
Erwin Coumans
28146e816f export TCP connection mode to pybullet
made TCP disconnection detection more reliable
2017-02-20 20:34:05 -08:00
Erwin Coumans
942015df9d use TCP in main thread, accumulate bytes until size matches. 2017-02-20 18:54:12 -08:00
Erwin Coumans
3d73a9d788 shmem preliminary TCP implementation (not working yet) 2017-02-20 16:46:25 -08:00
Erwin Coumans
bfcdb8c408 add App_PhysicsServerTCP and App_PhysicsServerSharedMemoryBridgeTCP
(can be easier tunneled over SSH)
2017-02-20 14:43:01 -08:00
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
c10dfe6a80 more tcp testing 2017-02-20 09:52:59 -08:00
Erwin Coumans
970de9c4d7 tcp echo/query test setup 2017-02-20 09:34:00 -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
Erwin Coumans
b58950df69 Merge remote-tracking branch 'bp/master' 2017-02-17 22:25:54 -08:00
Erwin Coumans
0154c2d689 update docs/pybullet_quickstartguide.pdf from online version
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA
2017-02-17 17:27:38 -08:00
erwincoumans
45aa392a28 Update PhysicsServerCommandProcessor.cpp 2017-02-17 15:43:38 -08:00
erwincoumans
6784cff23a Merge pull request #964 from erwincoumans/master
initial implementation of state logging
2017-02-17 15:39:46 -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
erwincoumans
835dea5c3f Merge pull request #963 from erwincoumans/master
disable keyboard toggle in Linux/X11, revert num solver iterations to 50 (from 150)
2017-02-16 15:58:23 -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
erwincoumans
904a1b5f05 Merge pull request #962 from erwincoumans/master
VR recording, URDF importer, manyspheres.py etc
2017-02-16 14:47:42 -08:00
Erwin Coumans
65deeee64b add optimized tray/traybox.urdf 2017-02-16 14:29:51 -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
erwincoumans
67b0c89347 Merge pull request #958 from erwincoumans/master
remove some sleep delays from PhysicsServerExample physics loop.
2017-02-12 09:58:45 -08:00
Erwin Coumans
c41ad60c59 Merge remote-tracking branch 'bp/master' 2017-02-12 08:55:24 -08:00
erwincoumans
5d4e71bdb1 Merge pull request #955 from erwincoumans/master
add roll/pitch/yaw example, utility to read/write Minitaur log files, remove 'delay' causing issues with hand.py example
2017-02-09 19:56:10 -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
erwincoumans
32b15d7aee Merge pull request #952 from YunfeiBai/master
Add depth image when using hardware renderer.
2017-02-09 15:58:18 -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
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