This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Matt21's profile picture

TurtlesWG - Wireless turtle controler

Started by Matt21, 11 November 2012 - 04:42 AM
Matt21 #1
Posted 11 November 2012 - 05:42 AM
[Sorry for my bad english]

Hello, this is my new program to remote control turtles.


green = out in the latest version
red = experimental
orange = work in progress
blue = planned in futures versions

Features:
- Control turtles with wireless from a computer.
- Send commands to a turtle to move it step by step or directly to a specified location.
- Send command to make it mine and change the selected slot in the turtle's inventory.

- If the turtle is lost, you can print her position in the computer.
- The turtle calculates herself her position
- You can enter commands directy in the turtle

How to use it:
1)Download the program
2)In a computer, enter "turtlesender"
3)Enter the turtle's id
4)In a turtle, enter "turtlewg"
5)Enter the X,Y,Z positions of the turtle.
6)Enter the computer's id.
7)Enter commands in the computer.
8)Have fun! :unsure:/>/>/>

Commands:


turnLeft : turn the turtle at 90° to left of it
turnRight : turn the turtle at 90° to right of it
forward* : forward 1 block
backward* : backward 1 block
dig : mine the in front of the turtle
digUp : mine the block on the top of the turtle
digDown : mine the block under the turtle
up* : go up 1 block
down* : go down 1 block
placeUp : place a block on the turtle
placeDown : place a block under the turtle
selectX : (replace x by a number between 1 and 9) select the slot X of the turtle's inventory
go2;X;Z;goUp?* : go to a specific location (args: X : the X pos where the turtle need to be, Z : the Z pos where the turtle need to be, goUp? : if you enter "yes", then the turtle go up to Y: 128 to avoid obstacles, and it go down to the start Y position after the task.

homeYes* : go to the positions entred on the program start and up to 128 during the displacement
homeNo* : go to the positions entred on the program start and don't up to 128 during the displacement
lost : print the position of the turtle in the computer
stopall : stop the current action of the turtle
connectTest : test the rednet connection between the turtle and the computer
tnt : drop a lit TNT under the turtle

* Warning : If the turtle block on a obstacle, she calculate always her position and it will be offset with the true positions!

Changelog:

1.0 Created program ^_^/>/>/>

1.1 Added command "lost"


Downloads:

v. 1.0 : www.bit.ly/Qwx1Cq
v. 1.1 : www.bit.ly/TC4atc

Notes:

(only on the version 1.0) The file "turtlesender" is universal. You can use it for your program or for an other program.

If you found any bug, contact me (admin@minecraftmtb.netne.net) or reply this topic.

Project paused for now.
——————-
MathManiac #2
Posted 11 November 2012 - 06:05 AM
Looks very interesting!
Matt21 #3
Posted 11 November 2012 - 06:08 AM
Thanks you :unsure:/>/>
Espen #4
Posted 11 November 2012 - 06:47 AM
I'm curious, what does the "W" in TurtlesWG stand for?
Matt21 #5
Posted 11 November 2012 - 06:56 AM
It's "Turtules Will Go"
Espen #6
Posted 11 November 2012 - 08:06 AM
It's "Turtules Will Go"
Ah ok, makes sense. Thanks :unsure:/>/>
Matt21 #7
Posted 12 November 2012 - 12:47 AM
1.1 Out!

Changelog:
Added command "lost"
Northfleet #8
Posted 22 January 2013 - 06:31 AM
Looks cool, will test!
jadester2 #9
Posted 22 January 2013 - 12:54 PM
This is so fun to play with :)/> I was just wondering i it was possible to make it so that IF your turtle is wireless and you have a gps system (Mines on a fake satellite so i call it my gps satellite -_-/>) the turtle could auto detct its x, y, z? just thought that would be epic :D/>
Rubbed #10
Posted 24 January 2013 - 01:13 PM
Here is the pastebin links if you want to save 60 seconds of your lives, I don't know why the poster didn't use pastebin, but idk what was going on in his head.
Turtlesender: RhWcgaNi
TurtleWG: Gs1KAhc1
There you go. :)/>
popcorn416 #11
Posted 07 February 2013 - 11:11 AM
Hey,
i think TurtlesWG is really nice but i also think im an idiot :D/>

So, i do all what in your install guide is. But my turtle doesnt do what i say :(/> Except of go2 he does nothing… and by go2 he turns himselve tha hole time :(/> Why?

I hope im an idiot and TurtlesWG work for me the next days tooo :)/>
Matt21 #12
Posted 29 October 2013 - 10:46 AM
This program is totally outdated.

But I will try to update it in the few coming days!
Zudo #13
Posted 29 October 2013 - 11:39 AM
Change the green to something else plz, it hurts my eyes…