From 219c9cf4b7eb3b182c1ccd3bf6fdce9626bc007c Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Sat, 31 Jul 2021 01:34:25 -0700 Subject: [PATCH] More specific airframe css --- Tools/px4airframes/markdownout.py | 44 ++++++++++++++++++------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/Tools/px4airframes/markdownout.py b/Tools/px4airframes/markdownout.py index edb3dabaab..8907e3efb8 100644 --- a/Tools/px4airframes/markdownout.py +++ b/Tools/px4airframes/markdownout.py @@ -18,33 +18,38 @@ The motors in **green** rotate clockwise, the ones in **blue** counterclockwise. If present, PWM AUX channels are commonly labelled **AUX OUT**. \n\n""" type_set = set() @@ -61,7 +66,7 @@ img { # Display an image of the frame image_name = group.GetImageName() - result += '
\n' + result += '
\n' image_name = image_path + image_name result += '\n' % (image_name) @@ -93,7 +98,7 @@ img { outputs_prev[i] = '' if outputs_match[0] or outputs_match[1]: - result += '\n' + result += '
\n' result += ' \n' result += ' \n' result += ' \n' @@ -103,7 +108,8 @@ img { result += '\n\n' - result += '
Common Outputs
\n' + result += '
\n' + result += '
\n' result += ' \n' result += ' \n' result += ' \n' @@ -156,7 +162,7 @@ img { #Close the table. - result += '
Name
\n\n' + result += '\n\n
\n\n' self.output = result