update

fun update()

Updates the position data from the device. Call this each loop.