Erwin Coumans
aafaa7e33e
Expose optional "globalScaling" factor to pybullet.loadURDF and pybullet.loadSDF. This will scale the visual, collision shapes and transform locations.
...
Fix two_cubes.sdf (was lacking collision shape for second cube)
2017-08-14 14:59:41 -07:00
Erwin Coumans
dcaaed9238
also generate TinyRendererVisualShapeConverter for programmatically generated collision shapes
...
use similar random colors for TinyRenderer (if rgba colors are not specified)
2017-06-29 22:06:27 -07:00
Erwin Coumans
b23cb1dd2c
pybullet.createCollisionShape, createVisualShape, createMultiBody, programmatic creation using ProgrammaticUrdfInterface
...
(still preliminary, not ready for commit yet, see examples\pybullet\examples\createSphereMultiBodies.py)
2017-06-03 10:57:56 -07:00
Erwin Coumans
87293e835c
implement specular, URDF non-standard specular part (see sphere2.urdf) and SDF specular support.
...
pybullet.changeVisualShape(obUid,linkIndex,specularColor=[R,G,B]) and Bullet C-API b3UpdateVisualShapeSpecularColor
Bug fixes in b3ResourcePath::findResourcePath resolution.
add stadium.sdf and roboschool/models_outdoor/stadium assets https://github.com/openai/roboschool/tree/master/roboschool/models_outdoor/stadium
minor fixes to obj2sdf
2017-06-01 12:32:44 -07:00
Erwin Coumans
dfe618bd62
initialize UrdfGeometry members
2017-05-15 07:59:07 -07:00
Oleg Klimov
b8afb4d7aa
Memory leaks
2017-05-06 14:49:51 +03:00
Erwin Coumans
af6bf8ddc8
plumb URDF/SDF audio_source into PhysicsServerCommandProcessor, allow to play sounds on collision !
...
See also https://youtu.be/eppOjTfx5Jg for a first test, and this modified URDF how to add sounds:
https://github.com/bulletphysics/bullet3/blob/master/data/plane_with_collision_audio.urdf
Add the --audio flag to enable sound in pybullet/Bullet-C-API
2017-05-01 11:14:09 -07:00
Erwin Coumans
e4ace90980
fix some potentially uninitialized variable
2017-04-25 21:37:04 -07:00
Oleg Klimov
77608154a3
MJCF: fix capsule length when given in size="", fix slider joint limits
2017-03-27 22:54:20 +03:00
Oleg Klimov
80a0b51a1d
MJCF: fix cylinders in MJCF, also (possibly) fixes capsules in tiny renderer
2017-03-22 00:36:28 +03:00
Oleg Klimov
41df15a464
MJCF: fix B3_PI, fix colors, fix capsule without 'fromto'
2017-03-19 00:19:04 +03:00
Oleg Klimov
e8da7bb6f8
URDF loader: fix MuJoCo xml load, also closes #993
2017-03-17 02:11:47 +03:00
Oleg Klimov
82495f3c84
URDF loader: reuse the same resources finder routine for TinyRendererVisualShapeConverter
2017-03-10 18:17:38 +03:00
Oleg Klimov
5b2a9d1a01
URDF loader: resources path, "package://" removal, error messages, zero material path in .obj loader
2017-03-08 15:14:54 +03:00
Erwin Coumans
76dcf3a751
remove the contype=0 in inverted_pendulum.xml, so we can 'mouse-pick' the pendulum.
...
[mjcf importer] add rudimentary support for inertial frame computation, for 'fromto' capsules.
2017-01-24 21:10:21 -08:00
Erwin Coumans
310fabcd7e
Further improvements in Bullet MuJoCo MJCF import:
...
[MJCF import] improved humanoid.xml, inverted_pendulum.xml import (automatically add dummy-links to connect multiple joints between bodies)
[MJCF import] fix bug in quaternion conversion (w,x,y,z) -> (x,y,z,w)
2017-01-15 11:22:24 -08:00
Erwin Coumans
fdd517e00f
First step towards a MuJoCo MJCF importer for Bullet. It can load the humanoid.xml, ant.xml and some other OpenAI GYM asset files. Not all fields are converted, so it is work-in-progress. This is useful for Reinforcement Learning experiments, and would also help integration with DeepMind Lab.
2016-12-30 18:32:57 -08:00
erwin coumans
db3122233f
remove that odd triangle in the origin of samurai castle (VR)
...
add rolling/spinning friction to cube, remove it from plane/samurai.urdf
URDF2Bullet: support joint limits for revolute and prismatic, only if defined (if upper < lower, disable limit)
add some profiling markers to improve performance
2016-09-19 07:02:43 -07:00
erwin coumans
32eccdff61
Create project file for BussIK inverse kinematics library (premake, cmake)
...
URDF/SDF: add a flag to force concave mesh collisiofor static objects. <collision concave="yes" name="pod_collision">
VR: support teleporting using buttong, allow multiple controllers to be used, fast wireframe rendering,
Turn off warnings about deprecated C routine in btScalar.h/b3Scalar.h
Add a dummy return to stop a warning
Expose defaultContactERP in shared memory api/pybullet.
First start to expose IK in shared memory api/pybullet (not working yet)
2016-09-08 15:15:58 -07:00
erwin coumans
4a705d1e03
Add kiva_shelf to prepare for picking/grasping task
...
Fix uninitialized variable jointDamping/jointFriction in SDF importer
Add SDF <pose> parsing in visual, inertial, collision elements.
Slight improvement in TinyRender loading performance of largish meshes (30k vertices)
Reduce #define MAX_SDF_BODIES to 500, due to some issue in client code, todo: figure out what the issue is.
b3RobotSimAPI support SDF file loading
Tiny improvement in OpenGL hardware renderer lighting, to distinguish faces without textures
2016-07-14 00:05:57 -07:00
erwin coumans
7633cfb800
prepare robotics learning examples, see examples/RoboticsLearning/b3RobotSimAPI.h
...
prepare compliant contact work, urdf loading of parameters (see data/cube.urdf)
2016-07-11 00:26:40 -07:00
erwin coumans
0b69ba7f61
Support the <static> field under <model> in SDF to make the model immovable, similar to setting the mass to zero.
...
Add joint velocity motors in ImportSDF example.
2016-06-02 18:04:22 -07:00
erwin coumans
9cc028d44c
fix issue, some paths didn't return a value
2016-05-19 09:16:47 -07:00
yunfeibai
7929bee128
parse root transformation and test loading two robots
2016-05-11 15:52:50 -07:00
yunfeibai
06a2669b32
test load kuka arm sdf
2016-05-11 13:43:50 -07:00
Erwin Coumans
e9c6abff47
add initial SDF importer, work-in-progress (still too incomplete to be useful)
2016-05-09 17:25:07 -07:00
Erwin Coumans
7f4beba7ee
add forceFixedBase option for URDF import example
2015-07-07 15:39:36 -07:00
Erwin Coumans
039174a809
add alternative URDF parser that doens't use ROS urdf
2015-06-28 14:09:21 -07:00