Repository navigation
Conversation
…ts by exposure seconds Image-forward (square) bottom-right field now stacks "/ 420s" in Hanken 28 above the elapsed digits, right aligned in the same fixed box sized to "9999s" at 64, painted in the counter's text colour. The value band grows upward by that line; everything else is bottom-aligned and does not move. Sub bar and sub ring segments are drawn proportional to each image's exposure length instead of one unit per image: nina_plan_item_t gains exposure_s (Smart Exposure ExposureTime), nina_seg_t gains span (seconds, 1 when unknown so demo mode and plan-less sources draw as before). weight stays the image count for the fill maths. Row flex grow scales the widest span to 255; ring angles use span directly; the rebuild fingerprint includes it. Applies to every layout that draws segments on both families. Host test d2 added with the live astromele1 shape (L 240 s x 2, Ha 420 s x 1); 25/25 host tests pass.
feat: scale plan segments by exposure length
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Imaging plan segments now scale their length based on each image's exposure time, rather than a fixed unit. The dashboard's image-forward display also shows the total exposure length, offering a more accurate visualization of the imaging sequence.
Changes
nina_plan_item_tstructure includes a new field to store the exposure time in seconds for each plan item.nina_seg_tstructure stores the segment's span in seconds, used for proportional drawing.Analyzed 2 commit(s) | Updated: 2026-10-13T02:06:59.747Z | Generated by GitHub Actions