Commit Graph
100 Commits
Author SHA1 Message Date
Bart Moyaers 2e2169690c parse fall contact bodies 2019-06-24 15:52:27 +02:00
erwincoumans 681a730e05 Merge pull request #2299 from erwincoumans/master
Tweak Mini-Cheetah
2019-06-19 12:46:14 -07:00
Erwin Coumans 240e839600 Merge remote-tracking branch 'bp/master' 2019-06-19 12:09:04 -07:00
Erwin Coumans d4aac235fc Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-19 12:08:52 -07:00
Erwin Coumans 16542aa740 tweak Mini Cheetah URDF/MTL
use /tmp/timings on Linux/Mac as default location to save profile timings (when you press 'p' in example browser)
fix in Graphics Server Example when rendering is disabled
2019-06-19 12:07:26 -07:00
erwincoumans 9e28737b57 Merge pull request #2298 from erwincoumans/master
configureDebugVisualizer: expose lightPosition, shadowMapResolution (texture resolution) and shadowMapWorldSize
2019-06-19 11:48:25 -07:00
Erwin Coumans ed4515ae17 for the GraphicsServer, expose a sync transform interval: only synchronize the transform once the stepSimulation exceeds this time interval.
(for example, run the simulation at 1kHz but sync the graphics transforms to remove graphics server at 30Hz)
2019-06-19 09:45:29 -07:00
erwincoumans d762bc4e84 Merge pull request #2266 from devnexen/shader_example_build_fix
Fix shader example build / spotted by clang
2019-06-19 09:16:25 -07:00
Erwin Coumans c3b7f39aaf expose shadowMapResolution (texture resolution) and shadowMapWorldSize (size in meters in world space)
expose pybullet.ConfigureOpenGLVisualizerRequest(lightPosition=[x,y,z], shadowMapWorldSize=10.5, shadowMapResolution=16384)
See examples/pybullet/examples/configureDebugVisualizer.py for an example.
This reimplements https://github.com/bulletphysics/bullet3/pull/2295 but without creating a new command/status and explicitly referring to the debug visualizer
(since the 'getCameraImage' also has a lightPosition)
2019-06-19 09:01:16 -07:00
erwincoumans bc9c477edb Merge pull request #2296 from Steven89Liu/urdfparser
fix the issue of converting the double to single.
2019-06-19 07:21:50 -07:00
erwincoumans 0b9c0cebfb Merge pull request #2294 from erwincoumans/master
make pybullet.getMeshData work for softbody
2019-06-18 21:18:56 -07:00
Erwin Coumans 7e76ee0ad7 make pybullet.getMeshData work for softbody 2019-06-17 21:43:38 -07:00
Erwin Coumans 20d9ad5f24 Merge remote-tracking branch 'bp/master' 2019-06-17 20:37:34 -07:00
erwincoumans bfc390abf9 Merge pull request #2293 from fuchuyuan/getMeshData
get mesh data api
2019-06-17 20:37:18 -07:00
Chuyuan Fu 229e87c3c9 get mesh data api
fix compile

fix typo
2019-06-17 19:00:53 -07:00
Erwin Coumans d888c50f15 avoid getting stuck in RemoteGUIHelper when graphics server isn't started first. 2019-06-17 18:30:39 -07:00
erwincoumans 1061b3d816 Update btMprPenetration.h
fix typo
2019-06-17 09:39:25 -07:00
erwincoumans 2d1594cb29 Merge pull request #2287 from erwincoumans/master
fix testlaikago and pd_controller_stable
2019-06-15 12:58:39 -07:00
Erwin Coumans 9d21deb712 use GUI mode in IK example 2019-06-15 12:58:02 -07:00
Erwin Coumans e286fbd9f2 fixes for RemoteGUIHelper 2019-06-15 10:30:48 -07:00
Erwin Coumans ee3680765e fixes for RemoteGUIHelper 2019-06-14 14:34:56 -07:00
Erwin Coumans ced65ce3e3 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-14 08:19:46 -07:00
Erwin Coumans 708f66ac42 add RemoteGUIHelper to communicate between graphics client/server 2019-06-14 08:06:21 -07:00
Erwin Coumans 4318221d6d Merge remote-tracking branch 'bp/master' 2019-06-14 07:51:09 -07:00
erwincoumans dd23cadd73 Merge pull request #2291 from bulletphysics/revert-2221-c_api_refactor_build
Revert "C api refactor build"
2019-06-14 07:50:33 -07:00
erwincoumans e1326adff5 Revert "C api refactor build" 2019-06-14 07:49:24 -07:00
Erwin Coumans 95a79800ec Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-13 23:24:42 -07:00
Erwin Coumans 6160b52fd7 graphicsServer to workaround OpenGL issues on some servers. 2019-06-13 23:24:22 -07:00
Erwin Coumans 8f9fac99bd add kinematic version that also updates the base position/orientation from the base 2019-06-13 13:26:52 -07:00
Erwin Coumans dc9549b2b4 Merge remote-tracking branch 'bp/master' 2019-06-10 16:24:42 -07:00
erwincoumans 5ec8339b6f Merge pull request #2270 from jamoflaw/deadlock-on-exit
Destroy semaphore after join
2019-06-10 19:24:28 -04:00
erwincoumans 9457646737 Merge pull request #2279 from AndreaCatania/patch-3
Fix initialization order
2019-06-10 19:23:49 -04:00
Erwin Coumans 8c796a954c Merge remote-tracking branch 'bp/master' 2019-06-10 16:21:20 -07:00
bla 3e32cf94e7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-06 21:54:47 +00:00
bla 6ab09fe06e fix testlaikago and pd_controller_stable 2019-06-06 21:54:22 +00:00
Andrea Catania 960cadd919 Fix initialization order
This commit is necessary in order to fix the error that we get in godot with the flag: "-Werror=reorder"
2019-06-03 12:54:19 +02:00
erwincoumans 500264ca23 Merge pull request #2276 from erwincoumans/master
add toes to Mini Cheetah
2019-06-02 18:29:29 -04:00
erwincoumans d7c0c9c017 update ExampleBrowser InverseKinematics example to track 4 end effectors at once. 2019-06-01 19:43:27 -07:00
erwincoumans 36896db828 Merge remote-tracking branch 'bp/master' 2019-06-01 07:29:31 -07:00
erwincoumans dd8885bf32 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-06-01 07:29:09 -07:00
erwincoumans 4d3ee40895 Update btLemkeSolver.h
address this issue: https://github.com/bulletphysics/bullet3/pull/2253
2019-05-31 19:09:28 -07:00
erwincoumans 5e1d645a09 Merge pull request #2221 from goretkin/c_api_refactor_build
C api refactor build
2019-05-31 19:06:18 -07:00
Erwin Coumans f838e22bd9 fix some warnings 2019-05-31 19:00:38 -07:00
Erwin Coumans 4247104050 add toes to Mini Cheetah 2019-05-31 15:04:53 -07:00
erwincoumans df465f8a73 Merge pull request #2273 from erwincoumans/master
simplify previous commit do/while
2019-05-31 14:24:07 -07:00
Erwin Coumans 3c74ae8366 Add approximate Mini Cheetah URDF and example in pybullet
Thanks to Sangbae Kim and Donghyun Kim at the MIT Biomimetics Robotics Lab
2019-05-31 14:21:10 -07:00
Erwin Coumans 9d2a527d87 fix issue in MJCF importer due to previous commit 2019-05-30 16:13:03 -07:00
Erwin Coumans 1933661124 change quadruped, remove old files 2019-05-30 14:55:47 -07:00
Erwin Coumans 63e13d32cb remove unused var 2019-05-30 10:34:48 -07:00
Erwin Coumans 6b9b30786f simplify previous commit do/while -> while 2019-05-30 10:30:08 -07:00
erwincoumans 7a7652fd43 Merge pull request #2265 from akien-mga/dos2unix
Convert DOS (CRLF) source files to Unix (LF) line endings
2019-05-30 09:41:35 -07:00
erwincoumans 976c01f168 Merge pull request #2263 from erwincoumans/master
added Microtaur URDF file, with basic system identification
2019-05-30 07:38:09 -07:00
Erwin Coumans 411ac4fcc3 fix loadMJCF/BulletMJCFImporter to load from fileIO 2019-05-29 19:26:27 -07:00
jamoflaw 50dca7cf0e Destroy semaphore after join
I can't quite work out the logic behind this fix though I get a consistent hang on the worker threads (both my worker threads get stuck on sem_wait() - Line 181) when the semaphore is destroyed before the thread is joined, and the application never exits.

This change resolves this.
2019-05-27 23:05:20 +01:00
erwincoumans 78e1baede8 Merge pull request #2257 from mtheall/master
Return at least 1 from btGetNumHardwareThreads
2019-05-27 14:01:43 -07:00
David Carlier 66c4e20fd2 Fix shader example build / spotted by clang 2019-05-23 20:40:29 +01:00
Erwin Coumans 093986f1ee revert to previous leg style of Microtaur 2019-05-22 23:42:32 -04:00
Erwin Coumans e13df4ce48 add toe endeffectors for IK of Microtaur 2019-05-22 22:08:45 -04:00
Erwin Coumans d7e863e51a update microtaur URDF and example, to be compatible with minitaur_rainbow_dash 2019-05-22 10:59:20 -04:00
Rémi Verschelde d85b800702 Convert DOS (CRLF) source files to Unix (LF) line endings
Excluded `examples/pybullet/gym/pybullet_data/` which has many (3000+)
CRLF data files (obj, mtl, urdf), and `docs/pybullet_quickstart_guide`
which has generated .js and .htm files with CRLF line endings too.
2019-05-22 10:01:32 +02:00
Erwin Coumans af5bfb4089 added Microtaur URDF file, with basic system identification
See https://www.youtube.com/watch?v=UmGnLgpEVTE
2019-05-21 22:33:16 -04:00
erwincoumans 26486d56d7 Merge pull request #2258 from fuchuyuan/master
Add safety check
2019-05-16 18:25:21 -07:00
Chuyuan Fu 64ebe27477 Add safety check 2019-05-16 18:13:29 -07:00
Michael Theall c3790448bc Return at least 1 from btGetNumHardwareThreads 2019-05-16 13:20:53 -05:00
erwincoumans 2f0ee2870d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-05-09 09:41:32 -07:00
erwincoumans 7b06293a97 Merge pull request #2247 from erwincoumans/master
fix test compilation
2019-05-08 18:06:28 -07:00
Erwin Coumans f598aad3d4 update pybullet version 2019-05-08 14:07:31 -07:00
Erwin Coumans 2b9bece2c8 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-05-08 12:03:46 -07:00
Erwin Coumans 577dd16299 fix test compilation 2019-05-08 12:03:23 -07:00
erwincoumans 1ae63d097d Merge pull request #2244 from erwincoumans/master
add minitaur extended to pybullet_envs
2019-05-08 10:36:51 -07:00
Erwin Coumans 36ed4419bf Merge branch 'master' of https://github.com/erwincoumans/bullet3 2019-05-07 19:43:33 -07:00
Erwin Coumans de8013ff75 add minitaur extended to pybullet_envs 2019-05-07 19:43:02 -07:00
erwincoumans a5fe998f13 Merge pull request #2243 from crewmatt/master
Enhances gRPC Plugin
2019-05-07 12:33:39 -07:00
erwincoumans 111d06abd0 Merge pull request #2242 from erwincoumans/master
improve grpc support
2019-05-07 08:15:21 -07:00
Erwin Coumans defa172d39 improve grpc support 2019-05-07 08:13:27 -07:00
erwincoumans 5734035094 Merge pull request #2239 from erwincoumans/master
fix CallData::CallStatus
2019-05-06 19:55:50 -07:00
Erwin Coumans e6918b9cd4 fix CallData::CallStatus 2019-05-06 17:30:07 -07:00
erwincoumans 9f28a27323 Merge pull request #2238 from erwincoumans/master
fix exceeding shared memory usage, return of member of deleted class.
2019-05-06 17:15:13 -07:00
Erwin Coumans 688df2c60b fix exceeding shared memory usage, return of member of deleted class. 2019-05-06 17:13:42 -07:00
erwincoumans b40bb583b7 Merge pull request #2235 from RanTig/user-data-direct-fix
Fixes bug in getNumUserData in the physics direct client.
2019-05-06 16:30:22 -07:00
erwincoumans 2f3dfce2bf Merge pull request #2236 from AndreaCatania/patch-3
Multibody memory invalid writing
2019-05-06 15:37:10 -07:00
Gustavo Goretkin d5ef9d4382 Remove hail-Mary attempt at finding OpenGL 2019-05-06 17:17:15 -04:00
Andrea Catania 4dad15946b Multibody memory invalid writing
Related #2233
2019-05-06 17:56:18 +02:00
Tigran Gasparian ee99abfc45 Fixes bug in getNumUserData in the physics Direct client. This was inconsistent with the shared memory client 2019-05-06 16:26:46 +02:00
erwincoumans f4f5f70886 Merge pull request #2231 from fuchuyuan/master
set softbody start position and orientation in pybullet
2019-05-05 11:26:43 -07:00
erwincoumans 7f6c479ea6 Merge pull request #2232 from EmilNorden/master
fixed build on latest version of Clang
2019-05-05 11:25:51 -07:00
Emil Nordén 7638b7c5a6 fixed build on latest version of clang 2019-05-04 08:38:53 +02:00
Gustavo Goretkin cde9be4697 Always link against OpenGL 2019-05-03 15:48:16 -04:00
Chuyuan Fu 3be2ce0adf set softbody start position and orientation in pybullet 2019-05-03 11:56:13 -07:00
erwincoumans de2d22f76b Merge pull request #2226 from fuchuyuan/softBodyExp
Soft body exp
2019-05-02 17:09:08 -07:00
erwincoumans ba899b371d Make btMatrixX::printMatrix const 2019-05-02 16:18:29 -07:00
Chuyuan Fu ee10d47b17 fix space
fix space
2019-05-02 14:15:18 -07:00
Chuyuan Fu 3fb0a7c19b add set starting position and orientation to softbody 2019-05-01 16:56:40 -07:00
Chuyuan Fu 55f9f1eb89 add LoadSoftbody C API 2019-05-01 16:56:40 -07:00
Gustavo Goretkin 42d3e6190a Play around with build 2019-04-29 14:46:47 -04:00
Gustavo Goretkin b6a18c5a30 Copy installation commands from other bullet libs 2019-04-29 12:57:37 -04:00
Gustavo Goretkin e4f637c2e3 Install C API 2019-04-29 11:58:53 -04:00
Gustavo Goretkin aff54a2397 Refactor C API part of pybullet out 2019-04-29 11:28:17 -04:00
Gustavo Goretkin 76b27cf410 Copy from pybullet 2019-04-29 11:04:33 -04:00
Gustavo Goretkin 9009ca914e Run cmake-format
cmake-format --command-case upper --dangle-parens true CMakeLists.txt
2019-04-29 11:03:41 -04:00