diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f31a6249..ac36b68a 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -470,13 +470,22 @@ "message": "Board and Sensor Alignment" }, "configurationBoardAlignmentRoll": { - "message": "Roll Adjustment [deg]" + "message": "Roll Degrees" }, "configurationBoardAlignmentPitch": { - "message": "Pitch Adjustment [deg]" + "message": "Pitch Degrees" }, "configurationBoardAlignmentYaw": { - "message": "Yaw Adjustment [deg]" + "message": "Yaw Degrees" + }, + "configurationSensorAlignmentGyro": { + "message": "Gyroscope Alignment" + }, + "configurationSensorAlignmentAcc": { + "message": "Accelerometer Alignment" + }, + "configurationSensorAlignmentMag": { + "message": "Compass/Magnetometer Alignment" }, "configurationAccelTrims": { "message": "Accelerometer Trim" @@ -1031,7 +1040,7 @@ "message": "Motor Test Mode Notice:
Moving the sliders will cause the motors to spin up.
In order to prevent injury remove ALL propellers before using this feature.
" }, "motorsEnableControl": { - "message": "I understand the risks, propellors are removed - Enable motor control." + "message": "I understand the risks, propellers are removed - Enable motor control." }, "sensorsInfo": { @@ -1265,7 +1274,7 @@ "message": "Recovery / Lost communication" }, "firmwareFlasherRecoveryText": { - "message": "If you have lost comminication with your board follow these steps to restore communication: " + "message": "If you have lost communication with your board follow these steps to restore communication: " }, "firmwareFlasherButtonLeave": { "message": "Leave Firmware Flasher" @@ -1417,6 +1426,12 @@ "failsafeChannelFallbackSettingsHelp": { "message": "These settings are applied to invalid individual AUX channels or to all channels when entering stage 1. Note: values are saved in steps of 25usec, so small changes disappear" }, + "failsafeChannelFallbackSettingsAuto": { + "message": "Auto means Roll, Pitch and Yaw to center and Throttle low. Hold means maintain the last good value received" + }, + "failsafeChannelFallbackSettingsHold": { + "message": "Hold means maintain the last good value received. Set means the value given here will be used" + }, "failsafeStageTwoSettingsTitle": { "message": "Stage 2 - Settings" }, diff --git a/images/icons/cf_icon_roll.svg b/images/icons/cf_icon_roll.svg index c8e7d8fb..17901652 100644 --- a/images/icons/cf_icon_roll.svg +++ b/images/icons/cf_icon_roll.svg @@ -4,9 +4,15 @@ viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve"> - - + + + + + + + + diff --git a/images/icons/cf_icon_yaw.svg b/images/icons/cf_icon_yaw.svg index 17901652..c8e7d8fb 100644 --- a/images/icons/cf_icon_yaw.svg +++ b/images/icons/cf_icon_yaw.svg @@ -4,15 +4,9 @@ viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve"> - - - - - - - - + + diff --git a/js/gui.js b/js/gui.js index 3707fcd3..c93bda8e 100644 --- a/js/gui.js +++ b/js/gui.js @@ -287,8 +287,7 @@ GUI_control.prototype.content_ready = function (callback) { }); $('.cf_tip').each(function() { - $(this).jBox('Tooltip', { - content: $(this).children('.cf_tooltiptext'), + $(this).jBox('Tooltip', { delayOpen: 100, delayClose: 100, position: { diff --git a/tabs/configuration.css b/tabs/configuration.css index 4024c8c0..00bee329 100644 --- a/tabs/configuration.css +++ b/tabs/configuration.css @@ -202,7 +202,9 @@ border-bottom: 1px solid #ddd; } -.tab-configuration .number { +.tab-configuration .number, +.tab-configuration .select + { margin-bottom: 5px; clear: left; padding-bottom: 5px; @@ -211,7 +213,8 @@ float: left; } -.tab-configuration .number:last-child { +.tab-configuration .number:last-child, +.tab-configuration .select:last-child { border-bottom: none; padding-bottom: 0px; margin-bottom: 0px; @@ -361,12 +364,12 @@ } .tab-configuration .board select { - float: left; - width: 100%; + /*float: left;*/ + width: 50%; height: 20px; margin: 0 0px 2px 0; border: 1px solid silver; - brder-radius:3px; + border-radius:3px; } @@ -385,7 +388,7 @@ height: 20px; margin: 0 0px 2px 0; border: 1px solid silver; - brder-radius:3px; + border-radius:3px; margin-bottom: 20px; margin-top:3px; @@ -441,12 +444,17 @@ } .tab-configuration .sensoralignment { - width: 40%; + width: 60%; float: left; } .tab-configuration .board_align_content { - width: 60%; + width: 40%; + float: left; +} + +.tab-configuration .sensoralignment span { + width: 50%; float: left; } diff --git a/tabs/configuration.html b/tabs/configuration.html index e3cf87ad..763c1929 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -97,9 +97,7 @@
-
-
-
+
@@ -123,23 +121,32 @@
-
- +
+
-
- +
+
-
- +
+
@@ -283,9 +290,7 @@
-
-
-
+
diff --git a/tabs/configuration.js b/tabs/configuration.js index 61aca7cf..dc35c38b 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -231,9 +231,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) { $('.tab-configuration .sensoralignment').hide(); } else { for (var i = 0; i < alignments.length; i++) { - orientation_gyro_e.append(''); - orientation_acc_e.append(''); - orientation_mag_e.append(''); + orientation_gyro_e.append(''); + orientation_acc_e.append(''); + orientation_mag_e.append(''); } orientation_gyro_e.val(SENSOR_ALIGNMENT.align_gyro); orientation_acc_e.val(SENSOR_ALIGNMENT.align_acc); diff --git a/tabs/failsafe.css b/tabs/failsafe.css index 68093b67..93aad0a5 100644 --- a/tabs/failsafe.css +++ b/tabs/failsafe.css @@ -211,10 +211,31 @@ margin-right: 3px; } +.tab-failsafe .channelprimary { + float:left; + width:60%; +} + +.tab-failsafe .channelauxiliary { + float:left; + width:60%; + padding-top: 2px; +} + .tab-failsafe .channelname { margin-right: 3px; } +.tab-failsafe .channelsetting { + float:left; + width:25%; +} + +.tab-failsafe .auxiliary { + float:left; + width:15%; +} + .tab-failsafe .note { margin-bottom: 20px; } diff --git a/tabs/failsafe.html b/tabs/failsafe.html index ee768da0..1b0951b0 100644 --- a/tabs/failsafe.html +++ b/tabs/failsafe.html @@ -39,9 +39,7 @@
-
-
-
+
@@ -59,9 +57,7 @@
-
-
-
+
@@ -82,9 +78,7 @@
-
-
-
+
@@ -92,25 +86,19 @@
-
-
-
+
-
-
-
+
-
-
-
+
@@ -133,9 +121,7 @@ -
-
-
+
diff --git a/tabs/failsafe.js b/tabs/failsafe.js index 891bbed9..620c22fb 100644 --- a/tabs/failsafe.js +++ b/tabs/failsafe.js @@ -126,34 +126,31 @@ TABS.failsafe.initialize = function (callback, scrollPosition) { if (i < channelNames.length) { fullChannels_e.append('\
\ -
\ +
\ ' + channelNames[i] + '\
\ -
\ - \ +
\ \
\ -
\
\ '); } else { fullChannels_e.append('\
\ -
\ +
\ ' + chrome.i18n.getMessage("controlAxisAux" + (aux_index++)) + '\ ' + auxAssignment[aux_assignment_index++] + '\
\ -
\ - \ +
\ \
\ -
\ +
\
\ '); } diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 1f6365e5..26af8890 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -134,9 +134,7 @@
-
-
-
+