645 posts
Location
'Merica
Posted 14 April 2013 - 03:29 PM
SmartTurtleWell about a couple of weeks ago I started making my turtles be "Smart" (To me there still dumb) well if you look at my code you can tell I barely worked on it, but I thought I might as well just release it for some feed back. Please keep the feed back positive.
I've updated this to v0.5, now the turtle isn't so dumb anymore! Also it doesn't get stuck as much!
Added features and removed features.
Spoiler
Added- The turtle now compares left, right, and forward!
- WIP, New 0 for unlimited movement!
- Turtle now has to favorite either left or right, no option to do so now, it favors right until I add a config file.
Removed- Turtle going up and down.
- The old and stupid block detetion function I had.
- The goBack function, it was un-needed since I forgot there is turtle.back().
Screen ShotsSpoiler
Screen shots will be posted later! LinksLink* to
SmartTurtle in pastebin.
I didn't feel like making it downloadable
YET, when I get around to it will be downloadable.
Now I do not care what you do with my program, as long as you do not clam it as yours, its open source, fill free to modify it in anyway, just make sure not to take full credit.
Note: This project will be abandoned if no one reply's or give's feedback, to me no feedback means no one likes it.
1583 posts
Location
Germany
Posted 14 April 2013 - 03:51 PM
Cool Idea but I have an Idea too ^^
The Turtle select all slots (1-16) check if fuel is in the slot an then refuels (or goes to the next slot, and restart the refuiling try)
please correct my english, beceause i know it's not the best because english isn't my nativ language, and I still learn English (In the moment I learn how the past progressive works) ^^
645 posts
Location
'Merica
Posted 14 April 2013 - 04:07 PM
The reason I have the fuel slot set to 16, is because the final program will be able to build a shape, and or mine to make that shape, so it will need those extra slots for its building supplies.
But thanks for the feed back.
1583 posts
Location
Germany
Posted 14 April 2013 - 04:15 PM
The reason I have the fuel slot set to 16, is because the final program will be able to build a shape, and or mine to make that shape, so it will need those extra slots for its building supplies.
But thanks for the feed back.
Oh, okay.
Against that, I can see that you are a pro (Not anybody can program a shape building Turtle) ^_^/>
645 posts
Location
'Merica
Posted 14 April 2013 - 04:20 PM
Lol I wouldn't call myself a "Pro", but thanks. Also its kinda hard, but also kinda easy to get a turtle to build a shape, it just requires a lot of lines, since I'm going to have to let the user choose from at least 4 different shapes.
37 posts
Location
Scotland
Posted 15 April 2013 - 02:17 PM
How about scanning a previously made shape into internal memory then building it again and again that would be impressive would do it myself but don't think I have enough experience yet :)/>
as for detecting back make a function that turns then detects :)/> called detectBack()
645 posts
Location
'Merica
Posted 16 April 2013 - 06:07 PM
Hmm… scanning a shape… I don't think you can, since turtles are blind, well I could save the values of the shape though.
37 posts
Location
Scotland
Posted 17 April 2013 - 03:10 AM
Hmm… scanning a shape… I don't think you can, since turtles are blind, well I could save the values of the shape though.
That is what I mean store a 3D array in the turtles memory which can store the shape although it would have to calculate some blocks based off lengths and heights etc.
645 posts
Location
'Merica
Posted 17 April 2013 - 03:41 AM
^
Maybe in a future update, I will work on that a little, but for now (when the option to build shapes comes out) it will save the variables for the chosen shape then let you choose a saved shape.
37 posts
Location
Scotland
Posted 21 April 2013 - 11:47 AM
Yes I knew it would not be in the near future :)/> just trying to give you some ideas and possibly something to aim for in the future :)/>
645 posts
Location
'Merica
Posted 19 May 2013 - 03:49 PM
Yes I knew it would not be in the near future :)/> just trying to give you some ideas and possibly something to aim for in the future :)/>
I'll start working on that, tbh I haven't worked on it at all lately, but based on the amount of views on this topic on on the pastebin link, it seems people like it, so I will start working on it again
EDIT: I didn't start working on it, sorry, though I'm really am going to start on it now.
645 posts
Location
'Merica
Posted 07 June 2013 - 06:20 PM
Updated to v0.5… I rewrote the detection function, so it actually is smarter now :)/> (Than before)