Skip to content

Mike/add fits writer#101

Open
mikelangmayr wants to merge 7 commits into
camera-2.0from
mike/add-fits-writer
Open

Mike/add fits writer#101
mikelangmayr wants to merge 7 commits into
camera-2.0from
mike/add-fits-writer

Conversation

@mikelangmayr
Copy link
Copy Markdown
Contributor

  • add async FITS writer
  • add output frame factory and hook it up
  • make default expose mode override-able

@mikelangmayr mikelangmayr changed the title Mike/add fits writer [WIP] Mike/add fits writer May 15, 2026
@mikelangmayr mikelangmayr requested a review from Kupaianaha May 15, 2026 23:22
@mikelangmayr mikelangmayr changed the title [WIP] Mike/add fits writer Mike/add fits writer May 18, 2026
Comment thread utils/fits_writer.cpp
Comment thread utils/fits_writer.cpp
Copy link
Copy Markdown
Collaborator

@astronomerdave astronomerdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a fits writer that @drriddle wrote and has been pretty successful for high-speed AO.

this->controller->is_camera_mode = true;

std::string target = ArchonExposureMode::SINGLE;
std::string target = this->default_exposure_mode_name();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I ask for an exposure mode that doesn't exist then this will silently give me some other mode.

Comment thread utils/fits_writer.cpp
if (!started_.load()) return ERROR;

// Cadence gate — skipped frames never enter the queue
if (cfg_.write_interval_ms > 0) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the decision to write outside of the fits writer, or else it's more than a fits writer. Camerad should make the decisions and once it gets to the fits queue, it's being written.

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.

3 participants