1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-16 08:29:15 +01:00

Merge remote-tracking branch 'origin/next' into thread/OP-1628_Reboot_Board_In_Wizard

This commit is contained in:
m_thread 2015-01-26 23:00:33 +01:00
commit 373ed5df36
8 changed files with 424 additions and 183 deletions

View File

@ -558,7 +558,7 @@ void PIOS_RFM22B_SetTxPower(uint32_t rfm22b_id, enum rfm22b_tx_power tx_pwr)
/**
* Sets the range and number of channels to use for the radio.
* The channels are 0 to 255 divided across the 430-440 MHz range.
* The channels are 0 to 250 divided across the 430-440 MHz range.
* The number of channels configured will be spread across the selected channel range.
* The channel spacing is 10MHz / 250 = 40kHz
*
@ -1618,7 +1618,7 @@ static void rfm22_setNominalCarrierFrequency(struct pios_rfm22b_dev *rfm22b_dev,
{
// Set the frequency channels to start at 430MHz
uint32_t frequency_hz = RFM22B_NOMINAL_CARRIER_FREQUENCY;
// The step size is 10MHz / 250 channels = 40khz, and the step size is specified in 10khz increments.
// The step size is 10MHz / 250 = 40khz, and the step size is specified in 10khz increments.
uint8_t freq_hop_step_size = 4;
// holds the hbsel (1 or 2)

View File

@ -74,7 +74,7 @@ static void genericTIM_OCxPreloadConfig(TIM_TypeDef *TIMx, uint16_t TIM_OCPreloa
},
},
....
[HWSETTINGS_WS2811LED_OUT_FLEXIPIN4] = {
[HWSETTINGS_WS2811LED_OUT_FLEXIIOPIN4] = {
.gpio = GPIOB,
.gpioInit = {
.GPIO_Pin = GPIO_Pin_13,

View File

@ -2074,7 +2074,7 @@ const struct pios_ws2811_pin_cfg pios_ws2811_pin_cfg[] = {
.GPIO_OType = GPIO_OType_PP,
},
},
[HWSETTINGS_WS2811LED_OUT_FLEXIPIN3] = {
[HWSETTINGS_WS2811LED_OUT_FLEXIIOPIN3] = {
.gpio = GPIOB,
.gpioInit = {
.GPIO_Pin = GPIO_Pin_12,
@ -2083,7 +2083,7 @@ const struct pios_ws2811_pin_cfg pios_ws2811_pin_cfg[] = {
.GPIO_OType = GPIO_OType_PP,
},
},
[HWSETTINGS_WS2811LED_OUT_FLEXIPIN4] = {
[HWSETTINGS_WS2811LED_OUT_FLEXIIOPIN4] = {
.gpio = GPIOB,
.gpioInit = {
.GPIO_Pin = GPIO_Pin_13,

View File

@ -4393,8 +4393,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+30"/>
<source>http://wiki.openpilot.org/x/OQBj</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/hoBqAQ</translation>
<translation></translation>
</message>
<message>
<location line="+8"/>
@ -4508,7 +4507,12 @@ p, li { white-space: pre-wrap; }
<translation> Les paramètres importés ne sont pas compatibles avec ce plugin et ne seront pas importés !</translation>
</message>
<message>
<location line="-12"/>
<location line="+7"/>
<source> Unknown compatibility level: %1</source>
<translation> Niveau de compatibilité inconnu : %1</translation>
</message>
<message>
<location line="-19"/>
<source>WARNING: </source>
<translation>ATTENTION : </translation>
</message>
@ -4518,9 +4522,8 @@ p, li { white-space: pre-wrap; }
<translation>ERREUR : </translation>
</message>
<message>
<location line="+13"/>
<source> Unknown compatibility level: </source>
<translation> Niveau de compatibilité inconnu : </translation>
<translation type="vanished"> Niveau de compatibilité inconnu : </translation>
</message>
</context>
<context>
@ -5233,8 +5236,7 @@ valeur.</translation>
<message>
<location/>
<source>url:http://wiki.openpilot.org/display/Doc/Camera+Stabilization+Configuration</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>url:http://wiki.openpilot.org/x/UoHWAQ</translation>
<translation></translation>
</message>
<message>
<location/>
@ -6180,9 +6182,8 @@ p, li { white-space: pre-wrap; }
<translation>Options de Configuration et Calibration</translation>
</message>
<message>
<location/>
<source>Manual Calibration</source>
<translation>Calibration Manuelle</translation>
<translation type="vanished">Calibration Manuelle</translation>
</message>
<message>
<location/>
@ -6489,6 +6490,37 @@ Applique et Enregistre tous les paramètres sur la SD</translation>
<source>Start Transmitter Setup Wizard</source>
<translation>Démarrer l&apos;Assistant Configuration Émetteur</translation>
</message>
<message>
<location/>
<source>Assisted Control stick deadband </source>
<translation type="unfinished">Zone morte des manches - Pilotage assisté </translation>
</message>
<message>
<location/>
<source>Assisted Control stick deadband in percents of full range (2-12) for use with GPSAssist. This can not be disabled.</source>
<translation type="unfinished">Zone morte des manches du pilotage assisté en pourcentage du débattement maximum (2-12) pour utiliser GPSAssist. Ne peut être désactivé.</translation>
</message>
<message>
<location/>
<source>Start Manual Calibration</source>
<translation>Démarrer Calibration Manuelle</translation>
</message>
<message>
<location/>
<source>Assisted Control</source>
<translation type="unfinished">Pilotage Assisté</translation>
</message>
<message>
<location/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Assisted Control options augment the primary flight mode. GPSAssist adds brake/hold to Stabilization and PositionHold.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Les options du pilotage assisté améliorent le mode de vol courant. GPSAssist ajoute le freinage/maintien en position à la Stabilisation et PositionHold.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location/>
<source>fieldname:FlightModeAssistMap</source>
<translatorcomment>Do not translate !</translatorcomment>
<translation></translation>
</message>
</context>
<context>
<name>MixerCurve</name>
@ -7079,8 +7111,7 @@ Une valeur de 0.00 désactive le filtre.</translation>
<message>
<location/>
<source>url:http://wiki.openpilot.org/display/Doc/Revolution+Manual+Sensor+Calibration</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>url:http://wiki.openpilot.org/x/FQWJAQ</translation>
<translation></translation>
</message>
<message>
<location/>
@ -7616,8 +7647,7 @@ value as the Kp.</source>
<message>
<location/>
<source>url:http://wiki.openpilot.org/x/DAO9</source>
<translatorcomment>Wiki FR</translatorcomment>
<translation>url:http://wiki.openpilot.org/x/d4BqAQ</translation>
<translation></translation>
</message>
<message>
<location/>
@ -8583,8 +8613,7 @@ uniquement lorsque le système est armé, sans désactiver le module.</translati
<message>
<location/>
<source>url:http://wiki.openpilot.org/x/DACiAQ</source>
<translatorcomment>Wiki FR</translatorcomment>
<translation>url:http://wiki.openpilot.org/x/N4DWAQ</translation>
<translation></translation>
</message>
<message>
<location/>
@ -9098,7 +9127,7 @@ les données en cache</translation>
<translation>Diagramme de Connexion</translation>
</message>
<message>
<location line="+200"/>
<location line="+213"/>
<source>Save File</source>
<translation>Enregistrer Fichier</translation>
</message>
@ -9323,6 +9352,16 @@ Veuillez sélectionner la configuration de voilure fixe désirée ci-dessous :</
<source>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.</source>
<translation>Cette configuration concerne les ailes volantes, la dérive n&apos;est pas encore supportée actuellement. La configuration s&apos;applique à deux servos d&apos;élevons, sans dérive.</translation>
</message>
<message>
<location line="+5"/>
<source>Vtail</source>
<translation type="unfinished">Vtail</translation>
</message>
<message>
<location line="+1"/>
<source>This setup expects a traditional glider airframe using two independent aileron servos on their own channel (not connected by Y adapter) plus Vtail mixing elevator/rudder.</source>
<translation>Cette configuration concerne un planeur classique utilisant deux servos d&apos;ailerons indépendants ayant leur propre branchement (pas connectés avec un adaptateur en Y) plus un empenage en avec mixage profondeur/direction.</translation>
</message>
</context>
<context>
<name>HeliPage</name>
@ -9435,17 +9474,15 @@ p, li { white-space: pre-wrap; }
<translation>Le Quadricoptère (+) utilise quatre moteurs et il est similaire au Quadricoptère X mais la direction de déplacement est décalée de 45 degrés. Les moteurs avant et arrière tournent dans le sens horaire et les moteurs gauche et droit tournent dans le sens antihoraire. Cette configuration a é l&apos;une des premières à être utilisée et est encore utilisée pour le vol sportif. Cette agencement n&apos;est pas bien adapté pour que FPV car le moteur de devant a tendance à être dans le champ de vision de la caméra.</translation>
</message>
<message>
<location line="+7"/>
<source>Quadcopter H</source>
<translation>Quadricoptère H</translation>
<translation type="vanished">Quadricoptère H</translation>
</message>
<message>
<location line="+1"/>
<source>Quadcopter H, Blackout miniH</source>
<translation>Quadricoptère H, blackout miniH</translation>
<translation type="vanished">Quadricoptère H, blackout miniH</translation>
</message>
<message>
<location line="+4"/>
<location line="+7"/>
<source>Hexacopter</source>
<translation>Hexacoptère</translation>
</message>
@ -9480,7 +9517,7 @@ p, li { white-space: pre-wrap; }
<translation>Hexacoptère X</translation>
</message>
<message>
<location line="-38"/>
<location line="-33"/>
<source>OpenPilot Multirotor Configuration</source>
<translation>Configuration Multirotor OpenPilot</translation>
</message>
@ -9494,7 +9531,7 @@ Please select the type of multirotor you want to create a configuration for belo
Veuillez sélectionner le type de multirotor désiré pour la configuration ci-dessous :</translation>
</message>
<message>
<location line="+42"/>
<location line="+37"/>
<source>Hexacopter H</source>
<translation>Hexacoptère H</translation>
</message>
@ -9527,7 +9564,7 @@ Veuillez sélectionner le type de multirotor désiré pour la configuration ci-d
</message>
<message>
<location/>
<location filename="../../../src/plugins/setupwizard/pages/outputcalibrationpage.cpp" line="+375"/>
<location filename="../../../src/plugins/setupwizard/pages/outputcalibrationpage.cpp" line="+415"/>
<location line="+90"/>
<source>Start</source>
<translation>Démarrer</translation>
@ -9760,6 +9797,50 @@ p, li { white-space: pre-wrap; }
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt; font-weight:600;&quot;&gt;The Surface Vehicle section of the OpenPilot Setup Wizard is not yet implemented&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt; font-weight:600;&quot;&gt;La partie Véhicule roulant de l&apos;Assistant de Configuration OpenPilot n&apos;est pas encore implémentée&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../../src/plugins/setupwizard/pages/surfacepage.cpp" line="+51"/>
<source>OpenPilot Ground Vehicle Configuration</source>
<translation>Configuration Véhicule Terrestre OpenPilot</translation>
</message>
<message>
<location line="+1"/>
<source>This part of the wizard will set up the OpenPilot controller for use with a ground vehicle utilizing servos. The wizard supports the most common types of ground vehicle, other variants can be configured by using custom configuration options in the Configuration plugin in the GCS.
Please select the type of ground vehicle you want to create a configuration for below:</source>
<translation>Cette partie de l&apos;assistant va permettre le configuration du contrôleur OpenPilot pour fonctionner avec des véhicules terrestres utilisant plusieurs moteurs/servos. L&apos;assistant supporte les types de configurations les plus courants. D&apos;autres variantes de véhicules peuvent être configurées dans l&apos;onglet &quot;Véhicule&quot; &gt; &quot;Personnalisé&quot; du plugin de configuration de GCS.
Veuillez sélectionner le type de véhicule terrestre dont vous voulez créer la configuration ci-dessous :</translation>
</message>
<message>
<location line="+6"/>
<source>Car</source>
<translation>Voiture</translation>
</message>
<message>
<location line="+1"/>
<source>This setup expects a traditional car with a rear motor and a front streering servo</source>
<translation>Cette configuration correspond à une voiture classique avec un moteur à l&apos;arrière et un servo de direction à l&apos;avant</translation>
</message>
<message>
<location line="+4"/>
<source>Tank</source>
<translation>Tank</translation>
</message>
<message>
<location line="+1"/>
<source>This setup expects a traditional vehicle using only two motors and differential steering</source>
<translation>Cette configuration correspond à une véhicule classique utilisant deux moteurs et une direction par différentiel entre ces moteurs</translation>
</message>
<message>
<location line="+4"/>
<source>Motorcycle</source>
<translation>Motocycle</translation>
</message>
<message>
<location line="+1"/>
<source>This setup currently expects a motorcyle setup, using one motor and one servo for steering.</source>
<translation type="unfinished">Cette configuration correspond à une moto utilisant un moteur et un servo pour la direction.</translation>
</message>
</context>
<context>
<name>VehiclePage</name>
@ -9898,8 +9979,7 @@ persistant de la carte, et ensuite ferme la boite de dialogue.</translation>
<message>
<location line="+28"/>
<source>http://wiki.openpilot.org/display/Doc/UAV+Settings+import-export</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/IQCJAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -10417,8 +10497,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+15"/>
<source>http://wiki.openpilot.org/x/D4AUAQ</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/HoBqAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -10431,8 +10510,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+58"/>
<source>http://wiki.openpilot.org/x/44Cf</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/IIBqAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -10453,26 +10531,24 @@ Voulez-vous toujours continuer ?</translation>
<context>
<name>ConfigInputWidget</name>
<message>
<location filename="../../../src/plugins/config/configinputwidget.cpp" line="+380"/>
<location filename="../../../src/plugins/config/configinputwidget.cpp" line="+385"/>
<source>http://wiki.openpilot.org/x/04Cf</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/aIBqAQ</translation>
<translation></translation>
</message>
<message>
<location line="+7"/>
<location line="+1176"/>
<source>Arming Settings are now set to &apos;Always Disarmed&apos; for your safety.</source>
<translatorcomment>Contexte : Onglet &quot;Paramètres d&apos;Armement&quot;</translatorcomment>
<translation>Pour des raisons de sécurité les Paramètres d&apos;Armement ont é modifiés à &apos;Toujours Désarmé&apos;.</translation>
</message>
<message>
<location line="-1175"/>
<location line="+1"/>
<source>You will have to reconfigure the arming settings manually when the wizard is finished. After the last step of the wizard you will be taken to the Arming Settings screen.</source>
<translatorcomment>redirigé vers / sur ?</translatorcomment>
<translation>Vous devrez reconfigurer manuellement les paramètres d&apos;armement lorsque l&apos;assistant sera terminé. Après la dernière étape de l&apos;assistant, vous serez redirigé vers l&apos;écran des Paramètres d&apos;Armement.</translation>
</message>
<message>
<location line="+213"/>
<location line="+224"/>
<source>Next</source>
<translation>Suivant</translation>
</message>
@ -10668,9 +10744,28 @@ Bougez le manche %1.</translation>
<translation> Vous avez la possibilité d&apos;appuyer sur Suivant pour ignorer ce canal.</translation>
</message>
<message>
<location line="+690"/>
<location line="+725"/>
<source>Stop Manual Calibration</source>
<translation>Arrêter Calibration Manuelle</translation>
</message>
<message>
<location line="+3"/>
<source>&lt;p&gt;Arming Settings are now set to &apos;Always Disarmed&apos; for your safety.&lt;/p&gt;&lt;p&gt;Be sure your receiver is powered with an external source and Transmitter is on.&lt;/p&gt;&lt;p align=&apos;center&apos;&gt;&lt;b&gt;Stop Manual Calibration&lt;/b&gt; when done&lt;/p&gt;</source>
<translation>&lt;p&gt;Pour des raisons de sécurité les Paramètres d&apos;Armement ont é modifiés à &apos;Toujours Désarmé&apos;.&lt;/p&gt;&lt;p&gt;Veuillez vérifier que votre récepteur est alimenté avec une source externe et que la radio Rx est allumée. &lt;p align=&apos;center&apos;&gt;&lt;b&gt;Arrêter Calibration Manuelle&lt;/b&gt; à la fin&lt;/p&gt;</translation>
</message>
<message>
<location line="+3"/>
<source>You will have to reconfigure the arming settings manually when the manual calibration is finished.</source>
<translation>Vous devrez reconfigurer les paramètres d&apos;armement manuellement lorsque la calibration manuelle sera terminée.</translation>
</message>
<message>
<location line="+33"/>
<source>Start Manual Calibration</source>
<translation>Démarrer Calibration Manuelle</translation>
</message>
<message>
<source>You will have to reconfigure the arming settings manually when the wizard is finished.</source>
<translation>Vous devrez reconfigurer les paramètres d&apos;armement manuellement lorsque l&apos;assistant sera terminé.</translation>
<translation type="vanished">Vous devrez reconfigurer les paramètres d&apos;armement manuellement lorsque l&apos;assistant sera terminé.</translation>
</message>
</context>
<context>
@ -10950,12 +11045,27 @@ Bougez le manche %1.</translation>
<context>
<name>ScopeGadgetWidget</name>
<message>
<location filename="../../../src/plugins/scope/scopegadgetwidget.cpp" line="+219"/>
<location filename="../../../src/plugins/scope/scopegadgetwidget.cpp" line="+232"/>
<source>Click legend to show/hide scope trace.
Double click legend or plot to show/hide legend.</source>
<translation>Cliquer sur la légende pour afficher/cacher le tracé du graphique.
Double clic sur la légende ou le tracé pour afficher/cacher la légende.</translation>
</message>
<message>
<location line="+410"/>
<source>Clear</source>
<translation>Effacer</translation>
</message>
<message>
<location line="+2"/>
<source>Copy to Clipboard</source>
<translation>Copier dans le Presse-papiers</translation>
</message>
<message>
<location line="+3"/>
<source>Options...</source>
<translation>Options...</translation>
</message>
</context>
<context>
<name>SetupWizard</name>
@ -10965,7 +11075,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Assistant Configuration OpenPilot</translation>
</message>
<message>
<location line="+172"/>
<location line="+177"/>
<source>Controller type: </source>
<translation>Type de contrôleur : </translation>
</message>
@ -11001,18 +11111,19 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
</message>
<message>
<location line="+3"/>
<location line="+50"/>
<location line="+47"/>
<location line="+21"/>
<location line="+12"/>
<location line="+24"/>
<location line="+6"/>
<location line="+19"/>
<location line="+13"/>
<location line="+15"/>
<location line="+16"/>
<location line="+38"/>
<source>Unknown</source>
<translation>Inconnu</translation>
</message>
<message>
<location line="-163"/>
<location line="-179"/>
<source>Vehicle type: </source>
<translation>Type de véhicule : </translation>
</message>
@ -11023,12 +11134,13 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
</message>
<message>
<location line="+3"/>
<location line="+48"/>
<location line="+45"/>
<location line="+24"/>
<source>Vehicle sub type: </source>
<translation>Sous-type véhicule : </translation>
</message>
<message>
<location line="-45"/>
<location line="-66"/>
<source>Tricopter</source>
<translation>Tricoptère</translation>
</message>
@ -11043,9 +11155,8 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Quadricoptère +</translation>
</message>
<message>
<location line="+3"/>
<source>Quadcopter H</source>
<translation>Quadricoptère H</translation>
<translation type="vanished">Quadricoptère H</translation>
</message>
<message>
<location line="+3"/>
@ -11118,7 +11229,22 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Véhicule surface</translation>
</message>
<message>
<location line="+7"/>
<location line="+6"/>
<source>Car</source>
<translation>Voiture</translation>
</message>
<message>
<location line="+3"/>
<source>Tank</source>
<translation>Tank</translation>
</message>
<message>
<location line="+3"/>
<source>Motorcycle</source>
<translation>Motocycle</translation>
</message>
<message>
<location line="+13"/>
<source>Input type: </source>
<translation>Type d&apos;entrée : </translation>
</message>
@ -11140,7 +11266,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<message>
<location line="+3"/>
<source>Spektrum Satellite</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location line="+7"/>
@ -11158,7 +11284,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Contrôleur Rapide (%1 Hz)</translation>
</message>
<message>
<location line="+9"/>
<location line="+10"/>
<source>Servo type: </source>
<translation>Type Servo : </translation>
</message>
@ -11258,7 +11384,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<message>
<location line="+32"/>
<source>Writing Airspeed sensor settings</source>
<translation type="unfinished">Écriture paramètres capteur Vitesse Air</translation>
<translation>Écriture paramètres capteur Vitesse Air</translation>
</message>
<message>
<location line="+7"/>
@ -11266,13 +11392,14 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Écriture paramètres matériels</translation>
</message>
<message>
<location line="+155"/>
<location line="+172"/>
<location line="+31"/>
<location line="+36"/>
<source>Writing actuator settings</source>
<translation>Écriture paramètres actionneurs</translation>
</message>
<message>
<location line="+60"/>
<location line="+52"/>
<source>Writing flight mode settings 1/2</source>
<translation>Écriture paramètres mode de vol 1/2</translation>
</message>
@ -11298,7 +11425,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<translation>Écriture paramètres de stabilisation</translation>
</message>
<message>
<location line="+106"/>
<location line="+135"/>
<source>Writing mixer settings</source>
<translation>Écriture paramètres mixeur</translation>
</message>
@ -11534,8 +11661,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<message>
<location line="-308"/>
<source>http://wiki.openpilot.org/display/Doc/Erase+board+settings</source>
<translatorcomment>Wiki FR - Uploader</translatorcomment>
<translation>http://wiki.openpilot.org/x/SYBqAQ</translation>
<translation></translation>
</message>
<message>
<location line="+46"/>
@ -11639,8 +11765,7 @@ Double clic sur la légende ou le tracé pour afficher/cacher la légende.</tran
<message>
<location line="+38"/>
<source>http://wiki.openpilot.org/x/AoBZ</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/SYBqAQ</translation>
<translation></translation>
</message>
<message>
<location line="+7"/>
@ -12256,39 +12381,32 @@ La carte sera redémarrée et tous les paramètres effacés.</translation>
<translation>Affectations sorties</translation>
</message>
<message>
<location/>
<source>Engine</source>
<translation>Moteur</translation>
<translation type="vanished">Moteur</translation>
</message>
<message>
<location/>
<source>Select output channel for the engine</source>
<translation>Sélectionner le canal de sortie pour le moteur</translation>
<translation type="vanished">Sélectionner le canal de sortie pour le moteur</translation>
</message>
<message>
<location/>
<source>Aileron 1</source>
<translation>Aileron 1</translation>
<translation type="vanished">Aileron 1</translation>
</message>
<message>
<location/>
<source>Select output channel for the first aileron (or elevon)</source>
<translation>Sélectionner le canal de sortie pour le premier aileron (ou élevon)</translation>
<translation type="vanished">Sélectionner le canal de sortie pour le premier aileron (ou élevon)</translation>
</message>
<message>
<location/>
<source>Aileron 2</source>
<translation>Aileron 2</translation>
<translation type="vanished">Aileron 2</translation>
</message>
<message>
<location/>
<source>Select output channel for the second aileron (or elevon)</source>
<translation>Sélectionner le canal de sortie pour le second aileron (ou élevon)</translation>
<translation type="vanished">Sélectionner le canal de sortie pour le second aileron (ou élevon)</translation>
</message>
<message>
<location/>
<source>Motor</source>
<translation>Moteur</translation>
<translation type="vanished">Moteur</translation>
</message>
<message>
<location/>
@ -12360,6 +12478,16 @@ La carte sera redémarrée et tous les paramètres effacés.</translation>
<source>Mixer OK</source>
<translation></translation>
</message>
<message>
<location/>
<source>Motor 1</source>
<translation>Moteur 1</translation>
</message>
<message>
<location/>
<source>Vehicle frame</source>
<translation></translation>
</message>
</context>
<context>
<name>MultiRotorConfigWidget</name>
@ -12943,8 +13071,7 @@ Méfiez-vous de ne pas vous verrouiller l&apos;accès !</translation>
<message>
<location/>
<source>url:http://wiki.openpilot.org/x/hgAGAQ</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>url:http://wiki.openpilot.org/x/B4BYAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -13130,8 +13257,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+253"/>
<source>http://wiki.openpilot.org/x/WIGf</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/aoBqAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -13144,8 +13270,7 @@ p, li { white-space: pre-wrap; }
<message>
<location line="+226"/>
<source>http://wiki.openpilot.org/x/GgDBAQ</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/TYRNAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -14267,7 +14392,7 @@ Des valeurs trop élevées pour les contrôles principaux peuvent entraîner des
et même conduire au crash. A utiliser avec prudence.</translation>
</message>
<message>
<location filename="../../../src/plugins/config/inputchannelform.cpp" line="+138"/>
<location filename="../../../src/plugins/config/inputchannelform.cpp" line="+172"/>
<source>Chan %1</source>
<translation>Canal %1</translation>
</message>
@ -14276,6 +14401,16 @@ et même conduire au crash. A utiliser avec prudence.</translation>
<source>Text</source>
<translation type="unfinished">Texte</translation>
</message>
<message>
<location/>
<source>Channel value</source>
<translation>Valeur canal</translation>
</message>
<message>
<location/>
<source>Channel Value</source>
<translation>Valeur Canal</translation>
</message>
</context>
<context>
<name>ConfigVehicleTypeWidget</name>
@ -14307,8 +14442,7 @@ et même conduire au crash. A utiliser avec prudence.</translation>
<message>
<location line="+315"/>
<source>http://wiki.openpilot.org/x/44Cf</source>
<translatorcomment>Lien Wiki FR</translatorcomment>
<translation>http://wiki.openpilot.org/x/IIBqAQ</translation>
<translation></translation>
</message>
</context>
<context>
@ -14677,7 +14811,7 @@ It is suggested that if this is a first time configuration of your controller, r
Il est suggéré que si cela est une première configuration de votre contrôleur, plutôt que d&apos;utiliser cette option, sélectionnez à la place un ensemble de réglages qui correspond le mieux à votre propre appareil dans la liste ci-dessus. Si vous n&apos;êtes pas en mesure d&apos;en choisir un, sélectionnez l&apos;élément générique de la liste.</translation>
</message>
<message>
<location line="+77"/>
<location line="+85"/>
<source>Current Tuning</source>
<translation>Réglages Actuels</translation>
</message>
@ -15011,9 +15145,8 @@ p, li { white-space: pre-wrap; }
<translation>Multirotor - Quadricoptère X</translation>
</message>
<message>
<location line="+5"/>
<source>Multirotor - Quadrocopter H</source>
<translation>Multirotor - Quadricoptère H</translation>
<translation type="vanished">Multirotor - Quadricoptère H</translation>
</message>
<message>
<location line="+5"/>

View File

@ -32,6 +32,12 @@
#include <oplinkstatus.h>
#include <QMessageBox>
// Channel range and Frequency display
static const int MAX_CHANNEL_NUM = 250;
static const int MIN_CHANNEL_RANGE = 10;
static const float FIRST_FREQUENCY = 430.000;
static const float FREQUENCY_STEP = 0.040;
ConfigPipXtremeWidget::ConfigPipXtremeWidget(QWidget *parent) : ConfigTaskWidget(parent)
{
m_oplink = new Ui_OPLinkWidget();
@ -97,6 +103,14 @@ ConfigPipXtremeWidget::ConfigPipXtremeWidget(QWidget *parent) : ConfigTaskWidget
// Connect the selection changed signals.
connect(m_oplink->PPMOnly, SIGNAL(toggled(bool)), this, SLOT(ppmOnlyChanged()));
connect(m_oplink->MinimumChannel, SIGNAL(valueChanged(int)), this, SLOT(minChannelChanged()));
connect(m_oplink->MaximumChannel, SIGNAL(valueChanged(int)), this, SLOT(maxChannelChanged()));
m_oplink->MinimumChannel->setKeyboardTracking(false);
m_oplink->MaximumChannel->setKeyboardTracking(false);
m_oplink->MaximumChannel->setMaximum(MAX_CHANNEL_NUM);
m_oplink->MinimumChannel->setMaximum(MAX_CHANNEL_NUM - MIN_CHANNEL_RANGE);
// Request and update of the setting object.
settingsUpdated = false;
@ -318,6 +332,50 @@ void ConfigPipXtremeWidget::ppmOnlyChanged()
m_oplink->ComSpeed->setEnabled(!is_ppm_only);
}
void ConfigPipXtremeWidget::minChannelChanged()
{
channelChanged(false);
}
void ConfigPipXtremeWidget::maxChannelChanged()
{
channelChanged(true);
}
void ConfigPipXtremeWidget::channelChanged(bool isMax)
{
int minChannel = m_oplink->MinimumChannel->value();
int maxChannel = m_oplink->MaximumChannel->value();
if ((maxChannel - minChannel) < MIN_CHANNEL_RANGE) {
if (isMax) {
minChannel = maxChannel - MIN_CHANNEL_RANGE;
} else {
maxChannel = minChannel + MIN_CHANNEL_RANGE;
}
if (maxChannel > MAX_CHANNEL_NUM) {
maxChannel = MAX_CHANNEL_NUM;
minChannel = MAX_CHANNEL_NUM - MIN_CHANNEL_RANGE;
}
if (minChannel < 0) {
minChannel = 0;
maxChannel = MIN_CHANNEL_RANGE;
}
}
m_oplink->MaximumChannel->setValue(maxChannel);
m_oplink->MinimumChannel->setValue(minChannel);
// Calculate and Display frequency in MHz
float minFrequency = FIRST_FREQUENCY + (minChannel * FREQUENCY_STEP);
float maxFrequency = FIRST_FREQUENCY + (maxChannel * FREQUENCY_STEP);
m_oplink->MinFreq->setText("(" + QString::number(minFrequency, 'f', 3) + " MHz)");
m_oplink->MaxFreq->setText("(" + QString::number(maxFrequency, 'f', 3) + " MHz)");
}
/**
@}
@}

View File

@ -62,6 +62,9 @@ private slots:
void disconnected();
void bind();
void ppmOnlyChanged();
void minChannelChanged();
void maxChannelChanged();
void channelChanged(bool isMax);
};
#endif // CONFIGTXPIDWIDGET_H

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>834</width>
<width>971</width>
<height>652</height>
</rect>
</property>
@ -49,8 +49,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>810</width>
<height>575</height>
<width>949</width>
<height>558</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_5">
@ -72,14 +72,14 @@
<string>Configuration</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="4" column="3">
<item row="4" column="4">
<widget class="QComboBox" name="ComSpeed">
<property name="statusTip">
<string>Com speed in bps.</string>
</property>
</widget>
</item>
<item row="4" column="2">
<item row="4" column="3">
<widget class="QLabel" name="ComSpeedLabel">
<property name="font">
<font>
@ -95,7 +95,7 @@
</property>
</widget>
</item>
<item row="9" column="2">
<item row="9" column="3">
<widget class="QLabel" name="VCPPortLabel">
<property name="font">
<font>
@ -111,7 +111,7 @@
</property>
</widget>
</item>
<item row="7" column="3">
<item row="7" column="4">
<widget class="QComboBox" name="FlexiPort">
<property name="maximumSize">
<size>
@ -124,7 +124,7 @@
</property>
</widget>
</item>
<item row="6" column="2">
<item row="6" column="3">
<widget class="QLabel" name="MainPortLabel">
<property name="font">
<font>
@ -140,7 +140,7 @@
</property>
</widget>
</item>
<item row="6" column="3">
<item row="6" column="4">
<widget class="QComboBox" name="MainPort">
<property name="maximumSize">
<size>
@ -153,7 +153,20 @@
</property>
</widget>
</item>
<item row="0" column="3">
<item row="9" column="4">
<widget class="QComboBox" name="VCPPort">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Choose the function for the USB virtual com port</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QComboBox" name="MaxRFTxPower">
<property name="maximumSize">
<size>
@ -172,7 +185,7 @@
</property>
</widget>
</item>
<item row="0" column="2">
<item row="0" column="3">
<widget class="QLabel" name="MaxRFTxPowerLabel">
<property name="font">
<font>
@ -188,20 +201,10 @@
</property>
</widget>
</item>
<item row="9" column="3">
<widget class="QComboBox" name="VCPPort">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Choose the function for the USB virtual com port</string>
</property>
</widget>
<item row="10" column="4">
<widget class="QComboBox" name="FlexiIOPort"/>
</item>
<item row="10" column="2">
<item row="10" column="3">
<widget class="QLabel" name="FlexiIOPortLabel">
<property name="font">
<font>
@ -217,10 +220,29 @@
</property>
</widget>
</item>
<item row="10" column="3">
<widget class="QComboBox" name="FlexiIOPort"/>
<item row="6" column="1">
<widget class="QSpinBox" name="MaximumChannel">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>Channel 0 is 430 MHz, channel 250 is 440 MHz, and the channel spacing is 40 KHz.</string>
</property>
<property name="maximum">
<number>250</number>
</property>
</widget>
</item>
<item row="7" column="2">
<item row="7" column="3">
<widget class="QLabel" name="FlexiPortLabel">
<property name="font">
<font>
@ -252,22 +274,6 @@
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QSpinBox" name="MaximumChannel">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>Channel 0 is 430 MHz, channel 249 is 440 MHz, and the channel spacing is 40 KHz.</string>
</property>
<property name="maximum">
<number>249</number>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="MinimumChannelLabel">
<property name="font">
@ -286,6 +292,12 @@
</item>
<item row="7" column="1">
<widget class="QSpinBox" name="MinimumChannel">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
@ -293,10 +305,10 @@
</font>
</property>
<property name="toolTip">
<string>Channel 0 is 430 MHz, channel 249 is 440 MHz, and the channel spacing is 40 KHz.</string>
<string>Channel 0 is 430 MHz, channel 250 is 440 MHz, and the channel spacing is 40 KHz.</string>
</property>
<property name="maximum">
<number>249</number>
<number>250</number>
</property>
</widget>
</item>
@ -318,6 +330,12 @@
</item>
<item row="9" column="1">
<widget class="QSpinBox" name="ChannelSet">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
@ -328,7 +346,68 @@
<string>Sets the random sequence of channels to use for frequency hopping.</string>
</property>
<property name="maximum">
<number>249</number>
<number>250</number>
</property>
</widget>
</item>
<item row="10" column="0" colspan="2">
<widget class="QCheckBox" name="Coordinator">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="statusTip">
<string>This modem will be a coordinator and other modems will bind to it.</string>
</property>
<property name="text">
<string>Coordinator</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QLabel" name="MaxFreq">
<property name="maximumSize">
<size>
<width>110</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>440.000 (MHz)</string>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="MinFreq">
<property name="maximumSize">
<size>
<width>110</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>430.000 (MHz)</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="OneWayLink">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="statusTip">
<string>If selected, data will only be transmitted from the coordinator to the Rx modem.</string>
</property>
<property name="text">
<string>One-Way</string>
</property>
</widget>
</item>
@ -349,22 +428,6 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="OneWayLink">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="statusTip">
<string>If selected, data will only be transmitted from the coordinator to the Rx modem.</string>
</property>
<property name="text">
<string>One-Way</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="PPM">
<property name="font">
<font>
@ -380,22 +443,6 @@
</property>
</widget>
</item>
<item row="10" column="0" colspan="2">
<widget class="QCheckBox" name="Coordinator">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="statusTip">
<string>This modem will be a coordinator and other modems will bind to it.</string>
</property>
<property name="text">
<string>Coordinator</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>

View File

@ -25,7 +25,7 @@
<field name="OptionalModules" units="" type="enum" elementnames="CameraStab,GPS,Fault,Altitude,Airspeed,TxPID,Battery,Overo,MagBaro,OsdHk" options="Disabled,Enabled" defaultvalue="Disabled"/>
<field name="ADCRouting" units="" type="enum" elementnames="adc0,adc1,adc2,adc3" options="Disabled,BatteryVoltage,BatteryCurrent,AnalogAirspeed,Generic" defaultvalue="Disabled"/>
<field name="DSMxBind" units="" type="uint8" elements="1" defaultvalue="0"/>
<field name="WS2811LED_Out" units="" type="enum" elements="1" options="ServoOut1,ServoOut2,ServoOut3,ServoOut4,ServoOut5,ServoOut6,FlexiPin3,FlexiPin4,Disabled" defaultvalue="Disabled" />
<field name="WS2811LED_Out" units="" type="enum" elements="1" options="ServoOut1,ServoOut2,ServoOut3,ServoOut4,ServoOut5,ServoOut6,FlexiIOPin3,FlexiIOPin4,Disabled" defaultvalue="Disabled" />
<access gcs="readwrite" flight="readwrite"/>
<telemetrygcs acked="true" updatemode="onchange" period="0"/>