-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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.
b7c3b40
to
cbb4c86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
cbb4c86
to
97c593b
Compare
No description provided.