I was attepting to show a new student some of the basics of using the integrated encoder on a NEO (Vortex in this instance because we plan to use them), and when trying to set a position or velocity conversion factor it would not work. I confirmed that there was an error, but could not narrow it down to which with the code below.
This would print “error present” in the RIOLog and the conversion would not work. Is there something I am doing wrong? The encoder read accurately so I don’t think I’ve done anything odd there. It just would not apply a conversion factor.