1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-03 11:24:10 +01:00

OP-1764 Add missing files and changes from review

This commit is contained in:
Laurent Lalanne 2015-03-09 13:08:56 +01:00
parent d94b015ed1
commit 0e2fb2231e
4 changed files with 39 additions and 5 deletions

View File

@ -30,7 +30,7 @@
inkscape:zoom="6.5977991" inkscape:zoom="6.5977991"
inkscape:cx="55.083588" inkscape:cx="55.083588"
inkscape:cy="24.071773" inkscape:cy="24.071773"
inkscape:current-layer="layer45" inkscape:current-layer="layer46"
id="namedview3608" id="namedview3608"
showgrid="true" showgrid="true"
inkscape:window-width="1280" inkscape:window-width="1280"
@ -1685,6 +1685,20 @@
ry="0.98050147" ry="0.98050147"
inkscape:label="#rect4550-8-1-4-21-1" /> inkscape:label="#rect4550-8-1-4-21-1" />
</g> </g>
<g
inkscape:groupmode="layer"
id="layer46"
inkscape:label="SystemConfiguration-BadThrottleOrCollectiveInputRange">
<rect
style="fill:#d40000;fill-opacity:1;stroke:none;display:inline"
id="SystemConfiguration-BadThrottleOrCollectiveInputRange"
width="13.110236"
height="10.107105"
x="80.806435"
y="51.972187"
ry="0.98050147"
inkscape:label="#rect4550-8-1-4-21-1" />
</g>
<g <g
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="layer43" id="layer43"
@ -3024,7 +3038,7 @@
sodipodi:cy="35.07505" sodipodi:cy="35.07505"
sodipodi:rx="0.5" sodipodi:rx="0.5"
sodipodi:ry="0.5" sodipodi:ry="0.5"
d="M 14,35.07505 A 0.5,0.5 0 1 1 13.999725,35.058469" d="M 14,35.07505 C 14,35.351193 13.776142,35.57505 13.5,35.57505 C 13.223858,35.57505 13,35.351193 13,35.07505 C 13,34.798908 13.223858,34.57505 13.5,34.57505 C 13.769688,34.57505 13.990781,34.78893 13.999725,35.058469"
sodipodi:start="0" sodipodi:start="0"
sodipodi:end="6.2500167" sodipodi:end="6.2500167"
sodipodi:open="true" sodipodi:open="true"
@ -3057,7 +3071,7 @@
sodipodi:cy="35.07505" sodipodi:cy="35.07505"
sodipodi:rx="0.5" sodipodi:rx="0.5"
sodipodi:ry="0.5" sodipodi:ry="0.5"
d="M 14,35.07505 A 0.5,0.5 0 1 1 13.999725,35.058469" d="M 14,35.07505 C 14,35.351193 13.776142,35.57505 13.5,35.57505 C 13.223858,35.57505 13,35.351193 13,35.07505 C 13,34.798908 13.223858,34.57505 13.5,34.57505 C 13.769688,34.57505 13.990781,34.78893 13.999725,35.058469"
sodipodi:start="0" sodipodi:start="0"
sodipodi:end="6.2500167" sodipodi:end="6.2500167"
sodipodi:open="true" sodipodi:open="true"

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

View File

@ -1676,8 +1676,9 @@ void ConfigInputWidget::adjustSpecialNeutrals()
void ConfigInputWidget::checkThrottleRange() void ConfigInputWidget::checkThrottleRange()
{ {
if ((abs(manualSettingsData.ChannelMax[ManualControlSettings::CHANNELMAX_THROTTLE] - int throttleRange = abs(manualSettingsData.ChannelMax[ManualControlSettings::CHANNELMAX_THROTTLE] -
manualSettingsData.ChannelMin[ManualControlSettings::CHANNELMIN_THROTTLE]) < 300) && (throttleError == false)) { manualSettingsData.ChannelMin[ManualControlSettings::CHANNELMIN_THROTTLE]);
if (!throttleError && (throttleRange < 300)) {
throttleError = true; throttleError = true;
QMessageBox::warning(this, tr("Warning"), tr("<p>There is something wrong with Throttle range. Please redo calibration and move <b>ALL sticks</b>, Throttle stick included.</p>"), QMessageBox::Ok); QMessageBox::warning(this, tr("Warning"), tr("<p>There is something wrong with Throttle range. Please redo calibration and move <b>ALL sticks</b>, Throttle stick included.</p>"), QMessageBox::Ok);

View File

@ -0,0 +1,17 @@
<html>
<head>
<title></title>
<meta content="">
<style></style>
</head>
<body>
<h1>Configuration Système : BadThrottleOrCollectiveInputRange</h1>
<p>
Il y a un problème avec la configuration du canal throttle/collective :
<ul>
<li>Relancez la calibration des entrées.</li>
<li>La différence entre la valeur mini et maxi doit faire au moins 300µs.</li>
</ul>
</p>
</body>
</html>

View File

@ -33,6 +33,7 @@
<file>html/Stabilization-Critical.html</file> <file>html/Stabilization-Critical.html</file>
<file>html/SystemConfiguration-UnsupportedConfig_OneShot.html</file> <file>html/SystemConfiguration-UnsupportedConfig_OneShot.html</file>
<file>html/SystemConfiguration-FlightMode.html</file> <file>html/SystemConfiguration-FlightMode.html</file>
<file>html/SystemConfiguration-BadThrottleOrCollectiveInputRange.html</file>
<file>html/BootFault-RebootRequired.html</file> <file>html/BootFault-RebootRequired.html</file>
</qresource> </qresource>
<qresource prefix="/systemhealth" lang="fr"> <qresource prefix="/systemhealth" lang="fr">
@ -69,6 +70,7 @@
<file alias="html/Stabilization-Critical.html">html/fr/Stabilization-Critical.html</file> <file alias="html/Stabilization-Critical.html">html/fr/Stabilization-Critical.html</file>
<file alias="html/SystemConfiguration-UnsupportedConfig_OneShot.html">html/fr/SystemConfiguration-UnsupportedConfig_OneShot.html</file> <file alias="html/SystemConfiguration-UnsupportedConfig_OneShot.html">html/fr/SystemConfiguration-UnsupportedConfig_OneShot.html</file>
<file alias="html/SystemConfiguration-FlightMode.html">html/fr/SystemConfiguration-FlightMode.html</file> <file alias="html/SystemConfiguration-FlightMode.html">html/fr/SystemConfiguration-FlightMode.html</file>
<file alias="html/SystemConfiguration-BadThrottleOrCollectiveInputRange.html">html/fr/SystemConfiguration-BadThrottleOrCollectiveInputRange.html</file>
<file alias="html/BootFault-RebootRequired.html">html/fr/BootFault-RebootRequired.html</file> <file alias="html/BootFault-RebootRequired.html">html/fr/BootFault-RebootRequired.html</file>
</qresource> </qresource>