Add Plane VTail to image group metadata

This commit is contained in:
Hamish Willee 2018-10-17 16:13:11 -07:00 committed by Daniel Agar
parent e6d78b89a2
commit cb8a2b533d
2 changed files with 4 additions and 3 deletions

View File

@ -30,9 +30,8 @@ class MarkdownTablesOutput():
# Display an image of the frame
image_name = group.GetImageName()
result += '<div>\n'
if image_name != 'AirframeUnknown':
image_name = image_path + image_name
result += '<img src="%s.svg" width="29%%" style="max-height: 180px;"/>\n' % (image_name)
image_name = image_path + 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
# only once

View File

@ -64,6 +64,8 @@ class ParameterGroup(object):
return "AirframeSimulation"
elif (self.name == "Plane A-Tail"):
return "PlaneATail"
elif (self.name == "Plane V-Tail"):
return "PlaneVTail"
elif (self.name == "VTOL Duo Tailsitter"):
return "VTOLDuoRotorTailSitter"
elif (self.name == "Standard VTOL"):