init.d-posix: make all simulation airframes simulator specific

This commit is contained in:
Daniel Agar
2022-09-01 22:00:22 -04:00
parent 5dfd2f39ef
commit 331cefc1d1
91 changed files with 1242 additions and 474 deletions
-7
View File
@@ -275,13 +275,6 @@ class GzmodelspawnRunner(Runner):
PX4_GAZEBO_MODELS,
self.model, self.model + ".sdf")
elif os.path.isfile(os.path.join(workspace_dir,
PX4_GAZEBO_MODELS,
self.model, self.model + "-gen.sdf")):
model_path = os.path.join(workspace_dir,
PX4_GAZEBO_MODELS,
self.model, self.model + "-gen.sdf")
else:
raise Exception("Model not found")