Skip to content

Commit 50ea556

Browse files
committed
feat(apm.pdef.xml): Create the files
1 parent c54f227 commit 50ea556

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/generate_pdef.xml_metadata.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ def main() -> None:
179179
continue # Skip ArduPilot 3.x versions, as param_parse.py does not support them out of the box
180180
if version[0] == "4" and version[2] == "0" and vehicle_type != "ArduSub":
181181
continue # Skip ArduPilot 4.0.x versions, as param_parse.py does not support them out of the box
182+
if int(version[0]) < 4:
183+
continue # Skip versions below 4.x.x, those have been done already
184+
if int(version[0]) == 4 and int(version[2]) < 6:
185+
continue # Skip versions below 4.6.x, those have been done already
182186
create_one_pdef_xml_file(
183187
vehicle_type,
184188
f"{vehicle_dir}/stable-{version}",

0 commit comments

Comments
 (0)