Patent attributes
A device is provided that comprises a hardware segment and an actuator to adjust a position of the segment within a range of positions. The device also comprises an encoder to rotate about an encoder axis responsive to the actuator adjusting the position. The device also comprises data storage that includes a dataset indicating offset angles between a reference configuration and a plurality of configurations of the encoder. The device also comprises a controller to cause the actuator to adjust the position to an end of the range of positions, responsively identify a range of encoder positions of the encoder that corresponds to the range of positions of the segment, modify the dataset such that the reference configuration corresponds to an end of the range of encoder positions, and determine a mapping between the offset angles indicated by the modified dataset and the range of positions of the hardware segment.