Skip to content

Use protocols instead of devices for device composite types #1620

@olliesilvester

Description

@olliesilvester

Our common bluesky plans use concrete device types when specifying what device a plan requires. Often but not always, a plan would work so long as its devices followed a protocol, we don't need to restrict it to a specific type.

One example is the Smargon type for gridscans. In the bluesky code, we only need access to the omega motor (the motion script does the rest of the motion). We can replace the "smargon" type for these plans to be a protocol for any device which a motor called omega. With this, beamlines with a non-smargon gonio like vmxm can use these plans

Acceptance criteria:

  • Identify device types in plans which would be better as a protocol and list them on this issue
  • Replace with protocols

Metadata

Metadata

Assignees

No one assigned

    Labels

    EpicDescribes functionality delivered by other issues that describe the work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions