Issues with i19's OAV(s) have meant that it has had to be converted to K8s. This has broken the pin tip detection code in the IOC. We should be able to instead use the pin tip detection in the ophyd-async device.
To do this we will need to:
Acceptance Criteria
- We can trigger a pin tip centre in GDA again
Issues with i19's OAV(s) have meant that it has had to be converted to K8s. This has broken the pin tip detection code in the IOC. We should be able to instead use the pin tip detection in the
ophyd-asyncdevice.To do this we will need to:
PinTipDetection(https://github.com/DiamondLightSource/dodal/blob/dc0d8edea5ff4150d18a6be8f9a092468e43eec5/src/dodal/devices/oav/pin_image_recognition/__init__.py#L32) andOAVBeamCentrePV(https://github.com/DiamondLightSource/dodal/blob/dc0d8edea5ff4150d18a6be8f9a092468e43eec5/src/dodal/devices/oav/oav_detector.py#L300) devices (one for each OAV) toi19_1.pyand confirm they connect/dls_sw/i03/software/daq_configuration/json/OAVCentring_hyperion.json) - e.g. using https://github.com/DiamondLightSource/mx-bluesky/blob/510fb97274592a7c5904cf7e28d56aa86c03cff0/src/mx_bluesky/common/device_setup_plans/setup_oav.py#L14, which we should also move intododalas a device setup plan. Note that BlueAPI might not have access to the location of the.jsonfile in the file system so we may need to copy them into the scratch area for nowoav.beam_centre_iandoav.beam_centre_j(note this is a hack because it's hard to send info back to GDA, long term we should look at changing this)BL19I-EA-OAV-01:OVER:1:CenterXandBL19I-EA-OAV-01:OVER:1:CenterY(or equivalent for other IOC). These are the PVs thatbeam_centre_i/beam_centre_jmap tooAcceptance Criteria