diff options
Diffstat (limited to 'mavigator-server/src')
10 files changed, 984 insertions, 532 deletions
diff --git a/mavigator-server/src/main/resources/assets/images/hud/attitude.svg b/mavigator-server/src/main/resources/assets/images/hud/attitude.svg new file mode 100644 index 0000000..eb7dd70 --- /dev/null +++ b/mavigator-server/src/main/resources/assets/images/hud/attitude.svg @@ -0,0 +1,815 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<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" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="1000" + height="1000" + viewBox="-500 -500 1000 1000" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="attitude.svg"> + <defs + id="defs4"> + <clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath4472"> + <circle + id="circle4474" + cx="0" + cy="0" + r="380" /> + </clipPath> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1" + inkscape:cx="415.60712" + inkscape:cy="547.77206" + inkscape:document-units="px" + inkscape:current-layer="svg2" + showgrid="true" + units="px" + inkscape:snap-grids="true" + inkscape:snap-bbox="true" + inkscape:bbox-paths="true" + inkscape:snap-bbox-midpoints="true" + inkscape:bbox-nodes="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:snap-center="true" + inkscape:snap-intersection-paths="true" + inkscape:object-nodes="true" + inkscape:snap-smooth-nodes="true" + inkscape:object-paths="true" + inkscape:snap-midpoints="true" + inkscape:snap-object-midpoints="true" + inkscape:snap-text-baseline="true" + inkscape:window-width="1920" + inkscape:window-height="1034" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" + showguides="false"> + <inkscape:grid + type="xygrid" + id="grid4686" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="roll" + style="stroke:#1a1a1a" + clip-path="none"> + <g + id="g4476" + clip-path="url(#clipPath4472)"> + <g + id="pitch"> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -50,-100 100,0" + id="path5000" + inkscape:connector-curvature="0" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -30,-50 60,0" + id="path5002" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5028" + d="m -30,-150 60,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -30,-250 60,0" + id="path5030" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5032" + d="m -30,-350 60,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path5034" + d="m -50,-200 100,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -50,-300 100,0" + id="path5036" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5038" + d="m -30,50 60,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -30,150 60,0" + id="path5040" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5042" + d="m -30,250 60,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -30,350 60,0" + id="path5044" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5046" + d="m -50,100 100,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -50,200 100,0" + id="path5048" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5050" + d="m -50,300 100,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="-95.449829" + id="text5054" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5056" + x="50" + y="-95.449829">10</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="-195.44983" + id="text5058" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5060" + x="50" + y="-195.44983">20</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="-295.44983" + id="text5062" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5064" + x="50" + y="-295.44983">30</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="104.55017" + id="text5070" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5072" + x="50" + y="104.55017">10</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="204.55017" + id="text5074" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5076" + x="50" + y="204.55017">20</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="304.55017" + id="text5078" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5080" + x="50" + y="304.55017">30</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="-295.44983" + id="text5082" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5084" + x="-50" + y="-295.44983">30</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="-195.44983" + id="text5086" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5088" + x="-50" + y="-195.44983">20</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="-95.449829" + id="text5090" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5092" + x="-50" + y="-95.449829">10</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="104.55017" + id="text5094" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5096" + x="-50" + y="104.55017">10</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="204.55017" + id="text5098" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5100" + x="-50" + y="204.55017">20</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="304.55017" + id="text5102" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + x="-50" + y="304.55017" + id="tspan5106">30</tspan></text> + <path + inkscape:connector-curvature="0" + id="path5110" + d="M -50,0 50,0" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="-50" + y="4.5501709" + id="text5116" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5118" + x="-50" + y="4.5501709">0</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-70 20,0" + id="path5307" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path5309" + d="m -10,-80 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path5305" + d="m -10,-60 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="50" + y="4.5501709" + id="text5120" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan5122" + x="50" + y="4.5501709">0</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-40 20,0" + id="path4231" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4233" + d="m -10,-30 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-20 20,0" + id="path4235" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4237" + d="m -10,-10 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-90 20,0" + id="path4239" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4241" + d="m -10,-270 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-280 20,0" + id="path4243" + inkscape:connector-curvature="0" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-260 20,0" + id="path4245" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4247" + d="m -10,-240 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-230 20,0" + id="path4249" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4251" + d="m -10,-220 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-210 20,0" + id="path4253" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4255" + d="m -10,-290 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-340 20,0" + id="path4263" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4265" + d="m -10,-330 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-320 20,0" + id="path4267" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4269" + d="m -10,-310 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path4273" + d="m -10,-170 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-180 20,0" + id="path4275" + inkscape:connector-curvature="0" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-160 20,0" + id="path4277" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4279" + d="m -10,-140 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-130 20,0" + id="path4281" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4283" + d="m -10,-120 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,-110 20,0" + id="path4285" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4287" + d="m -10,-190 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,30 20,0" + id="path4289" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4291" + d="m -10,20 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path4293" + d="m -10,40 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,60 20,0" + id="path4295" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4297" + d="m -10,70 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,80 20,0" + id="path4299" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4301" + d="m -10,90 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,10 20,0" + id="path4303" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4305" + d="m -10,130 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,120 20,0" + id="path4307" + inkscape:connector-curvature="0" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,140 20,0" + id="path4309" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4311" + d="m -10,160 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,170 20,0" + id="path4313" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4315" + d="m -10,180 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,190 20,0" + id="path4317" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4319" + d="m -10,110 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,230 20,0" + id="path4321" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4323" + d="m -10,220 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path4325" + d="m -10,240 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,260 20,0" + id="path4327" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4329" + d="m -10,270 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,280 20,0" + id="path4331" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4333" + d="m -10,290 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,210 20,0" + id="path4335" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4337" + d="m -10,330 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,320 20,0" + id="path4339" + inkscape:connector-curvature="0" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -10,340 20,0" + id="path4341" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4351" + d="m -10,310 20,0" + style="fill:none;fill-rule:evenodd;stroke:#999999;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + </g> + <text + inkscape:transform-center-x="-387.965" + transform="matrix(0.5,0.8660254,-0.8660254,0.5,0,0)" + sodipodi:linespacing="125%" + id="text5215" + y="-443.43323" + x="7.9833984" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve" + inkscape:transform-center-y="-223.9917"><tspan + y="-443.43323" + x="7.9833984" + id="tspan5217" + sodipodi:role="line">60</tspan></text> + <text + inkscape:transform-center-y="-387.965" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="7.9833989" + y="-443.43323" + id="text5211" + sodipodi:linespacing="125%" + transform="matrix(0.8660254,0.5,-0.5,0.8660254,0,0)" + inkscape:transform-center-x="-223.9917"><tspan + sodipodi:role="line" + id="tspan5213" + x="7.9833989" + y="-443.43323">30</tspan></text> + <text + sodipodi:linespacing="125%" + id="text5207" + y="-443.43323" + x="0.85449171" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve" + inkscape:transform-center-y="-447.9834"><tspan + y="-443.43323" + x="0.85449171" + id="tspan5209" + sodipodi:role="line">0</tspan></text> + <text + inkscape:transform-center-y="-387.965" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="7.9833989" + y="-443.43323" + id="text5203" + sodipodi:linespacing="125%" + transform="matrix(0.8660254,-0.5,0.5,0.8660254,0,0)" + inkscape:transform-center-x="223.9917"><tspan + sodipodi:role="line" + id="tspan5205" + x="7.9833989" + y="-443.43323">30</tspan></text> + <text + inkscape:transform-center-x="387.965" + transform="matrix(0.5,-0.8660254,0.8660254,0.5,0,0)" + sodipodi:linespacing="125%" + id="text5199" + y="-443.43323" + x="7.9833994" + style="font-style:normal;font-weight:normal;font-size:12.5px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve" + inkscape:transform-center-y="-223.9917"><tspan + y="-443.43323" + x="7.9833994" + id="tspan5201" + sodipodi:role="line">60</tspan></text> + <path + sodipodi:open="true" + d="M -346.65485,-199.57559 A 400,400 0 0 1 -0.24561214,-399.99992 400,400 0 0 1 346.4095,-200.00115" + sodipodi:end="5.7595832" + sodipodi:start="3.6639667" + sodipodi:ry="400" + sodipodi:rx="400" + sodipodi:cy="0" + sodipodi:cx="0" + sodipodi:type="arc" + id="path4684" + style="fill:none;stroke:#1a1a1a;stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <path + inkscape:transform-center-x="420" + inkscape:connector-curvature="0" + id="path4698" + d="m -400,0 -40,0" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:transform-center-y="-210" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -346.41016,-200 -34.64102,-20" + id="path4700" + inkscape:connector-curvature="0" + inkscape:transform-center-x="363.73067" /> + <path + inkscape:transform-center-x="210" + inkscape:connector-curvature="0" + id="path4702" + d="m -200,-346.41016 -20,-34.64102" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-363.73067" /> + <path + inkscape:transform-center-x="-210" + inkscape:connector-curvature="0" + id="path4706" + d="m 200,-346.41016 20,-34.64102" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-363.73067" /> + <path + inkscape:transform-center-y="-210" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 346.41016,-200 34.64102,-20" + id="path4708" + inkscape:connector-curvature="0" + inkscape:transform-center-x="-363.73067" /> + <path + inkscape:transform-center-x="-420" + inkscape:connector-curvature="0" + id="path4710" + d="M 400,-7.5688777e-7 440,1.1674235e-6" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:transform-center-y="-265.14989" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -306.41778,-257.11504 -19.15111,-16.06969" + id="path4714" + inkscape:connector-curvature="0" + inkscape:transform-center-x="315.99334" /> + <path + inkscape:transform-center-x="265.1499" + inkscape:connector-curvature="0" + id="path4725" + d="m -257.11505,-306.41777 -16.06969,-19.15112" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-315.99334" /> + <path + inkscape:transform-center-y="-387.62322" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m -136.80807,-375.87705 -8.55049,-23.49232" + id="path4727" + inkscape:connector-curvature="0" + inkscape:transform-center-x="141.08332" /> + <path + inkscape:transform-center-x="71.629882" + inkscape:connector-curvature="0" + id="path4729" + d="m -69.459281,-393.92311 -4.341191,-24.62019" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-406.23322" /> + <path + inkscape:transform-center-x="-71.629877" + inkscape:transform-center-y="-406.23322" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 69.459269,-393.92311 4.341217,-24.62019" + id="path4731" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4733" + d="m 136.80806,-375.87706 8.55051,-23.49231" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-387.62323" + inkscape:transform-center-x="-141.08331" /> + <path + inkscape:transform-center-x="-265.1499" + inkscape:transform-center-y="-315.99336" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 257.11506,-306.41779 16.06969,-19.1511" + id="path4735" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path4737" + d="m 306.4178,-257.11505 19.15111,-16.06968" + style="fill:#ffff00;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:transform-center-y="-265.14991" + inkscape:transform-center-x="-315.99335" /> + <path + inkscape:connector-curvature="0" + id="path4739" + d="m 0,-400 -12,-20 24,0 z" + style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + <g + id="static"> + <path + inkscape:transform-center-y="-390" + inkscape:transform-center-x="-0.0686585" + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + id="path4696" + d="M 0,-400 -11.862683,-380 12,-380 Z" + style="fill:#ffdd55;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + style="fill:#fbff00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 103.52762,-386.37033 -16.634855,16.24823 23.049585,6.17611 z" + id="path4741" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" + inkscape:transform-center-x="-98.417558" + inkscape:transform-center-y="-375.15816" /> + <path + inkscape:transform-center-y="-375.17593" + inkscape:transform-center-x="98.284918" + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + id="path4743" + d="m -103.52762,-386.37033 -6.28209,22.3888 23.049582,-6.17612 z" + style="fill:#fbff00;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="M 30,0 150,0 M -30,0 -150,0 M 0,0 15,25 30,0 15,25 0,0 -15,25 -15,25 -30,0" + style="fill:none;fill-rule:evenodd;stroke:#ffdd55;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="path4991" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/mavigator-server/src/main/resources/assets/images/hud/hud.svg b/mavigator-server/src/main/resources/assets/images/hud/hud.svg deleted file mode 100644 index 943d7a4..0000000 --- a/mavigator-server/src/main/resources/assets/images/hud/hud.svg +++ /dev/null @@ -1,182 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<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" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="1200" - height="1200" - id="svg2" - version="1.1" - inkscape:version="0.48.5 r10040" - sodipodi:docname="drawing.svg" - viewBox="-600 600 1200 1200"> - <defs - id="defs4" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="0.25013902" - inkscape:cx="1001.4796" - inkscape:cy="-231.89709" - inkscape:document-units="px" - inkscape:current-layer="layer1" - showgrid="true" - showborder="true" - inkscape:window-width="1920" - inkscape:window-height="1033" - inkscape:window-x="0" - inkscape:window-y="27" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2987" - empspacing="5" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1"> - <rect - style="opacity:0.6;fill:#808000;fill-opacity:0.48235294;stroke:none" - id="rect2985" - width="1200" - height="1200" - x="-600" - y="600" /> - <path - sodipodi:type="arc" - style="opacity:0.6;fill:#808000;fill-opacity:0.48235294;stroke:none" - id="path2989" - sodipodi:cx="0" - sodipodi:cy="1200" - sodipodi:rx="440" - sodipodi:ry="440" - d="m 440,1200 a 440,440 0 1 1 -880,0 440,440 0 1 1 880,0 z" /> - <path - inkscape:connector-curvature="0" - id="path3782" - d="m 380,1200 60,0" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> - <path - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m -440,1200 60,0" - id="path3012" - inkscape:connector-curvature="0" /> - <path - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="M 0,760.06247 0,815" - id="path3786" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-412.46877" /> - <path - inkscape:transform-center-y="-357.20843" - inkscape:connector-curvature="0" - id="path3794" - d="M -219.96877,819.00292 -192.5,866.58022" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="206.23439" /> - <path - inkscape:transform-center-y="-291.65947" - inkscape:connector-curvature="0" - id="path3796" - d="m -311.08281,888.91719 38.8467,38.8467" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="291.65946" /> - <path - inkscape:transform-center-y="-291.65947" - inkscape:connector-curvature="0" - id="path3798" - d="m 311.08281,888.91719 -38.8467,38.8467" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-291.65946" /> - <path - inkscape:transform-center-y="-357.20843" - inkscape:connector-curvature="0" - id="path3800" - d="M 219.96877,819.00292 192.5,866.58022" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-206.23439" /> - <path - inkscape:transform-center-y="-406.20244" - inkscape:connector-curvature="0" - id="path3802" - d="m 76.394345,766.74611 -9.539802,54.1029" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-71.624444" /> - <path - inkscape:transform-center-x="-141.07262" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m 150.46749,786.59395 -18.78974,51.62438" - id="path3804" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-387.59386" /> - <path - inkscape:transform-center-y="-406.20244" - inkscape:connector-curvature="0" - id="path3806" - d="m -76.394345,766.74611 9.539802,54.1029" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="71.624444" /> - <path - inkscape:transform-center-x="141.07262" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m -150.46749,786.59395 18.78974,51.62438" - id="path3808" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-387.59386" /> - <path - style="fill:#ffb380;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m -10,760 20,0 -10,40 -10,-40" - id="path3810" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccc" /> - <path - d="m 440,1200 a 440,440 0 1 1 -880,0 440,440 0 1 1 880,0 z" - sodipodi:ry="440" - sodipodi:rx="440" - sodipodi:cy="1200" - sodipodi:cx="0" - id="path3812" - style="opacity:0.6;fill:#808000;fill-opacity:0.48235294;stroke:none" - sodipodi:type="arc" - transform="translate(0,910)" /> - <rect - style="opacity:0.6;fill:#ffb380;fill-opacity:0.48235294;stroke:#ffffff;stroke-width:5;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - id="rect3814" - width="125" - height="895" - x="-597.5" - y="752.5" /> - <rect - y="752.5" - x="472.5" - height="895" - width="125" - id="rect3816" - style="opacity:0.6;fill:#ffb380;fill-opacity:0.48235294;stroke:#ffffff;stroke-width:5;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> - </g> -</svg> diff --git a/mavigator-server/src/main/resources/assets/images/hud/overlay.html b/mavigator-server/src/main/resources/assets/images/hud/overlay.html deleted file mode 100644 index 58b0ef7..0000000 --- a/mavigator-server/src/main/resources/assets/images/hud/overlay.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> - -<html> - <head> - <style> - html,body { - margin: 0; - width: 100%; - height: 100%; - } - </style> - </head> - <body> - - <div style="width: 100%; height: 100%; display: flex; align-content: flex-start; align-items: stretch; flex-direction: row"> - <div style="flex: 1; background-color: yellow;">side menu</div> - - <div style="flex: 1 1 70%; background-color: red; position: relative;"> - <div style="background-color: green; z-index: 0; display: flex; align-content: center; align-items: stretch; flex-direction: column; position: absolute; left: 0; right: 0; top: 0; bottom: 0;"> - <object style="flex: 1 1 100%;" type="image/svg+xml" data="horizon.svg">level0</object> - </div> - - <div style="z-index: 1; display: flex; align-content: center; align-items: stretch; flex-direction: column; position: absolute; left: 0; right: 0; top: 0; bottom: 0;"> - <object style="flex: 1 1 100%;" type="image/svg+xml" data="roll.svg">level0</object> - </div> - </div> - </div> - </body> -</html> diff --git a/mavigator-server/src/main/resources/assets/images/hud/roll.svg b/mavigator-server/src/main/resources/assets/images/hud/roll.svg deleted file mode 100644 index 93a9f90..0000000 --- a/mavigator-server/src/main/resources/assets/images/hud/roll.svg +++ /dev/null @@ -1,143 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<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" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="1200" - height="1200" - id="svg2" - version="1.1" - inkscape:version="0.48.5 r10040" - sodipodi:docname="hud.svg" - viewBox="-600 600 1200 1200"> - <defs - id="defs4" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="0.70749999" - inkscape:cx="1028.6796" - inkscape:cy="816.93521" - inkscape:document-units="px" - inkscape:current-layer="layer1" - showgrid="true" - showborder="true" - inkscape:window-width="1920" - inkscape:window-height="1033" - inkscape:window-x="0" - inkscape:window-y="27" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2987" - empspacing="5" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Layer 1" - inkscape:groupmode="layer" - id="layer1"> - <path - inkscape:connector-curvature="0" - id="path3782" - d="m 380,1200 60,0" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> - <path - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m -440,1200 60,0" - id="path3012" - inkscape:connector-curvature="0" /> - <path - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="M 0,760.06247 0,815" - id="path3786" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-412.46877" /> - <path - inkscape:transform-center-y="-357.20843" - inkscape:connector-curvature="0" - id="path3794" - d="M -219.96877,819.00292 -192.5,866.58022" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="206.23439" /> - <path - inkscape:transform-center-y="-291.65947" - inkscape:connector-curvature="0" - id="path3796" - d="m -311.08281,888.91719 38.8467,38.8467" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="291.65946" /> - <path - inkscape:transform-center-y="-291.65947" - inkscape:connector-curvature="0" - id="path3798" - d="m 311.08281,888.91719 -38.8467,38.8467" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-291.65946" /> - <path - inkscape:transform-center-y="-357.20843" - inkscape:connector-curvature="0" - id="path3800" - d="M 219.96877,819.00292 192.5,866.58022" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-206.23439" /> - <path - inkscape:transform-center-y="-406.20244" - inkscape:connector-curvature="0" - id="path3802" - d="m 76.394345,766.74611 -9.539802,54.1029" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="-71.624444" /> - <path - inkscape:transform-center-x="-141.07262" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m 150.46749,786.59395 -18.78974,51.62438" - id="path3804" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-387.59386" /> - <path - inkscape:transform-center-y="-406.20244" - inkscape:connector-curvature="0" - id="path3806" - d="m -76.394345,766.74611 9.539802,54.1029" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - inkscape:transform-center-x="71.624444" /> - <path - inkscape:transform-center-x="141.07262" - style="fill:none;stroke:#ffffff;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" - d="m -150.46749,786.59395 18.78974,51.62438" - id="path3808" - inkscape:connector-curvature="0" - inkscape:transform-center-y="-387.59386" /> - <path - style="fill:#ffb380;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m -10,760 20,0 -10,40 -10,-40" - id="path3810" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccc" /> - </g> -</svg> diff --git a/mavigator-server/src/main/resources/assets/stylesheets/main.css b/mavigator-server/src/main/resources/assets/stylesheets/main.css index f254449..6529940 100644 --- a/mavigator-server/src/main/resources/assets/stylesheets/main.css +++ b/mavigator-server/src/main/resources/assets/stylesheets/main.css @@ -1,203 +1,146 @@ -html, body { +html, body, .app { width: 100%; height: 100%; } body { - background-color: #e6e6e6; + background-color: #e6e6e6; } .loader { - width: 100%; - font-size: 50px; - text-align: center; -} - -#vfd-dashboard { - width: 100%; - height: 100%; -} - -#vfd-dashboard header { - color: #eeeeee; - background-color: #222222; - padding-left: 8px; - padding-right: 8px; - padding-top: 3px; - padding-bottom: 3px; - margin-bottom: 3px; - display: flex; -} - -#vfd-dashboard header > * { - margin: 5px; - flex: 1; -} - -#vfd-dashboard header > :nth-child(1) { - text-align: left; -} - -#vfd-dashboard header > :nth-child(2) { - text-align: center; -} - -#vfd-dashboard header > :nth-child(3) { - text-align: right; -} - -/* dashboard layout */ -.d-container { - display: flex; - align-content: flex-start; - align-items: stretch; -} - -.d-container > * { - flex: 1; -} - -.d-column { - flex-direction: column; -} - -.d-row { - flex-direction: row; -} - -.d-above { - flex: none; -} - -.d-left { - flex: 1 1 30%; -} - -.d-main { - flex: 1 1 70%; -} - -.d-panel { - margin: 3px; - padding: 10px; - background-color: white; - border-radius: 3px; -} - + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; -/* Mode styles */ -.mode { - display: inline-block; - box-sizing: border-box; - text-decoration: normal; - margin-right: 5px; + font-size: 50px; + text-align: center; } -.mode.danger { +@keyframes danger-blink { + 0% { + color: #222222; + text-shadow: none; + } + 50% { color: #d9534f; text-shadow: 0 0 5px #d9534f; - animation: danger-blink 1s linear infinite; - -webkit-animation: danger-blink 1s linear infinite; -} - -.mode.warning { - color: #f0ad4e; - text-shadow: 0 0 5px #f0ad4e; + } + 100% { + color: #222222; + text-shadow: none; + } } -.mode.info { - color: #5bc0de; - text-shadow: 0 0 5px #5bc0de; +@-webkit-keyframes danger-blink { + 0% { + color: #eeeeee; + text-shadow: none; + } + 50% { + color: #d9534f; + text-shadow: 0 0 5px #d9534f; + } + 100% { + color: #eeeeee; + text-shadow: none; + } } -.mode.success { - color: #5cb85c; - text-shadow: 0 0 5px #5cb85c; +#map { + position: absolute; + top: auto; + left: auto; + right: 10px; + bottom: 10px; } -.mode.off { - color: #eeeeee; - text-shadow: none; - animation: none; - -webkit-animation: none; +#motors { + position: absolute; + top: auto; + bottom: 10px; + left: 10px; + right: auto; } -/* TODO: Rules below are maybe obsolete and need to be reviewed */ .table-instrument { - table-layout: fixed; - width: 100%; + table-layout: fixed; + width: 100%; } .table-instrument td { - width: 100%; + width: 100%; } .heartbeat { - color: rgba(165, 25, 25, 1); - animation: heartbeat 2s linear infinite; - -webkit-animation: heartbeat 2s linear infinite; + color: rgba(165, 25, 25, 1); + animation: heartbeat 2s linear infinite; + -webkit-animation: heartbeat 2s linear infinite; } @keyframes heartbeat { - 0% { - transform: scale(1); - } - 7% { - transform: scale(1.3); - } - 14% { - transform: scale(1); - } - 21% { - transform: scale(1.3); - } - 28% { - transform: scale(1); - } + 0% { + transform: scale(1); + } + 7% { + transform: scale(1.3); + } + 14% { + transform: scale(1); + } + 21% { + transform: scale(1.3); + } + 28% { + transform: scale(1); + } } @-webkit-keyframes heartbeat { - 0% { - transform: scale(1); - } - 7% { - transform: scale(1.3); - } - 14% { - transform: scale(1); - } - 21% { - transform: scale(1.3); - } - 28% { - transform: scale(1); - } + 0% { + transform: scale(1); + } + 7% { + transform: scale(1.3); + } + 14% { + transform: scale(1); + } + 21% { + transform: scale(1.3); + } + 28% { + transform: scale(1); + } } @keyframes danger-blink { - 0% { - color: #eeeeee; - text-shadow: none; - } - 50% { - color: #d9534f; - text-shadow: 0 0 5px #d9534f; - } - 100% { - color: #eeeeee; - text-shadow: none; - } + 0% { + color: #eeeeee; + text-shadow: none; + } + 50% { + color: #d9534f; + text-shadow: 0 0 5px #d9534f; + } + 100% { + color: #eeeeee; + text-shadow: none; + } } @-webkit-keyframes danger-blink { - 0% { - color: #eeeeee; - text-shadow: none; - } - 50% { - color: #d9534f; - text-shadow: 0 0 5px #d9534f; - } - 100% { - color: #eeeeee; - text-shadow: none; - } -}
\ No newline at end of file + 0% { + color: #eeeeee; + text-shadow: none; + } + 50% { + color: #d9534f; + text-shadow: 0 0 5px #d9534f; + } + 100% { + color: #eeeeee; + text-shadow: none; + } +} +*/ diff --git a/mavigator-server/src/main/resources/assets/stylesheets/reset.css b/mavigator-server/src/main/resources/assets/stylesheets/reset.css new file mode 100644 index 0000000..af94440 --- /dev/null +++ b/mavigator-server/src/main/resources/assets/stylesheets/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +}
\ No newline at end of file diff --git a/mavigator-server/src/main/scala/mavigator/Router.scala b/mavigator-server/src/main/scala/mavigator/Router.scala index 07e40b0..389cb4d 100644 --- a/mavigator-server/src/main/scala/mavigator/Router.scala +++ b/mavigator-server/src/main/scala/mavigator/Router.scala @@ -22,11 +22,11 @@ object Router { val socketUrl = "ws://localhost:8080/mavlink" def route(implicit system: ActorSystem): Route = ( - path("dashboard" / IntNumber) { id => + path("cockpit" / IntNumber) { id => get { val html = mavigator.views.html.app( "Mavigator", - "mavigator_dashboard_Main", + "mavigator_cockpit_Main", Map( "socketUrl" -> socketUrl, "remoteSystemId" -> "0", diff --git a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html index 34d1fde..34359f8 100644 --- a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html +++ b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html @@ -13,9 +13,9 @@ <p>The error was: "<span id="scalajs-error-message"></span>"</p> </div> -<div id="@appId"> +<div id="@appId" class="app"> <div class="loader"> - <i class="fa fa-spinner fa-spin"></i> + <i class="fa fa-cog fa-spin"></i> </div> </div> @@ -30,10 +30,12 @@ root0.removeChild(root0.firstChild); } - //run ScalaJS application + //run ScalaJS application + console.info("[@appId] Starting ScalaJS application...") @{appId}().start({ root: root0, - assetsBase: "/assets", + styleRoot: document.getElementById("app-styles"), + baseUrl: "/assets", args: {@args.map{ case (key, value) => @key: "@value", }} @@ -48,6 +50,6 @@ }); </script> -<script type="text/javascript" src="/assets/js/mavigator-dashboard-opt.js"></script> +<script type="text/javascript" src="/assets/js/mavigator-cockpit-fastopt.js"></script> } diff --git a/mavigator-server/src/main/twirl/mavigator/views/index.scala.html b/mavigator-server/src/main/twirl/mavigator/views/index.scala.html deleted file mode 100644 index 1bf892b..0000000 --- a/mavigator-server/src/main/twirl/mavigator/views/index.scala.html +++ /dev/null @@ -1,5 +0,0 @@ -@() - -@main("Index"){ -<h1>Hello world!</h1> -} diff --git a/mavigator-server/src/main/twirl/mavigator/views/main.scala.html b/mavigator-server/src/main/twirl/mavigator/views/main.scala.html index e3e83b8..1e21b1b 100644 --- a/mavigator-server/src/main/twirl/mavigator/views/main.scala.html +++ b/mavigator-server/src/main/twirl/mavigator/views/main.scala.html @@ -5,15 +5,18 @@ <html lang="en"> <head> <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> + + <!-- Become fullscreen on mobile --> <meta name="mobile-web-app-capable" content="yes"> + <title>Mavigator - @title</title> <link rel="shortcut icon" href="/assets/images/logo.svg"> <link rel="stylesheet" media="screen" href="/assets/lib/bootstrap-3.3.6-dist/css/bootstrap.min.css"> <link rel="stylesheet" media="screen" href="/assets/lib/font-awesome-4.5.0/css/font-awesome.min.css"> <link rel="stylesheet" media="screen" href="/assets/stylesheets/main.css"> + <style id="app-styles"></style> </head> <body> |