Skip to content

Implement state/hw_state for pseudo to have same behavior than real motors

Valentin Valls requested to merge hw_state_for_pseudo into master

This PR try to normalize pseudo.hw_state the same way it is handled for real axis.

Previously, during a group move pseudo.hw_state was always MOVING during a whole group move.

What i have noticed between the actual behavior of hw_state and state for a normal axis is that:

  • state is always MOVING during a group move (based on .is_moving, which means there is a "moving" action, not that the axis is actually moving)
  • hw_state is supposed to be the actual state of the axis (the axis is actually moving)

This is maybe a regression, i can tell.

Merge request reports