Anyone knows how to calculate distance traveled and how to get a 90 degree turn by the jga25 motor....
How many pulses per shaft revolution is the encoder? Divide that by 4 = 90°.
edit: It looks like the encoder outputs 12 pulses per motor revolution. To get pulses per output shaft revolution, multiply 12 times the reduction ratio of your motor.