Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickets/DM-46980: Add home dome SAL script for MT #238

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

cvillalon
Copy link
Contributor

No description provided.

@cvillalon cvillalon requested a review from tribeiro October 29, 2024 14:26
Copy link
Member

@tribeiro tribeiro left a comment

Choose a reason for hiding this comment

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

Some small comments.


if self.mtcs is None:
self.mtcs = MTCS(
domain=self.domain, intended_usage=MTCSUsages.Slew, log=self.log
Copy link
Member

Choose a reason for hiding this comment

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

I think you will also need the StateTransition usage.

intended_usage=MTCSUsages.Slew | MTCSUsages.StateTransition

metadata.duration = self.home_dome_duration

async def run(self):
await self.mtcs.enable()
Copy link
Member

Choose a reason for hiding this comment

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

It is probably not a good idea to call enable here.. they should have all components enabled or the script should fail.

Copy link
Member

@tribeiro tribeiro 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!

@cvillalon cvillalon merged commit 3e27256 into develop Nov 11, 2024
2 checks passed
@cvillalon cvillalon deleted the tickets/DM-46980 branch November 11, 2024 21:37
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