Skip to content

Commit

Permalink
IMPROVEMENT: move the vehicle_templates directory inside the Methodic…
Browse files Browse the repository at this point in the history
…Configurator python package

To follow standard packaging recomendations
  • Loading branch information
amilcarlucas committed Nov 18, 2024
1 parent 54c531c commit a9473da
Show file tree
Hide file tree
Showing 738 changed files with 3,014 additions and 3,015 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"--allow-editing-template-files",
"--device=test",
"--skip-component-editor",
"--vehicle-dir=C:\\Users\\amilc\\Documents\\iav\\ardupilot_methodic_configurator\\vehicle_templates\\ArduCopter\\FETtec-5"
"--vehicle-dir=C:\\Users\\amilc\\Documents\\iav\\ardupilot_methodic_configurator\\MethodicConfigurator\\vehicle_templates\\ArduCopter\\FETtec-5"
],
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_templates_base_dir() -> str:
site_directory = site_directory.replace("/MethodicConfigurator", "")

logging_debug(_("site_directory: %s"), site_directory)
return os_path.join(site_directory, "vehicle_templates")
return os_path.join(site_directory, "MethodicConfigurator", "vehicle_templates")

@staticmethod
def get_recently_used_dirs() -> tuple[str, str, str]:
Expand Down
Loading

0 comments on commit a9473da

Please sign in to comment.