rednet.open("right") shell.run("gps", "host", x, y, z)The first line opens the modem for use.
The second line sets up the host. The x, y, and z are the hosts location. To get its location stand on the computer and press F3 use the x, y, and z that is displayed. Subtract 1 from y because you were standing on the computer.
When you have all this finished reboot the host and it should come up with
Position is X, Y, Z
Serving GPS Requests
Now every time you start Minecraft you GPS system is up and running. A boot disk was the simplest way to achieve this with out editing the main startup files.
Ok now to test it on a wireless turtle. Use the following code
term.clear() term.setCursorPos(1, 1 ) rednet.open("right") cx,cy,cz = gps.locate(10) rednet.close("right") print(os.getComputerLabel()) print("Current Position is") print("X = ",cx) print("Y = ",cy) print("Z = ",cz)
if all the above was done correctly the turtle should be displaying its name(if you gave it one) and its x, y, and z location.
After much testing and hair pulling I Discovered that all the GPS Computers and Turtles have to be at the same height or y position to Communicate with each other.