Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Use ophyd oav edge detetion for grid determination #1214

Merged
merged 8 commits into from
Mar 6, 2024

Conversation

dperl-dls
Copy link
Collaborator

@dperl-dls dperl-dls commented Mar 4, 2024

@dperl-dls dperl-dls changed the title 1068 1213 use ophyd oav edge detetion for grid Use ophyd oav edge detetion for grid determination Mar 5, 2024
Copy link
Collaborator

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great. Other than the one comment this looks good enough for the time being. Obviously lots to tidy up still but happy to wait for #1219 for that

Comment on lines 96 to 99
tip_x_px, tip_y_px = yield from trigger_and_return_pin_tip(pin_tip_detection)
if tip_x_px is None or tip_y_px is None:
timeout = yield from bps.rd(pin_tip_detection.validity_timeout)
raise WarningException(f"No pin found after {timeout} seconds")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: Isn't this exactly what wait_for_tip_to_be_found does? Why not use that here?

Copy link
Collaborator

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great, thank you!

@DominicOram DominicOram merged commit fb4e728 into main Mar 6, 2024
9 checks passed
@DominicOram DominicOram deleted the 1068_1213_use_ophyd_oav_edge_detetion_for_grid branch March 6, 2024 10:44
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this pull request Aug 23, 2024
…Source/1068_1213_use_ophyd_oav_edge_detetion_for_grid

Use ophyd oav edge detetion for grid determination
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ophyd pin tip: Use for grid detection
2 participants