Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
repos:
# isort for python imports
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
# black repo for python formatting
- repo: https://github.com/ambv/black
rev: 22.12.0
Expand Down
15 changes: 3 additions & 12 deletions dronesim/envs/BaseAviary.py
Original file line number Diff line number Diff line change
Expand Up @@ -1937,6 +1937,9 @@ def _addObstacles(self):
These obstacles are loaded from standard URDF files included in Bullet.

"""
print(
"Adding obstacles from BaseAviary is not possible anymore. Please load them as URDF in the main script."
)
# p.loadURDF("samurai.urdf",
# physicsClientId=self.CLIENT
# )
Expand All @@ -1946,18 +1949,6 @@ def _addObstacles(self):
# p.loadURDF(os.path.dirname(os.path.abspath(__file__))+"/../assets/voliere.urdf",
# physicsClientId=self.CLIENT
# )
shape_id = p.createVisualShape(
shapeType=p.GEOM_MESH,
fileName="/media/ge79qad/FastScratch/GFlow-3D/build/ball.obj",
physicsClientId=self.CLIENT,
)
body_id = p.createMultiBody(
baseVisualShapeIndex=shape_id,
basePosition=(0, 0, 2.5),
baseOrientation=(0, 0, 0, 1),
physicsClientId=self.CLIENT,
# useFixedBase=1
)
# p.loadURDF("duck_vhacd.urdf",
# [-.5, -.5, .05],
# p.getQuaternionFromEuler([0, 0, 0]),
Expand Down