Skip to content

Conversation

@mhasself
Copy link
Member

@mhasself mhasself commented Dec 18, 2025

Description

Main change is that the azonly argument in generate_scan is replaced by el_mode. Default behavior is the same, which is to leave elevation axis in Preset mode for the (type 1 or type 2) scan. But now you have the option to request el_mode="stop", which will put that axis in Stop for the scan.

The el_mode is also a "scan_param" whose default value can be set in config file and then updated using set_scan_params.

Note although there's an interface change here, the azonly argument does not appear to be used by anyone currently (it's not exposed through ocs-web, even). And the functionality it advertised was not correctly implemented.

Motivation and Context

This is a desired interim behavior for SATP2 while some issues with elevation drive are being investigated.

How Has This Been Tested?

Tested on ACU simulator software. Confirmed old default behavior is reproduced.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

This will cause the el axis to be kept in Stop mode for type 1 and 2
scans.  The default behavior remains the same as it always was -- the
el axis will be in Preset following the initial go_to the start
position.

The az_only argument in generate_scan was not working as advertised,
and does not appear to ever get used, anyway.
@mhasself mhasself marked this pull request as ready for review December 19, 2025 16:08
@mhasself
Copy link
Member Author

This has also been tested at site; works as designed.

@mhasself mhasself mentioned this pull request Dec 19, 2025
6 tasks
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@BrianJKoopman BrianJKoopman merged commit 0f3dd42 into main Dec 19, 2025
7 checks passed
@BrianJKoopman BrianJKoopman deleted the mhasself/az-only-scan branch December 19, 2025 20:14
@BrianJKoopman BrianJKoopman changed the title ACU: generate_scan supports el_mode='stop' ACU: Support el_mode='stop' in generate_scan Dec 19, 2025
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