Skip to content

Commit

Permalink
Add serial gimbal settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jun 8, 2024
1 parent cc0d56a commit 0f307a2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions locale/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,21 @@
"configurationVTXLowPowerDisarmValue_2": {
"message": "Until first arm"
},
"configurationGimbal": {
"message": "Serial Gimbal"
},
"configurationGimbalSensitivity": {
"message":"Gimbal sensitivity"
},
"configurationGimbalPanChannel": {
"message":"Pan channel (yaw)"
},
"configurationGimbalTiltChannel": {
"message":"Tilt channel (pitch)"
},
"configurationGimbalRollChannel": {
"message":"Roll channel"
},
"portsHelp": {
"message": "<strong>Note:</strong> not all combinations are valid. When the flight controller firmware detects this the serial port configuration will be reset."
},
Expand Down
33 changes: 33 additions & 0 deletions tabs/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,39 @@
</div>
</div>

<div class="config-section gui_box grey config-gimbal">
<div class="gui_box_titlebar">
<div class="spacer_box_title" data-i18n="configurationGimbal"></div>
</div>
<div class="number gimbal_sensitivity_wrapper">
<input type="number" id="gimbal_sensitivity" name="gimbal_sensitivity" data-setting="gimbal_sensitivity" />
<label for="gimbal_sensitivity">
<span data-i18n="configurationGimbalSensitivity"></span>
</label>
</div>
<div class="number gimbal_pan_channel_wrapper">
<input type="number" id="gimbal_pan_channel" name="gimbal_pan_channel" data-setting="gimbal_pan_channel" />
<label for="gimbal_pan_channel">
<span data-i18n="configurationGimbalPanChannel"></span>
</label>
</div>
<div class="number gimbal_tilt_channel_wrapper">
<input type="number" id="gimbal_tilt_channel" name="gimbal_tilt_channel" data-setting="gimbal_tilt_channel" />
<label for="gimbal_tilt_channel">
<span data-i18n="configurationGimbalTiltChannel"></span>
</label>
</div>
<div class="number gimbal_roll_channel_wrapper">
<input type="number" id="gimbal_roll_channel" name="gimbal_roll_channel" data-setting="gimbal_roll_channel" />
<label for="gimbal_roll_channel">
<span data-i18n="configurationGimbalRollChannel"></span>
</label>
</div>
</div>
</div>



</div>

<div class="clear-both"></div>
Expand Down

0 comments on commit 0f307a2

Please sign in to comment.