Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Simplify PseudoMotor configuration? #1702

Open
HEnquist opened this issue Oct 21, 2021 · 0 comments
Open

Simplify PseudoMotor configuration? #1702

HEnquist opened this issue Oct 21, 2021 · 0 comments

Comments

@HEnquist
Copy link

The configuration of a pseudomotor in the tango database is quite confusing and a bit redundant.

For example a slit has properties like this on the ctrl:

id: 3
motor_role_ids: 1,2
pseudo_motor_role_ids: 4,5

And the two axes then have:

axis: 1
ctrl_id: 3
elements: 1,2
id: 4

and

axis: 2
ctrl_id: 3
elements: 1,2
id: 5

To begin with, the pseudo_motor_role_ids property is never used, and only mentioned here where it's created: https://github.com/sardana-org/sardana/blob/master/src/sardana/tango/pool/Pool.py#L391
Can we remove it?

Then each axis has elements which duplicate the info from motor_role_ids. Do they actually need the elements or could that be removed? Now different axes can have different lists of elements. Is that a good thing? It might create some quite interesting problems..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant