Skip to content

Display motor position in Flint

Valentin Valls requested to merge valentin.valls/bliss:fix-motor-marker into master

Closes #1188 (closed), #1189 (closed)

This MR fixes Flint regression when using bliss command like goto_cen.

  • Create a MotorPosition item in Flint
  • Create an API in flint_api to update MotorPosition
  • Fix the bliss side to call the API
  • Add unittest for the API

Behaviour

  • There is a single motor marker per plot
  • It is updated every time it is requested
  • For a new scan, if the scan uses the same acquisition chain, the marker remains in place
  • To be visible (and updated) the plot have to use the motor channel as the x-axes
  • If it is not the case, the motor position is ignored displayed

Screenshot_from_2019-12-04_16-48-05

Edited by Valentin Valls

Merge request reports