Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add camera uptilt to HUD settings #1814

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3453,6 +3453,12 @@
"osd_hud_wp_disp_help": {
"message": "Number of Wayponts to show on screen. 0 disables this feature."
},
"osd_camera_uptilt": {
"message": "Camera uptilt"
},
"osd_camera_uptilt_help": {
"message": "Set the camera uptilt for the FPV camera in degres, positive is up, negative is down, relative to the horizontal. Used for correct display of HUD items and AHI (when enabled)."
},
"osd_camera_fov_h": {
"message": "Camera Horizontal FOV"
},
Expand Down
7 changes: 5 additions & 2 deletions tabs/osd.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,11 @@ <h1 class="tab_title" data-i18n="tabOSD"></h1>
<input type="number" data-step="1" data-setting-multiplier="1" data-setting="osd_camera_fov_v" class="toggle update_preview" data-live="true">
<span data-i18n="osd_camera_fov_v"></span>
</label>


<div for="osd_camera_uptilt" class="helpicon cf_tip" data-i18n_title="osd_camera_uptilt_help"></div>
<label>
<input type="number" data-step="1" data-setting-multiplier="1" data-setting="osd_camera_uptilt" class="toggle update_preview" data-live="true">
<span data-i18n="osd_camera_uptilt"></span>
</label>
</div>
</div>
</div>
Expand Down