Skip to content

Conversation

@mrosseel
Copy link
Collaborator

@mrosseel mrosseel commented Dec 8, 2025

No description provided.

mrosseel and others added 29 commits November 11, 2025 10:56
- PNG Processing: Changed sweep to save 8-bit processed PNGs using capture() method
- GPS Time Integration: Sweep now uses GPS datetime from shared_state
- Altitude Calculation: Added automatic altitude calculation from RA/Dec
- Metadata Saving: Implemented comprehensive metadata saving with save_sweep_metadata.py
- Progress Bar Fix: Updates progress for every image (not every 10th)
- Background Clamping: Modified SQM calculator to clamp negative backgrounds to 1 ADU
- Type Hints: Added proper Optional[] type hints for mypy compliance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Cedar-detect shared memory fix:
- Fixed intermittent FileNotFoundError when cedar-detect has shared memory issues
- Client now gracefully handles missing/stale shared memory
- Automatically falls back to non-shmem mode instead of crashing
- Updated tetra3 submodule with robust error handling

Variable shadowing fix:
- Fixed linter error where 'time' variable shadowed 'time' module import
- Renamed to 'obs_time' for clarity in altitude calculation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Problem:
- Exposure sweep showed "Capturing... ~20 sec" message for 3 seconds then quit
- UI returned to previous screen while sweep continued in background for ~20s
- User had no visibility into actual progress

Solution:
- Created new UIExpSweep module that shows real-time progress
- Monitors console_queue for "CAM: Sweep X/Y" progress messages
- Shows elapsed time and current progress
- Auto-exits when sweep completes ("CAM: Sweep done!")
- Updated capture_exposure_sweep() callback to push UIExpSweep onto stack

Now users see:
- Live progress counter (e.g., "Sweep 47/100")
- Elapsed time
- Automatic exit when complete

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@brickbots brickbots merged commit c293f0c into brickbots:main Dec 9, 2025
1 check failed
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.

2 participants