The syntax
if positions_dict[name]:
returns False
when positions_dict[name] = 0
, so that the motor name
is not moved. This is a bug as motor saved positions are commonly equal to 0
.
The syntax
if positions_dict[name]:
returns False
when positions_dict[name] = 0
, so that the motor name
is not moved. This is a bug as motor saved positions are commonly equal to 0
.