- add_state_machine_state(sm, name, position=None, size=None, kind=SK.NORMAL, display=DK.GRAPHICAL)#
Create a state in a state machine.
- Parameters:
- sm
suite.StateMachine
Input state machine.
- name
str.StateMachine
Name of the state.
- position
Tuple
[float
,float
], default:None
Position of the state, expressed in 1/100th of mm. This value is considered if and only if the state machine has a graphical representation.
- size
Tuple
[float
,float
], default:None
Size of the state, expressed in 1/100th of mm. This value is considered if and only if the state machine has a graphical representation.
- kind
SK
, default:NORMAL
Kind of the state.
- display
DK
, default:GRAPHICAL
Layout of the state.
- sm
- Returns:
suite.State