mirror of https://github.com/ArduPilot/ardupilot
Tools: Optionally include AP_SIM_GLIDER_ENABLED on SIH
This commit is contained in:
parent
e170710de9
commit
cb044d4718
|
@ -66,6 +66,8 @@ if args.defaults:
|
|||
defaults_write(open(args.defaults,"r").read() + "\n")
|
||||
|
||||
if args.simclass:
|
||||
if args.simclass == 'Glider':
|
||||
hwdef_write("define AP_SIM_GLIDER_ENABLED 1\n")
|
||||
hwdef_write("define AP_SIM_FRAME_CLASS %s\n" % args.simclass)
|
||||
if args.frame:
|
||||
hwdef_write('define AP_SIM_FRAME_STRING "%s"\n' % args.frame)
|
||||
|
|
Loading…
Reference in New Issue