SmartDashboard virtual encoder

made a virtual encoder that gets the values we give it on the
SmartDashboard