Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4a4a56a
feat: convert configuration tab to vue and rebase from master
Erics1337 Dec 7, 2025
b27cef7
fix: Vue Migration: Servos & Serial (#4725)
Erics1337 Dec 9, 2025
95dc6f7
fix(ConfigurationTab): Resolve CodeRabbit review comments
Erics1337 Dec 9, 2025
6a60dc2
fix: features configuration table to fix styling issues and fix loca…
Erics1337 Dec 11, 2025
a8189c5
chore: remove legacy configuration tab HTML and JS files
Erics1337 Dec 11, 2025
efad061
Resolve conflict from rebase
Erics1337 Dec 11, 2025
0e78430
Add custom Capacitor plugin-socket for raw TCP support (#4471)
haslinghuis Dec 10, 2025
1d89613
fix(config-tab): improve table accessibility and fix headers
Erics1337 Dec 11, 2025
c833ab0
feat: Introduce 'Other Features' translation and help icon, and refin…
Erics1337 Dec 11, 2025
fd9045b
fix coderabbit comments
Erics1337 Dec 11, 2025
eb97517
Update src/components/tabs/ConfigurationTab.vue
Erics1337 Dec 11, 2025
70817eb
refactor: Make sensor alignment display conditional on API version, a…
Erics1337 Dec 11, 2025
171c355
fix: Conditionally display legacy sensor alignment options based on A…
Erics1337 Dec 11, 2025
32aeef1
Merge origin/master into vue-tab-config
Erics1337 Dec 12, 2025
f86ed05
Merge branch 'master' into vue-tab-config
Erics1337 Dec 12, 2025
b46d212
fix: Show Sensor Alignment box and fix magnetometer dropdown
Erics1337 Dec 12, 2025
76812cf
Address comments: Add custom magnetic alignment options, update gyro …
Erics1337 Dec 13, 2025
cd5ccd0
Address coderabbit comments: Implement custom roll/pitch/yaw alignmen…
Erics1337 Dec 13, 2025
aa2c8b3
feat: Remove custom gyro alignment angle inputs and associated data h…
Erics1337 Dec 13, 2025
5e11035
address coderabbit comments: correct feature list rendering, ensure a…
Erics1337 Dec 14, 2025
5cec5b0
address coderabbit comments: Update gyro frequency display key and co…
Erics1337 Dec 14, 2025
79d2e30
address coderabbit comments: add custom roll, pitch, and yaw alignmen…
Erics1337 Dec 14, 2025
dff3a81
address more coderabbit comments: Correct configuration help text ren…
Erics1337 Dec 14, 2025
951c214
fix: Rename "Other Features" UI section to "Sensor Configuration", up…
Erics1337 Dec 14, 2025
b1918fd
refactor: Separate magnetometer alignment section, update gyro alignm…
Erics1337 Dec 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 45 additions & 2 deletions locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,9 @@
"configurationFeatures": {
"message": "Other Features"
},
"configurationFeatureHelp": {
"message": "Help"
},
"configurationReceiver": {
"message": "Receiver"
},
Expand Down Expand Up @@ -1444,8 +1447,14 @@
"configurationSpiRxHelp": {
"message": "<strong>Note:</strong> The SPI RX provider will only work if the required hardware is on board or connected to an SPI bus."
},
"configurationOtherFeaturesHelp": {
"message": "<strong>Note:</strong> Not all features are supported by all flight controllers. If you enable a specific feature, and it is disabled after you hit 'Save and Reboot', it means that this feature is not supported on your board."
"configurationActiveImu": {
"message": "Active IMU"
},
"configurationSensors": {
"message": "Sensor Configuration"
},
"configurationSensorsHelp": {
"message": "Configure additional sensors and advanced features."
},
"configurationMagAlignmentHelp": {
"message": "The magnetometer alignment is the orientation of the magnetometer sensor on the flight controller board. The default is usually correct, but if you have a custom build or a flight controller with a different magnetometer orientation, you may need to adjust this setting."
Expand Down Expand Up @@ -1534,6 +1543,30 @@
"message": "$t(configurationBoardAlignmentYaw.message)",
"description": "Don't translate!!!"
},
"configurationGyro1AlignmentRoll": {
"message": "Roll Degrees",
"description": "Don't translate!!!"
},
"configurationGyro1AlignmentPitch": {
"message": "Pitch Degrees",
"description": "Don't translate!!!"
},
"configurationGyro1AlignmentYaw": {
"message": "Yaw Degrees",
"description": "Don't translate!!!"
},
"configurationGyro2AlignmentRoll": {
"message": "Roll Degrees",
"description": "Don't translate!!!"
},
"configurationGyro2AlignmentPitch": {
"message": "Pitch Degrees",
"description": "Don't translate!!!"
},
"configurationGyro2AlignmentYaw": {
"message": "Yaw Degrees",
"description": "Don't translate!!!"
},
"configurationSensorAlignmentGyro": {
"message": "GYRO Alignment"
},
Expand Down Expand Up @@ -1570,6 +1603,10 @@
"configurationSensorAlignmentDefaultOption": {
"message": "Default"
},
"configurationSensorAlignmentCustom": {
"message": "Custom"
},

"configurationAccelTrims": {
"message": "Accelerometer Trim"
},
Expand Down Expand Up @@ -1600,6 +1637,9 @@
"configurationGyroCalOnFirstArm": {
"message": "Calibrate Gyro on first arm"
},
"configurationGyroCalOnFirstArmHelp": {
"message": "When enabled, the gyroscope will be calibrated on the first arm after power on. This can help reduce gyro drift during flight."
},
"configurationMotorIdle": {
"message": "Motor Idle (%)"
},
Expand Down Expand Up @@ -7105,6 +7145,9 @@
"configurationGyroSyncDenom": {
"message": "Gyro update frequency"
},
"configurationGyroFrequency": {
"message": "Gyro update frequency"
},
"configurationPidProcessDenom": {
"message": "PID loop frequency"
},
Expand Down
1,384 changes: 1,384 additions & 0 deletions src/components/tabs/ConfigurationTab.vue

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/css/tabs/configuration.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
gap: 0.5rem;
.sensor_align_inputs {
display: flex;
align-items: center;
label {
white-space: nowrap;
display: flex;
align-items: center;
gap: 0.5rem;
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions src/js/fc.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,14 @@ const FC = {
gyro_to_use: 0,
gyro_1_align: 0,
gyro_2_align: 0,

gyro_1_align_roll: 0,
gyro_1_align_pitch: 0,
gyro_1_align_yaw: 0,
gyro_2_align_roll: 0,
gyro_2_align_pitch: 0,
gyro_2_align_yaw: 0,

mag_align_roll: 0,
mag_align_pitch: 0,
mag_align_yaw: 0,
Expand Down
13 changes: 3 additions & 10 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import CliAutoComplete from "./CliAutoComplete.js";
import DarkTheme, { setDarkTheme } from "./DarkTheme.js";
import { isExpertModeEnabled } from "./utils/isExpertModeEnabled.js";
import { updateTabList } from "./utils/updateTabList.js";
import { mountVueTab } from "./vue_tab_mounter.js";
import { mountVueTab, unmountVueTab } from "./vue_tab_mounter.js";
import * as THREE from "three";
import NotificationManager from "./utils/notifications.js";

Expand All @@ -27,12 +27,6 @@ import("./msp/debug/msp_debug_tools.js")
console.warn("Failed to load MSP debug tools:", err);
});

if (typeof String.prototype.replaceAll === "undefined") {
String.prototype.replaceAll = function (match, replace) {
return this.replace(new RegExp(match, "g"), () => replace);
};
}

$(document).ready(function () {
appReady();
});
Expand Down Expand Up @@ -216,6 +210,7 @@ function startProcess() {

// detach listeners and remove element data
const content = $("#content");
unmountVueTab();
content.empty();

// display loading screen
Expand Down Expand Up @@ -291,9 +286,7 @@ function startProcess() {
import("./tabs/setup_osd").then(({ setup_osd }) => setup_osd.initialize(content_ready));
break;
case "configuration":
import("./tabs/configuration").then(({ configuration }) =>
configuration.initialize(content_ready),
);
mountVueTab("configuration", content_ready);
break;
case "pid_tuning":
import("./tabs/pid_tuning").then(({ pid_tuning }) => pid_tuning.initialize(content_ready));
Expand Down
2 changes: 1 addition & 1 deletion src/js/msp/MSPHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import huffmanDecodeBuf from "../huffman";
import { defaultHuffmanTree, defaultHuffmanLenIndex } from "../default_huffman_tree";
import { updateTabList } from "../utils/updateTabList";
import { showErrorDialog } from "../utils/showErrorDialog";
import GUI, { TABS } from "../gui";
import GUI from "../gui";
import { OSD } from "../tabs/osd";

// Used for LED_STRIP
Expand Down
Loading