THE FUNCTION WORKS! (typecast & rounding errors)
Merge branch 'autonomous' into competition
Apply function to user control and need to limit