GripperControl: added computeEncoderStates(...) function