mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Tools: added locations.txt to ROMFS for SITL
This commit is contained in:
parent
a4517032c5
commit
eaf7e7354a
@ -470,7 +470,10 @@ class sitl(Board):
|
||||
for f in os.listdir('Tools/autotest/models'):
|
||||
if fnmatch.fnmatch(f, "*.json") or fnmatch.fnmatch(f, "*.parm"):
|
||||
env.ROMFS_FILES += [('models/'+f,'Tools/autotest/models/'+f)]
|
||||
|
||||
|
||||
# include locations.txt so SITL on windows can lookup by name
|
||||
env.ROMFS_FILES += [('locations.txt','Tools/autotest/locations.txt')]
|
||||
|
||||
# embed any scripts from ROMFS/scripts
|
||||
if os.path.exists('ROMFS/scripts'):
|
||||
for f in os.listdir('ROMFS/scripts'):
|
||||
|
Loading…
Reference in New Issue
Block a user