Skip to content

feat: the lens distance from 58 mm as on PICO OS, closer than 62 mm after its warning - #40

Merged
Xenolphthalein merged 2 commits into
mainfrom
feat/lens-58
Nov 24, 2026
Merged

Xenolphthalein merged 2 commits into
mainfrom
feat/lens-58

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

For overpressure/phoenix#121.

The lens distance goes from 58 mm, as on PICO OS. PICO OS's settings (IpdIndicatorLayout and DisplayFragment in 5.13.7's settings.apk) take 58 to 72 mm in 0.5 mm steps. Closer than 62 mm goes only once the wearer ticks the box of a warning that the lenses can press on the nose, and closing the panel clears the box. The motor stops by itself at 59.4 to 59.9 mm.

pico4-xr (2026.11.24)

  • pico4-lens moves from 58.00 mm. A move that ends at the motor's near end stop (state 2) is a finished move that reports where the lenses stopped; before, it was an error, so no target below the stop could succeed. Like PICO OS's gd32ipdservice, the tool asks nothing; the pages do.

pico4-monado (25.1.0-20)

  • pico4_panel_gate and pico4_panel_warning_after (pico4_lens_panel.h), and pico4_setup_ipd_gate (pico4_setup.h): a move closer that would end below 62 mm without the ticked box stops at 62, or stays where the lenses are when they are closer already, and shows the warning. Wider always goes. The warning stays while the lenses are at 62 or closer.
  • Overpressure Settings: the slider, ±0.5 and the presets from 58 mm, with an amber bar under 58 to 62. While the warning shows it takes the presets' row, and a press on it ticks or clears its box. Leaving the page or closing the dashboard clears it.
  • The first-run setup's lens page: the same gate, with the warning under the buttons. Entering the page clears the box.
  • close_warning in pico4_panels.hpp draws the warning for both.
  • lens_close_warning in our own words, in all 31 languages (machine-assisted like the others), and setup_ipd_range says 58 to 72 mm.

Checked

  • The C tests of both pages (the gate, the warning, the hit areas, the range) and test_lens_tool.py (58 mm frames, the near end stop) pass, and so do the texts test and build/versions.py check.
  • Both programs build with GCC 15 under -Werror in the packages' build environment. Their --render pages, with the new settings-lenses-close, -close-ticked, setup-ipd-close and -close-ticked, look as designed in English, German and Greek.
  • Not run on the headset yet.

…ge, and a move that ends at the motor's near end stop is where the lenses stopped, not a failure
…r than 62 mm only once its warning's box is ticked, on the settings' page and in the first-run setup
@Xenolphthalein
Xenolphthalein requested review from a team as code owners November 24, 2026 10:33
@Xenolphthalein
Xenolphthalein merged commit 65f7e58 into main Nov 24, 2026
22 checks passed
@Xenolphthalein
Xenolphthalein deleted the feat/lens-58 branch November 24, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant