getPos

fun getPos(isAuto: Boolean): DoubleArray

Returns the position as an Array of Doubles, 0 = x, 1 = y, 2 = h

Parameters

isAuto

specifies if the robot is in autonomous or teleOp