Bullet 3 gpu physics support

Requests or suggestions for new features
Post Reply
el_Raimundo

Bullet 3 gpu physics support

Post by el_Raimundo » 09 Oct 2014, 09:09

Hello,
some time has passed since this post viewtopic.php?f=7&t=1403&p=5323&hilit=gpu#p5323
and in the meantime bullet 3 has been released, claiming that "The entire collision detection and rigid body dynamics is executed on the GPU." (see https://github.com/bulletphysics/bullet3)

I think this is an exciting opportunity for applications where simulation speed is an issue, offering the prospect of massive performance gains.
As far as I understand from the v-rep documentation, the interface with the physics engines is designed with modularity in mind,
so that, at least in theory, they should be easily interchangeable.

Can you give me some advice as to how to start if I was to fiddle with the physics engines in vrep?
or is there any specific plan to make use of bullet 3's gpu acceleration features in the near future?

thank you very much,
raimund

coppelia
Site Admin
Posts: 6175
Joined: 14 Dec 2012, 00:25

Re: Bullet 3 gpu physics support

Post by coppelia » 09 Oct 2014, 17:00

Hello Raimund,

it is true that we will soon have to update the Bullet source code to match the last developments. If most functions have stayed same, then it shouldn't be too difficult, it is just important to take great care about the parts of the Bullet source code that we modified, otherwise something will break.

What has to be done is simply take the dynamicsPlugin project and update the Bullet folder. Then adjust here and there.

Cheers

JJEHL
Posts: 12
Joined: 02 Apr 2015, 10:35

Re: Bullet 3 gpu physics support

Post by JJEHL » 26 Apr 2015, 08:24

Hello,

Have you update the bullet engine (2.82 is available or 3 ?) in the new release V-REP 3.2.1 ? If not have you plan to do it soon ?

Cheers.

coppelia
Site Admin
Posts: 6175
Joined: 14 Dec 2012, 00:25

Re: Bullet 3 gpu physics support

Post by coppelia » 27 Apr 2015, 11:20

Hello,

this was not yet updated. What we will first do, is allow for a mechanism to run several versions of Bullet in the same V-REP, in oder to avoid situations where the Bullet update breaks some compatibility with older scenes.

Cheers

ahundt
Posts: 111
Joined: 29 Jan 2015, 04:21

Re: Bullet 3 gpu physics support

Post by ahundt » 28 May 2017, 18:16

Bullet now has improved physics algorithms designed specifically for robotics which improve the accuracy during interactions such as grasping. In addition to the new python API there is a C and C++ API. https://github.com/bulletphysics/bullet3/releases

coppelia
Site Admin
Posts: 6175
Joined: 14 Dec 2012, 00:25

Re: Bullet 3 gpu physics support

Post by coppelia » 29 May 2017, 12:18

Hello,

yes, this should be integrated, hopefully by the end of the year.

Cheers

ahundt
Posts: 111
Joined: 29 Jan 2015, 04:21

Re: Bullet 3 gpu physics support

Post by ahundt » 30 May 2017, 21:10

cool! They're also very interested in API feedback at this early stage. If there is anything that would make V-REP integration easier you may wish to comment with a github issue. They are incorporating some new ik and constrained opti algorithms for control as well.

Post Reply