1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

Text for AirSpeed page

This commit is contained in:
Fredrik Larson 2014-09-03 04:31:39 +10:00
parent b59857e3e7
commit 577b38b786
3 changed files with 128 additions and 15 deletions

View File

@ -29,7 +29,7 @@
#include "setupwizard.h"
AirSpeedPage::AirSpeedPage(SetupWizard *wizard, QWidget *parent) :
SelectionPage(wizard, QString(":/setupwizard/resources/fixedwing-shapes-wizard-no-numbers.svg"), parent)
SelectionPage(wizard, QString(":/setupwizard/resources/airspeed-shapes.svg"), parent)
{}
AirSpeedPage::~AirSpeedPage()
@ -44,26 +44,30 @@ bool AirSpeedPage::validatePage(SelectionItem *seletedItem)
void AirSpeedPage::setupSelection(Selection *selection)
{
selection->setTitle(tr("OpenPilot Airspeed Sensor Selection"));
selection->setText(tr("This part of the wizard will help you select and configure "
"flying aircraft utilizing servos. The wizard supports the most common types of fixed-wing "
"aircraft, other variants of fixed-wing aircraft can be configured by using custom "
"configuration options in the Configuration plugin in the GCS.\n\n"
"Please select the type of fixed-wing you want to create a configuration for below:"));
selection->setText(tr("This part of the wizard will help you select and configure an airspeed sensor which "
"are also commonly called Pitot tubes. OpenPilot support three methods to obtain "
"airspeed data, one is a software estimation technique and the other two "
"utilize hardware sensors.\n\n"
"Please select how you wish to obtain airspeed data below:"));
selection->addItem(tr("Estimated"),
tr("This setup expects a traditional airframe using two independent aileron servos "
"on their own channel (not connected by Y adapter) plus an elevator and a rudder."),
"aileron",
tr("This option uses an intelligent estimation algorithm which utilizes the OpenPilot INS/GPS "
"to estimate wind speed and subtract it from ground speed obtained from the GPS.\n"
"This solution is highly accurate in normal level flight with the drawback of being less "
"accurate in rapid altitude changes. "),
"estimated",
SetupWizard::ESTIMATE);
selection->addItem(tr("EagleTree"),
tr("This setup expects a traditional airframe using a single alieron servo or two servos "
"connected by a Y adapter plus an elevator and a rudder."),
"aileron-single",
tr("Select this option to use the Airspeed MicroSensor V3 from EagleTree, this is an accurate "
"airspeed sensor that includes on-board Temperature Compensation.\n"
"Selecting this option will put your Flexi-Port in to I2C mode."),
"eagletree",
SetupWizard::EAGLETREE);
selection->addItem(tr("MS4525 Based"),
tr("This setup currently expects a flying-wing setup, an elevon plus rudder setup is not yet "
"supported. Setup should include only two elevons, and should explicitly not include a rudder."),
"elevon",
tr("Select this option to use an airspeed sensor based on the MS4525DO pressure transducer "
"from Measurement Specialties. This includes the PixHawk sensor and their clones.\n"
"Selecting this option will put your Flexi-Port in to I2C mode."),
"ms4525",
SetupWizard::MS4525);
}

View File

@ -0,0 +1,108 @@
<?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="744.09448819"
height="1052.3622047"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="airspeed-shapes.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="375"
inkscape:cy="520"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1075"
inkscape:window-height="423"
inkscape:window-x="104"
inkscape:window-y="104"
inkscape:window-maximized="0" />
<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">
<flowRoot
xml:space="preserve"
id="flowRoot2985"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
id="flowRegion2987"><rect
id="rect2989"
width="148.57143"
height="54.285713"
x="137.14285"
y="120.93361" /></flowRegion><flowPara
id="flowPara2991">OpenPilo</flowPara></flowRoot> <g
id="eagletree">
<text
sodipodi:linespacing="125%"
id="text2997"
y="286.64789"
x="208.57143"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="286.64789"
x="208.57143"
id="tspan2999"
sodipodi:role="line">Eagletree</tspan></text>
</g>
<g
id="ms4525">
<text
sodipodi:linespacing="125%"
id="text3001"
y="403.79074"
x="208.57143"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="403.79074"
x="208.57143"
id="tspan3003"
sodipodi:role="line">MS4525</tspan></text>
</g>
<g
id="estimated"
inkscape:label="#estimated">
<text
sodipodi:linespacing="125%"
id="text3009"
y="140.93361"
x="205.71429"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="140.93361"
x="205.71429"
id="tspan3011"
sodipodi:role="line">OpenPilot</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -37,6 +37,7 @@
<file>resources/multirotor-shapes.svg</file>
<file>resources/fixedwing-shapes-wizard.svg</file>
<file>resources/fixedwing-shapes-wizard-no-numbers.svg</file>
<file>resources/airspeed-shapes.svg</file>
<!-- these are different from the files in /config/images -->
<file>resources/bttn-illustration-down.png</file>
<file>resources/bttn-illustration-up.png</file>