setPos

fun setPos(newX: Double, newY: Double, newH: Double, isAuto: Boolean)

Sets the current position.

Parameters

newX

new X

newY

new Y

newH

new H

isAuto

specifies if the robot is in autonomous or teleOp