motor_characterization script for josé Ávila: encoder position in function of the indexer position.