local tArgs = { ... }
if #tArgs == 4 then
    print('Setting coords directly...')

    tx.state.x = tonumber( tArgs[1] )
    tx.state.y = tonumber( tArgs[2] )
    tx.state.z = tonumber( tArgs[3] )

    -- not accepting a number, that would be ambigous
    facings = {}
    facings.s = 1
    facings.south = 1
    facings.w = 2
    facings.west = 2
    facings.n = 3
    facings.north = 3
    facings.e = 4
    facings.east = 4

    tx.state.o = facings[tArgs[4]]
elseif #tArgs == 1 then
    local level = tonumber( tArgs[1] )
    tx.gps_init(level)
else
	print( "Usage:" )
	print( "  init <x> <y> <z> <facing>" )
	print( "  init <level>" )
	return
end
tx.info()