summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-02-08 23:37:49 -0800
committerKeith Packard <keithp@keithp.com>2013-02-08 23:37:49 -0800
commite374f8e5a5f12602ef62518fcf672a231080baee (patch)
tree2d4d5390e3cf7b91e0ac8e7d2e1fc2e4932645bc
parentc3024b759fcdf8b84a2139c1535c573a31eb5c95 (diff)
doc: Add TeleMetrum and TeleMini drill templates
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--doc/Makefile5
-rw-r--r--doc/altusmetrum.xsl23
-rw-r--r--doc/telemetrum.svg33
-rw-r--r--doc/telemini.svg31
4 files changed, 90 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 53985431..59fd4ebb 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -18,6 +18,7 @@ DOC=$(HTML) $(PDF)
HTMLSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl
FOSTYLE=/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
PDFSTYLE=
+IMAGES=telemetrum.svg telemini.svg
.SUFFIXES: .xsl .html .fo .pdf
@@ -50,8 +51,8 @@ clean:
distclean:
rm -f $(HTML) $(PDF) *.fo
-altusmetrum.html: $(RELNOTES_XSL)
-altusmetrum.fo: $(RELNOTES_XSL)
+altusmetrum.html: $(RELNOTES_XSL) $(IMAGES)
+altusmetrum.fo: $(RELNOTES_XSL) $(IMAGES)
indent: altusmetrum.xsl
xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new
diff --git a/doc/altusmetrum.xsl b/doc/altusmetrum.xsl
index 55f02e26..065cb71c 100644
--- a/doc/altusmetrum.xsl
+++ b/doc/altusmetrum.xsl
@@ -2492,6 +2492,29 @@ NAR #88757, TRA #12200
</para>
</appendix>
<appendix>
+ <title>Drill Templates</title>
+ <para>
+ These images, when printed, provide precise templates for the
+ mounting holes in Altus Metrum flight computers
+ </para>
+ <section>
+ <title>TeleMetrum template</title>
+ <mediaobject id="TeleMetrumTemplate">
+ <imageobject>
+ <imagedata format="SVG" fileref="telemetrum.svg"/>
+ </imageobject>
+ </mediaobject>
+ </section>
+ <section>
+ <title>TeleMini template</title>
+ <mediaobject id="TeleMiniTemplate">
+ <imageobject>
+ <imagedata format="SVG" fileref="telemini.svg"/>
+ </imageobject>
+ </mediaobject>
+ </section>
+ </appendix>
+ <appendix>
<title>Calibration</title>
<para>
There are only two calibrations required for a TeleMetrum board, and
diff --git a/doc/telemetrum.svg b/doc/telemetrum.svg
new file mode 100644
index 00000000..97c4e4a8
--- /dev/null
+++ b/doc/telemetrum.svg
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ width="5in"
+ height="2.5in"
+ viewBox="0 0 500 250"
+ preserveaspectratio="none"
+ id="svg2"
+ version="1.1">
+ <g transform="translate(112.5,75)"
+ style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;font-family:Frutiger LT Std">
+ <!-- outline -->
+ <rect width="275" height="100" x="0" y="0"/>
+ <!-- holes -->
+ <path d="M37.5,12.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+ <path d="M262.5,12.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+ <path d="M37.5,87.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+ <path d="M262.5,87.5 m-6.25,0 a6.25,6.25,0,1,0,12.5,0 a6.25,6.25,0,1,0,-12.5,0 l12.5,0 m-6.25,-6.25 l0,12.5"/>
+ <!-- arrow -->
+ <path d="M50,50 l165,0"/>
+ <path style="fill:#000000;stroke:none" d="M215,45 l10,5 l-10,5 z"/>
+ <!-- label -->
+ <text x="137.5" y="45" style="fill:#000000;stroke:none" text-anchor="middle">TeleMetrum</text>
+ <g transform="rotate(90)">
+ <text x="50" y="-235" style="fill:#000000;stroke:none" text-anchor="middle">UP</text>
+ </g>
+ </g>
+</svg> \ No newline at end of file
diff --git a/doc/telemini.svg b/doc/telemini.svg
new file mode 100644
index 00000000..d07b4971
--- /dev/null
+++ b/doc/telemini.svg
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ width="5in"
+ height="2in"
+ viewBox="0 0 500 200"
+ preserveaspectratio="none"
+ id="svg2"
+ version="1.1">
+ <g transform="translate(175,75)"
+ style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;font-family:Frutiger LT Std">
+ <!-- outline -->
+ <rect width="150" height="50" x="0" y="0"/>
+ <!-- holes -->
+ <path d="M135,10 A5,5,0,1,0,145,10 A5,5,0,1,0,135,10 M135,10 l10,0 M140,5 l0,10"/>
+ <path d="M135,40 A5,5,0,1,0,145,40 A5,5,0,1,0,135,40 M135,40 l10,0 M140,35 l0,10"/>
+ <!-- arrow -->
+ <path d="M25,25 l90,0"/>
+ <path style="fill:#000000;stroke:none" d="M115,20 l10,5 l-10,5 z"/>
+ <!-- label -->
+ <text x="75" y="20" style="fill:#000000;stroke:none" text-anchor="middle">TeleMini</text>
+ <g transform="rotate(90)">
+ <text x="25" y="-130" style="fill:#000000;stroke:none" text-anchor="middle">UP</text>
+ </g>
+ </g>
+</svg> \ No newline at end of file