Skip to content
Open
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
42 changes: 31 additions & 11 deletions examples/egocap/frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ The page is built for an operator mid-take: the cameras fill it, and everything
calibration files are an advisory item and takes are allowed; on, they fail and hold recording. A change is
followed by an immediate read of the checklist. The calibration tools are listed beneath it, each opening its
own dialog (see "Calibration tools" below).
- *Display* holds this browser's own choices: *Show the hand view* (see [Hand view](#hand-view)) and the side
panel's width, then the keyboard shortcuts. Nothing on it needs the control token.
- *Display* holds this browser's own choices: *Show the hand view* (see [Hand view](#hand-view)), then *Show the
side panel* and the side panel's width, then the keyboard shortcuts. Nothing on it needs the control token.
- *Advanced* shows what the deployment runs with, read-only. Its *Capture checks* card names the thresholds takes are
judged by: whether a take marked bad is quarantined or flagged, the camera minimum rate, the frozen-stream limit,
the defaults file's name and SHA-256, and what the station file changed. They are set in files, never from the page.
Expand Down Expand Up @@ -372,22 +372,42 @@ The page is built for an operator mid-take: the cameras fill it, and everything
the number of takes of the batch changes, so it does not lag the bar above. It is read without the control token, so it never
carries the day's notes, and after a change of the station in use it shows nothing until that station's own
uptime has arrived.
- **Camera stage (middle).** It takes every pixel the bar above and the dock below leave. The head camera (the one named
`head*`, otherwise the first) takes the left two-thirds and the others stack on the right; each tile carries its name and
measured / advertised Hz and latency on the picture. A live take puts a red frame around the stage.
- **Camera stage (middle).** It takes every pixel the bar above and the dock below leave. The main camera (the one
assigned the ego role, otherwise the one named `head*`, otherwise the first) takes the left two-thirds and the others
stack on the right, in the order the session lists them; each tile carries its name and measured / advertised Hz and
latency on the picture, and in a small tile that caption wraps onto further lines inside the tile. A picture is
never cropped, so a tile shows black beside or above it where the tile's shape differs from the camera's. With
three 16:9 cameras the stage is filled when it is about 2.7 times as wide as it is tall; a narrower main column (a
wide side panel) leaves black above and below the pictures, a wider one beside them. A live take puts a red frame
around the stage.
- **Control dock (bottom).** Record / Stop-Save / Discard are large; an unset operator or control-token field leads the dock,
and once set shrinks to a quiet line. The dock hides the recording panel's own header and status line, since the bar
above shows them, and the panel draws the last take's outcome above the cameras, not here.
- **Side panel (right).** Always showing: the hand view on top while it is switched on, then the 3D tracking view, then
the raw tracking tables and session details (Details scrolls inside itself, so it and the 3D view are never pushed
off the screen; with the hand view above them a short window has no room for all three, and the side panel scrolls
to Details instead). **Drag the divider** between it and the main column
- **Side panel (right).** Open until the operator closes it: the hand view on top while it is switched on, then the 3D
tracking view, then the raw tracking tables and session details (Details scrolls inside itself, so it and the 3D
view are never pushed off the screen; with the hand view above them a short window has no room for all three, and
the side panel scrolls to Details instead).
- **Closing the side panel.** The button at the top of the divider, *Close side panel*, takes the panel and the
divider out of the page, and the cameras, the status bar and the controls take the full width. The same button
stays as a slim tab down the right edge of the page, now *Open side panel* (`SidebarToggle.tsx`); focus stays on
it, and a status line tells a screen reader what happened. *Show the side panel* in Settings, Display, is the same
switch. The choice is remembered in this browser (`sidebarOpen.ts`, `localStorage`, open if storage is blocked), and
so is the width while the panel is closed. The hand view's own setting is separate and is not changed by it.
- The panel's content is in the page only while it is open, so a closed panel draws nothing and the 3D view holds
no connection. The cost is that the 3D view starts again on opening, at its default camera position, and the
disclosures under Details are collapsed again.
- There is no keyboard shortcut for it. The recording shortcuts are single unmodified keys that act whenever no
text field has focus, a take in progress included, so a further key would rearrange the screen on a slip of the
finger; the button is reached with Tab and pressed with Enter or Space.
- **Resizing the side panel.** **Drag the divider** between it and the main column
to choose its width -- pulling left widens the panel and narrows the cameras, status bar and controls, and the other way
round. The divider also works from the keyboard (focus it, then Left / Right arrows, Shift for bigger steps, Home / End for
the limits) and double-click resets it. The width is clamped between 400 px and 1000 px and never leaves the main column
under 560 px; it is remembered in this browser (`localStorage`, silently the default if storage is blocked). The status
bar rearranges itself by the main column's width (chips drop to their own row when it is narrow). On a window under 900 px
there is no room for two columns, so the panel goes below the page and the divider is hidden.
bar rearranges itself by the main column's width, not the window's: the chips drop to their own row when it is narrow,
and the saved count and last take to a row under the task when it is narrower still. On a window under 900 px
there is no room for two columns, so the panel goes below the page and the divider is hidden; the open/close button
is then a bar across the page above the panel.
- The 3D view's iframe is never narrower than 640 px: Viser switches to a layout that hides its scene at 576 px and below, and
crashes its own page when resized across that breakpoint.

Expand Down
Loading
Loading