Cast target position to int.
The motor target position might be a numpy.float, which needs a cast to int before sending it to the icepap controller in libicepap/groups. Set a default dspace (Si111) for calculating energy.
The motor target position might be a numpy.float, which needs a cast to int before sending it to the icepap controller in libicepap/groups. Set a default dspace (Si111) for calculating energy.