Search found 4173 matches

by Erwin Coumans
Mon Oct 15, 2018 9:12 pm
Forum: PyBullet Support and Feedback
Topic: Car Simulation for Radar
Replies: 6
Views: 1030

Re: Car Simulation for Radar

Create a dummy link (replace planeLink with parent link name, joint origin xyz is in local parent link coordinates): <link name="dummy"> <inertial> <mass value="0"/> <inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="1.0" iyz="0.0" izz="1.0"/> </inertial> </link> <joint name="base_to_dummy" type="fixed"> <...
by Erwin Coumans
Sun Oct 07, 2018 2:01 pm
Forum: General Bullet Physics Support and Feedback
Topic: Strange behavior of rigid bodies (video) C++
Replies: 2
Views: 457

Re: Strange behavior of rigid bodies (video) C++

getRotation returns a quaternion, not Euler angles. There are functions to convert quat to eul.
by Erwin Coumans
Fri Oct 05, 2018 1:43 am
Forum: PyBullet Support and Feedback
Topic: PyBullet multi-physics engine support
Replies: 1
Views: 500

Re: PyBullet multi-physics engine support

There is no timeline for it. The feature is mainly for benchmarking purposes, I assume PyBullet users want to use Bullet instead of DART or MuJoCo. I got the MuJoCo very basic test working in PyBullet loading a basic MJCF file etc.
by Erwin Coumans
Fri Oct 05, 2018 1:42 am
Forum: PyBullet Support and Feedback
Topic: Checkbox/radio button using PyBullet
Replies: 1
Views: 372

Re: Checkbox/radio button using PyBullet

>>Was wondering if there are methods for adding radio buttons or checkboxes The underlying infrastructure has check boxes, booleans and text etc, but we only exposed sliders so far. Perhaps submit a issue request in github issue tracker? >> addUserData Not much, I would check the userData.py example...
by Erwin Coumans
Fri Oct 05, 2018 1:31 am
Forum: PyBullet Support and Feedback
Topic: Saving and restoring full state?
Replies: 3
Views: 1149

Re: Saving and restoring full state?

Where is 'envStepCounter'? If it is in Python, just reset it there.
by Erwin Coumans
Fri Oct 05, 2018 1:30 am
Forum: PyBullet Support and Feedback
Topic: Car Simulation for Radar
Replies: 6
Views: 1030

Re: Car Simulation for Radar

It is better to add some fixed dummy links in the URDF file. Then let getLinkState compute the world space position and world space velocity for those dummy links. You could create a small pybullet test and share it on github, plot the curve with matplotlib (keep all dependencies to a minimum) link ...
by Erwin Coumans
Fri Oct 05, 2018 1:04 am
Forum: PyBullet Support and Feedback
Topic: Programmatically create a multi-body chain
Replies: 2
Views: 945

Re: Programmatically create a multi-body chain

We didn't expose spherical joints in PyBullet yet, since none of our robots have spherical joints. You can use multiple revolute joints though. >> Is there a way to specify the joint position w.r.t. the parent body, Yes. I would suggest first learning a bit more about URDF, that gives a better idea....
by Erwin Coumans
Fri Oct 05, 2018 12:56 am
Forum: PyBullet Support and Feedback
Topic: Moving from Bullet 2 to Pybullet
Replies: 5
Views: 948

Re: Moving from Bullet 2 to Pybullet

Yes, the GUI mode is primarily as debug visualizer. PyBullet has a plugin system (loadPlugin) to customize things. >> 1. Have bodies MotionStates in pyBullet? No motion states, but you can write a plugin that gets all notifications of changes, we have some internal plugin for this to notify an exter...
by Erwin Coumans
Sun Sep 30, 2018 12:31 pm
Forum: PyBullet Support and Feedback
Topic: Use mouse to control camera view in opengl window
Replies: 4
Views: 1396

Re: Use mouse to control camera view in opengl window

Try holding the CONTROL or ALT key + left or middle or left mouse button to rotate, pan or zoom the camera, while dragging the mouse.
by Erwin Coumans
Fri Sep 21, 2018 5:10 pm
Forum: General Bullet Physics Support and Feedback
Topic: pip install issue - Windows 10
Replies: 8
Views: 1692

Re: pip install issue - Windows 10

eglRender plugin should only be enabled on Linux. PyBullet 2.2.0 should fix it.

Code: Select all

pip install --no-cache-dir -U pybullet
Can you try it and report back?
by Erwin Coumans
Thu Sep 20, 2018 11:53 pm
Forum: General Bullet Physics Support and Feedback
Topic: I need help
Replies: 2
Views: 577

Re: I need help

Let's expose an API to override the safety setting. See https://github.com/bulletphysics/bullet3/issues/1890
by Erwin Coumans
Thu Sep 20, 2018 11:02 pm
Forum: General Bullet Physics Support and Feedback
Topic: pip install issue - Windows 10
Replies: 8
Views: 1692

Re: pip install issue - Windows 10

The latest pybullet should work fine.
Can you try

Code: Select all

pip install pybullet==2.1.9
or

Code: Select all

pip install -U -no-cache-dir pybullet
See also https://github.com/bulletphysics/bullet3/issues/1888
by Erwin Coumans
Thu Sep 13, 2018 3:32 am
Forum: PyBullet Support and Feedback
Topic: How to disable collisions?
Replies: 3
Views: 1043

Re: How to disable collisions?

I just implemented a few ways to do it: Disable collisions per object pair / link: enableCollision= 0 pybullet.setCollisionFilterPair(objectUniqueIdA, objectUniqueIdB, linkIndexA, linkIndexB, enableCollision) or disable collisions per group of objects: group = 0#other objects don't collide with me m...
by Erwin Coumans
Thu Sep 13, 2018 3:27 am
Forum: PyBullet Support and Feedback
Topic: Getting simulation time in pybullet
Replies: 1
Views: 446

Re: Getting simulation time in pybullet

It is not exposed, you have to keep track of it yourself at the moment.
by Erwin Coumans
Wed Sep 12, 2018 6:16 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet MediaWiki and online documentation is not accessible.
Replies: 1
Views: 576

Re: Bullet MediaWiki and online documentation is not accessible.

We had to move to a new server (after 15 years!) and only the forum and the wordpress frontpage are fully ported.

The online doxygen generated documentation should be working now (check it).
There is no wiki on the server at the moment, most of the information on the wiki was very out-of-date anyway.