in terkel/java/examples/ServoCalibrateUtility.java (comment . out the "@Disabled" above the ServoCalibrateUtility class
It will be under the autonomous opcodes.
It will show you the encoder counts as it moves the servos .
note, it will cycle thru all the servos, so if you hit the right or left bumper, it will go to the next servo (assuming you have put it in the configuration on your phone)
However, you must remember that in your coding, when you set position, it doesn't take the encoder count, it takes a value between 0 and 1, so you must divide the encoder count by 256.0
myservo.setPosition( (float)desiredEncoderCount/(float)256.0 );