mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 02:53:33 +08:00
Add Plane VTail to image group metadata
This commit is contained in:
committed by
Daniel Agar
parent
e6d78b89a2
commit
cb8a2b533d
@@ -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
|
||||||
|
|||||||
@@ -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"):
|
||||||
|
|||||||
Reference in New Issue
Block a user