Many people have already used the drive characterization toolsuite available on the RobotPy github.
We have just added an arm characterization toolsuite that works similarly. Now you can characterize your robot arms, hassle-free!
Technical details can be found in the readme.
EDIT: Special thanks to @Prateek_M for volunteering his time and effort to testing the new script on an actual robot to verify that it works.