Skip to content

SSW-3052: Create script to perform M2 rigid body motions. - #250

Merged
tribeiro merged 4 commits into
developfrom
tickets/SSW-3052
Oct 12, 2026
Merged

tribeiro merged 4 commits into
developfrom
tickets/SSW-3052

Conversation

@tribeiro

@tribeiro tribeiro commented Oct 9, 2026

Copy link
Copy Markdown
Member

No description provided.

@edennihy edennihy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

First set of of comments to consider.



class WarmUpM2(salobj.BaseScript):
"""Warm up the M2 mirror after it has been idle for a long time.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might want to be clear here that we're not warming up the M2 mirror glass, maybe we could say Warm up the M2 mirror rigid support system to differentiate?

and negative directions. It moves in discrete steps, adapting the step
size based on the result of each movement.

This is the M2 equivalent of `WarmUpHexapod`. Since

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Again, can say M2 rigid support equivalent

def __init__(self, index, remotes: bool = True):
super().__init__(
index=index,
descr="Warm up the M2 mirror by moving it to its extremes in "

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above, Warm up the M2 mirror support system

Comment thread python/lsst/ts/externalscripts/maintel/warmup_m2.py Outdated

self.m2_name = "m2"
self.move_timeout = 60.0
self.aget_timeout = 5.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you just use the fast_timeout here?

Comment thread python/lsst/ts/externalscripts/maintel/warmup_m2.py
Comment thread python/lsst/ts/externalscripts/maintel/warmup_m2.py
Comment thread python/lsst/ts/externalscripts/maintel/warmup_m2.py

return False

async def _unmute_alarm(self, is_mutted: bool, alarm_name: str) -> None:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we don't expect the CSC state to change during the script, we should remove this method as well.

Comment thread python/lsst/ts/externalscripts/maintel/warmup_m2.py

@edennihy edennihy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved.

@tribeiro
tribeiro merged commit 8cf7e02 into develop Oct 12, 2026
4 checks passed
@tribeiro
tribeiro deleted the tickets/SSW-3052 branch October 12, 2026 21:06
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