Skip to content
Snippets Groups Projects
Commit 026ecdaf authored by Pierre-Alexandre Leziart's avatar Pierre-Alexandre Leziart Committed by odri
Browse files

Add an additional flat plane during world creation

parent 5394c6c8
No related branches found
No related tags found
No related merge requests found
...@@ -249,6 +249,8 @@ class pybullet_simulator: ...@@ -249,6 +249,8 @@ class pybullet_simulator:
# Either use a flat ground or a rough terrain # Either use a flat ground or a rough terrain
if use_flat_plane: if use_flat_plane:
self.planeId = pyb.loadURDF("plane.urdf") # Flat plane self.planeId = pyb.loadURDF("plane.urdf") # Flat plane
self.planeIdbis = pyb.loadURDF("plane.urdf") # Flat plane
pyb.resetBasePositionAndOrientation(self.planeIdbis, [20.0, 0, 0], [0, 0, 0, 1])
else: else:
import random import random
random.seed(41) random.seed(41)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment