mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: added models to ROMFS in SITL
This commit is contained in:
parent
31e3fd0771
commit
39f25fc0f4
@ -454,6 +454,10 @@ class sitl(Board):
|
||||
if fnmatch.fnmatch(f, "font*bin"):
|
||||
env.ROMFS_FILES += [(f,'libraries/AP_OSD/fonts/'+f)]
|
||||
|
||||
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)]
|
||||
|
||||
# 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