Skip to content

Commit

Permalink
hacky workaround while waiting for ArduPilot#27226
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Nov 6, 2024
1 parent febf604 commit 9f34981
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/run_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ def run(self):
last_ground_change = Groundskeeper.get_last_ground_change(git.Repo(Path(__file__).parent.parent))

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

# Get only valid tag names
tags = [
Expand Down

0 comments on commit 9f34981

Please sign in to comment.