Skip to content

Commit 3efb327

Browse files
ES-Alexanderpatrickelectric
authored andcommitted
scripts: run_parsers.py: move to upstream mavlink parser
The idea was always to use the script from the official repo, it was just temporarily using a dev branch while the script was being approved.
1 parent 1f6c014 commit 3efb327

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/run_parsers.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,8 @@ def run(self):
120120
tag_names = [tag.path[len('refs/tags/'):] for tag in self.repository.tags]
121121
last_ground_change = self.get_last_ground_change()
122122

123-
# Prepare for MAVLink parsing - always use the latest script (since it might cover new messages)
124-
#shutil.copy(f'{self.repository_path}/Tools/scripts/mavlink_parse.py', self.temp_folder)
125-
# TEMPORARY WORKAROUND UNTIL ArduPilot/ardupilot#27226 IS MERGED
126-
from urllib.request import urlretrieve
127-
urlretrieve("https://raw.githubusercontent.com/ES-Alexander/ardupilot/refs/heads/mavlink-messages-rst/Tools/scripts/mavlink_parse.py", f'{self.temp_folder}/mavlink_parse.py')
128-
# TEMP-END
123+
# Prepare for MAVLink parsing - always use the latest script (since it might cover new dialects or messages)
124+
shutil.copy(f'{self.repository_path}/Tools/scripts/mavlink_parse.py', self.temp_folder)
129125

130126
# Get only valid tag names
131127
tags = []

0 commit comments

Comments
 (0)