mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 15:31:36 +08:00
init.d-posix: make all simulation airframes simulator specific
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user