Skip to content

Commit 26e780a

Browse files
committed
hacky workaround while waiting for ArduPilot#27226
1 parent 59dd095 commit 26e780a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/run_parsers.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def run(self):
7171
last_ground_change = Groundskeeper.get_last_ground_change(git.Repo(Path(__file__).parent.parent))
7272

7373
# Prepare for MAVLink parsing - always use the latest script (since it might cover new messages)
74-
shutil.copy(f'{self.repository_path}/Tools/scripts/mavlink_parse.py', self.temp_folder)
74+
#shutil.copy(f'{self.repository_path}/Tools/scripts/mavlink_parse.py', self.temp_folder)
75+
# TEMPORARY WORKAROUND UNTIL ArduPilot/ardupilot#27226 IS MERGED
76+
from urllib.request import urlretrieve
77+
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')
78+
# TEMP-END
7579

7680
# Get only valid tag names
7781
tags = [

0 commit comments

Comments
 (0)