DiamondLightSource / dodal

Ophyd devices and other utils that could be used across DLS beamlines
Apache License 2.0
2 stars 8 forks source link

Update adsim to ophyd_async #404

Open DiamondJoseph opened 5 months ago

DiamondJoseph commented 5 months ago

The AreaDetector simulator backed by the Epics AreaDetectorSimulator is split into three parts: dodal/src/dodal/devices/adsim.py contains a 5-axis MotorBundle; dodal/src/dodal/devices/areadetector/adsim.py contains a simulated detector; dodal/src/dodal/adsim.py is equivalent to a beamline. Having these maintained and using ophyd_async may enable fast testing of plan behaviour and would give an easily run up simulated beamline for local development.

Acceptance Criteria

DominicOram commented 1 month ago

The simulator is a generic EPICS thing, right? Would this make more sense inside ophyd-async @coretl?

DiamondJoseph commented 1 month ago

https://github.com/bluesky/ophyd-async/tree/main/src/ophyd_async/epics/adsimdetector

There is an adsimdetector in ophyd-async

DiamondJoseph commented 1 month ago

I've asked Zoheb to move this over and upgrade the adsim.py file that was kinda abandoned into a more standard "beamline" file: I'm not certain if it should be a "beamline" but I want to treat it equivalently so blueapi can run up locally with the simulator easily.

DominicOram commented 4 weeks ago

As part of this make sure https://github.com/DiamondLightSource/dodal/pull/737#discussion_r1711422672 has coverage