Add Plane VTail to image group metadata

This commit is contained in:
Hamish Willee
2018-10-18 09:56:36 -04:00
committed by Daniel Agar
parent e6d78b89a2
commit cb8a2b533d
2 changed files with 4 additions and 3 deletions
+2 -3
View File
@@ -30,9 +30,8 @@ class MarkdownTablesOutput():
# Display an image of the frame # Display an image of the frame
image_name = group.GetImageName() image_name = group.GetImageName()
result += '<div>\n' result += '<div>\n'
if image_name != 'AirframeUnknown': image_name = image_path + image_name
image_name = image_path + image_name result += '<img src="%s.svg" width="29%%" style="max-height: 180px;"/>\n' % (image_name)
result += '<img src="%s.svg" width="29%%" style="max-height: 180px;"/>\n' % (image_name)
# check if all outputs are equal for the group: if so, show them # check if all outputs are equal for the group: if so, show them
# only once # only once
+2
View File
@@ -64,6 +64,8 @@ class ParameterGroup(object):
return "AirframeSimulation" return "AirframeSimulation"
elif (self.name == "Plane A-Tail"): elif (self.name == "Plane A-Tail"):
return "PlaneATail" return "PlaneATail"
elif (self.name == "Plane V-Tail"):
return "PlaneVTail"
elif (self.name == "VTOL Duo Tailsitter"): elif (self.name == "VTOL Duo Tailsitter"):
return "VTOLDuoRotorTailSitter" return "VTOLDuoRotorTailSitter"
elif (self.name == "Standard VTOL"): elif (self.name == "Standard VTOL"):