Commit Graph

77 Commits

Author SHA1 Message Date
Erwin Coumans
663c7ddc54 more TCP remote fixes 2020-03-20 21:12:45 -07:00
Marcel Smit
3b0f5812c9 NoGL: double to btScalar. 2020-02-14 11:30:45 +01:00
Erwin Coumans
e286fbd9f2 fixes for RemoteGUIHelper 2019-06-15 10:30:48 -07:00
erwincoumans
0af0f193ee reduce size of SharedMemoryStatus by moving state details into shared memory streaming block. 2019-03-06 23:27:59 -08:00
Cloud Wu
8ff4b5187a fix mingw build 2018-09-27 11:48:12 +08:00
erwincoumans
ab8f16961e Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
2018-09-23 14:17:31 -07:00
Erwin Coumans
51f9a6fd0d make grpc work on Mac OSX with premake 2018-09-04 14:49:12 -07:00
erwincoumans
9e2f6c7935 more GRPC work 2018-09-03 23:13:15 -07:00
Erwin Coumans
b94df12081 add missing pthread link in App_HelloBulletRobotics 2018-06-16 10:20:43 -07:00
erwincoumans
3eebcd40ca exposed a few more methods in the C++ b3RobotSimulatorClientAPI (_NoDirect base class) 2018-06-09 19:40:12 -07:00
erwincoumans
046a86cd84 add premake4.lua build for BulletRobotics target, C++ API, similar to PyBullet. Use BulletRobotics target for App_HelloBulletRobotics (without GUI) and App_RobotSimulator 2018-06-08 19:14:03 -07:00
Erwin Coumans
1bcb54dc29 remove some warnings 2018-06-06 16:10:20 -07:00
erwincoumans
b6f5cb4c34 enable pdControlPlugin by default (requires pdControlPlugin.cpp and b3RobotSimulatorClientAPI_NoDirect.cpp)
add pdControl.py example, make pdControlPlugin functional
reduce memory usage
fix examples/pybullet/gym/pybullet_data/random_urdfs/948/948.urdf, fixes issue #1704
2018-06-05 15:59:01 -07:00
Erwin Coumans
7bd84740d7 PyBullet / BulletRobotics: prepare for pdControlPlugin and collisionFilterPlugin
Split examples/SharedMemory/b3RobotSimulatorClientAPI_NoGUI.* and move to examples/SharedMemory/b3RobotSimulatorClientAPI_NoGUI.cpp and examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.cpp
2018-06-05 11:41:41 +10:00
erwincoumans
309a07c21b
Merge branch 'master' into master 2018-05-31 18:05:50 -07:00
Erwin Coumans
378de87286 Merge remote-tracking branch 'bp/master' 2018-05-31 18:03:56 -07:00
Erwin Coumans
93a51e19d9 fix different arg name in header versus cpp 2018-05-31 17:58:12 -07:00
donghokang
325ccad258 getDynamicsInfo function now works. Changed to call b3GetDynamicsInfo in getDynamicsInfo. 2018-05-29 16:41:37 +02:00
donghokang
6bd7a52bf8 solverResidualThreshold now can be set. 2018-05-29 16:25:28 +02:00
donghokang
a3e4582bef getCollisionShapeData and getVisualShapeData were added to RobotSimulatorClinetAPI_NoGUI. b3RobotSimulatorJointMotorArrayArgs initialization bug fix. 2018-05-29 16:23:17 +02:00
Erwin Coumans
dcc9c4d0d9 fix HelloBulletRobotics example from b3Vector3 -> btVector3 2018-05-27 10:55:53 +10:00
Erwin Coumans
57b3e0d221 Move from b3Vector3 to btVector3 to support double precision in examples/RobotSimulator/b3RobotSimulatorClientAPI_NoGUI API. 2018-05-27 10:42:33 +10:00
Erwin Coumans
efe9161670 fix cmake build 2018-05-26 08:46:12 +10:00
Erwin Coumans
ff4d0b1777 add HelloBulletRobotics C++ example with similar API to PyBullet
Add ANYmal quadruped robot URDF to pybullet_data
2018-05-24 15:48:45 +10:00
erwincoumans
9c77e07494 upgrade from tinyxml to tinyxml2 2018-04-12 00:09:44 -07:00
erwincoumans
90b6befe3d add missing implementation of b3RobotSimulatorClientAPI_NoGUI::getCameraImage
Fixes Issue 1602
2018-03-14 17:33:51 -07:00
Erwin Coumans
b0984de046 preparation to replace glew by glad 2018-02-20 19:44:02 -08:00
Erwin Coumans
be5e58772e fix include 2018-02-06 11:52:45 -08:00
erwincoumans
b692ec87f7 fix #3 2018-02-02 20:22:53 -08:00
erwincoumans
f119cff516 fix #2 for pthread/dl 2018-02-02 19:38:39 -08:00
erwincoumans
64a505ec19 add pthread/DL to App_RobotSimulator_NoGUI for Linux (not Win32/Apple) 2018-02-02 19:12:02 -08:00
erwincoumans
df0305462d refactor b3RobotSimulatorClientAPI into a main part without GUI dependencies (no OpenGL, gwen, glew etc)
so that App_RobotSimulator_NoGUI can link against BulletRobotics and App_RobotSimulator links against BulletRobotics and some extra files.
2018-02-02 18:33:29 -08:00
erwincoumans
b30401c1f7 Add new methods for b3RobotSimulatorClientAPI, thanks to John F. Canny for the contribution! 2018-02-02 16:19:53 -08:00
erwincoumans
329a1f5a74 PyBullet: move TinyRenderer into a plugin, default statically loaded. You can also dynamically load a render plugin, as shown in renderPlugin.py example. premake has a way to compile the tinyRendererPlugin. 2018-01-17 12:48:48 -08:00
Erwin Coumans
164d3e62c3 remove testing getToeForces 2018-01-09 18:13:34 -08:00
erwincoumans
616d3358bd update MinitaurSetup.cpp/h to allow switching between different minitaurs. add getToeForces, thanks to Avik (requires 8 toes!) 2018-01-09 17:38:51 -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
Erwin Coumans
c556ad651d expose pybullet 'enableConeFriction' to switch between pyramid and cone friction model. 2017-12-01 10:07:07 -08:00
Erwin Coumans
344005a8f0 catch invalid mass/inertia instead of division by zero/nan. also, avoid indexing <0 2017-11-07 19:25:14 -08:00
erwincoumans
6a9300809d premake4 add option --enable_static_vr_plugin to statically link the VR sync plugin
fix texture caching from previous commit (what happened there?)
2017-10-25 10:00:45 -07:00
Erwin Coumans
70364445b8 Merge remote-tracking branch 'bp/master' 2017-09-24 09:49:53 -07:00
Jeffrey Bingham
1727e47beb [pybullet] Add calculateJacobian.
* Add the calculateJacobian method to the pybullet API.
* Adjust the shared memory interface to handle fixed/floating bases
  in the calculateJacobian method.
* Fix a few comments.
2017-09-23 19:58:59 -07:00
Erwin Coumans
3783dccaa3 create a C/C++ plugin system for pybullet / C-API. 2017-09-22 19:17:57 -07:00
Erwin Coumans
a66576f034 revert API to be backward compatible, add b3CreateInProcessPhysicsServerAndConnectSharedMemory
same for BulletURDFImporter constructor
2017-08-16 12:33:25 -07:00
erwincoumans
9d0f875c5b fix compile issues due to API change (additional argument) 2017-08-15 09:34:44 -07:00
erwincoumans
83f910711a Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API
!!! Make sure to add examples/SharedMemory/PhysicsServerExampleBullet2.cpp to your build system, if needed
Bump up pybullet to version 1.0.9
2017-05-30 19:54:55 -07:00
Erwin Coumans
b19c209dbc The softbody/bunny test is very experimental and shouldn't be enabled in the example browser, unless USE_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD is defined. I fixed a few bugs that cause the hang. 2017-05-21 06:50:53 -07:00
Erwin Coumans
8b90885cf6 more compile fixes 2017-05-13 13:58:05 -07:00
Erwin Coumans
e954374e56 build system fixes 2017-05-13 13:50:35 -07:00