Skip to content

Added some safety interlocks and added the Powersupply tab in GUI#2

Open
Sayan-Dhani wants to merge 3 commits into
pisaoutertracker:mainfrom
Sayan-Dhani:fix-safely-and-coldroom-power-supply
Open

Added some safety interlocks and added the Powersupply tab in GUI#2
Sayan-Dhani wants to merge 3 commits into
pisaoutertracker:mainfrom
Sayan-Dhani:fix-safely-and-coldroom-power-supply

Conversation

@Sayan-Dhani

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread coldroom/safety.py
try:
if "marta" not in system_status:
return False
fsm_state = system_status["marta"].get("fsm_state", "")

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.

need to check OT open and not just pixel!

Comment thread coldroom/safety.py Outdated

log_msg = f"Soft interlock: LV_on={lv_on}, MARTA_OT={marta_ot}, MARTA_IT={marta_it}"

if lv_on and not marta_on:

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.

the whole point of checking differently IT vs OT is that one should only allow LV on when MARTA OT is on... why you make the OR again?!?

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