Skip to content

Sequencer scripting#404

Draft
astronomerdave wants to merge 13 commits intoissue-363-slicecam-acquire-v2from
sequencer-scripting
Draft

Sequencer scripting#404
astronomerdave wants to merge 13 commits intoissue-363-slicecam-acquire-v2from
sequencer-scripting

Conversation

@astronomerdave
Copy link
Copy Markdown
Contributor

Implements a sequencer command language (SCL) to provide a safer controlled interface for users to issue commands to the instrument, either through individual commands or through custom scripting.

@astronomerdave astronomerdave requested review from prkrtg and scizen9 April 6, 2026 16:29
prkrtg and others added 9 commits April 7, 2026 11:24
Implements slicecam fine acquisition

* Introduced slicecam_math.cpp/h implementing centroid detection, WCS pix2world conversion, and angular offset calculations.
* Added a do_fineacquire loop to the Slicecam interface to automate target centering based on configurable aimpoints and background regions.
* Added FINE_ACQUIRE_AIMPOINT and FINE_ACQUIRE_BACKGROUND parameters to the daemon configuration.
* Replaces receiving a JSON message with the existing PUB-SUB mechanism
* Updated target_offset logic to better distinguish between TCS-direct offsets and ACAM-guided goal offsets.
* Renamed dothread_acquisition to do_acam_acquire and added atomic tracking for fine-acquisition locks and guiding states.
changes std::string to string_view where string not needed
moves wait_for_XXXX wrappers to a separate file
moves sequence building tools to a separate file
* adds subscriber topic handlers to sequencerd
* introduces a command handler header-only lib (WIP, not implemented)
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