Search found 3 matches

by utkarshmishra04
Thu Oct 15, 2020 4:10 pm
Forum: PyBullet Support and Feedback
Topic: pybullet.GUI gives Segmentation Fault
Replies: 0
Views: 2375

pybullet.GUI gives Segmentation Fault

Hi, I am trying to make a custom environment in pybullet to test RL algorithms. I observed that when I do pybullet.connect(pybullet.GUI) inside the __init__() of my environment class I get the segmentation fault while creating context for OpenGL as following: pybullet build time: Oct 8 2020 00:10:46...
by utkarshmishra04
Thu Oct 15, 2020 4:04 pm
Forum: PyBullet Support and Feedback
Topic: Retrieve Heightfield from p.GEOM_HEIGHTFIELD
Replies: 2
Views: 1716

Re: Retrieve Heightfield from p.GEOM_HEIGHTFIELD

Hi, thanks
For now, I did the same and I am looking for further ways of doing the same
by utkarshmishra04
Wed Oct 14, 2020 8:26 pm
Forum: PyBullet Support and Feedback
Topic: Retrieve Heightfield from p.GEOM_HEIGHTFIELD
Replies: 2
Views: 1716

Retrieve Heightfield from p.GEOM_HEIGHTFIELD

Hi, I am quite new to pybullet and I was wondering if I could retrieve the heightfield data which I used to generate the p.createCollisionShape() object. if heightfieldSource==useTerrainFromPNG: terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.02,.02,2.4],fileName = ...