Skip to content
Snippets Groups Projects
Commit 29af4846 authored by Don Gagne's avatar Don Gagne Committed by Lorenz Meier
Browse files

Add firmware type to .px4

parent d832e325
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ if args.parameter_xml != None:
bytes = f.read()
desc['parameter_xml_size'] = len(bytes)
desc['parameter_xml'] = base64.b64encode(zlib.compress(bytes,9)).decode('utf-8')
desc['mav_autopilot'] = 12 # 12 = MAV_AUTOPILOT_PX4
if args.airframe_xml != None:
f = open(args.airframe_xml, "rb")
bytes = f.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment