diff --git a/core/frontend/src/components/parameter-editor/RelaySetup.vue b/core/frontend/src/components/parameter-editor/RelaySetup.vue new file mode 100644 index 0000000000..60fe9a65f1 --- /dev/null +++ b/core/frontend/src/components/parameter-editor/RelaySetup.vue @@ -0,0 +1,94 @@ + + + diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionActuatorEditor.vue b/core/frontend/src/components/parameter-editor/ServoFunctionActuatorEditor.vue new file mode 100644 index 0000000000..b5d8285b5b --- /dev/null +++ b/core/frontend/src/components/parameter-editor/ServoFunctionActuatorEditor.vue @@ -0,0 +1,73 @@ + + + diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionEditorDialog.vue b/core/frontend/src/components/parameter-editor/ServoFunctionEditorDialog.vue index 0d45c98da7..7fc5b7b44a 100644 --- a/core/frontend/src/components/parameter-editor/ServoFunctionEditorDialog.vue +++ b/core/frontend/src/components/parameter-editor/ServoFunctionEditorDialog.vue @@ -23,110 +23,11 @@ :param="param" /> - - -
- Servo Range Configuration - - - Adjust the minimum, trim, and maximum PWM values for this servo - -
-
-
-
-
-
- {{ thumbType }}: {{ getThumbValue(index) }} -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -143,30 +44,26 @@ - - diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionGpioEditor.vue b/core/frontend/src/components/parameter-editor/ServoFunctionGpioEditor.vue new file mode 100644 index 0000000000..47bf6a26b1 --- /dev/null +++ b/core/frontend/src/components/parameter-editor/ServoFunctionGpioEditor.vue @@ -0,0 +1,182 @@ + + + diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionLightsEditor.vue b/core/frontend/src/components/parameter-editor/ServoFunctionLightsEditor.vue new file mode 100644 index 0000000000..a0a992ecb0 --- /dev/null +++ b/core/frontend/src/components/parameter-editor/ServoFunctionLightsEditor.vue @@ -0,0 +1,47 @@ + + + diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionMotorEditor.vue b/core/frontend/src/components/parameter-editor/ServoFunctionMotorEditor.vue new file mode 100644 index 0000000000..98626a119a --- /dev/null +++ b/core/frontend/src/components/parameter-editor/ServoFunctionMotorEditor.vue @@ -0,0 +1,137 @@ + + + diff --git a/core/frontend/src/components/parameter-editor/ServoFunctionRangeEditor.vue b/core/frontend/src/components/parameter-editor/ServoFunctionRangeEditor.vue new file mode 100644 index 0000000000..ed8bc5db60 --- /dev/null +++ b/core/frontend/src/components/parameter-editor/ServoFunctionRangeEditor.vue @@ -0,0 +1,509 @@ + + + + + diff --git a/core/frontend/src/components/vehiclesetup/PwmSetup.vue b/core/frontend/src/components/vehiclesetup/PwmSetup.vue index 00502c901c..62e6c35144 100644 --- a/core/frontend/src/components/vehiclesetup/PwmSetup.vue +++ b/core/frontend/src/components/vehiclesetup/PwmSetup.vue @@ -136,7 +136,7 @@ {{ convert_servo_name(item.name) }} - {{ stringToUserFriendlyText(printParam(item)) }} + {{ parameterToUserFriendlyText(item) }} {{ servo_output[index] }} @@ -156,6 +156,7 @@