
MovieMaker
All you professional programmers. This is a Chalenge to you.
The algorythm below is what I am trying to accomplish on my robot.
It is NOT a program, but just an idea. If this works, we will have not only an autonymous robot, but one that will be able to LEARN and Improve over time.
Anyone is welcome to tackle it. If you succeed, please POST the code.
This should be changed into code and Placed inside your Navigation script.
Initialize
Set ConfidenceLevel to 3
#a group of any actions could be more or less than 16 but I have actions (0-15)
Actions:
0=sleep
1=Forward
2=Backward
3=TurnLeft
4=TurnRight
5=Spin Around
6=playExplore
7=LookCenter
8=LookLeft
9=LookRight
10=LookUp
11=LookDown
12=GiveTimeDateDay
13=checkSonars
14=Check4Lifeforms (ScanPIR)
15=Laugh
While navigating:
Generate Unique Random Number (RN) (0-15)
choose action (that random number)
Read LastMove
if last move=bad then (confidence level=confidenceLevel -1)
if last move=good then (confidence level equal ConfidenceLevel +1)
if ConfidenceLevel more than 3 then confidenceLevel=3
if ConfidenceLevel less than 0 then confidenceLevel=zero
if confidenceLevel greater than Zero then confidenceLevel=good
if confidenceLevel =zero then goback and generate New RN
and start over at the top
read status of sonars
if status= good then confidenceLevel =(confidenceLevel+1)
if status=good then preform Action
if status=bad then confidencelevel=(confidenceLevel-1)
if status=bad then goback and generate new RN
let lastmove=newmove
save status
save lastmove
We would also listen for the word "No!"
if we heard that, Confidencelevel would shrink to Zero
also we listen for the word "GOOD!"
if we heard that, confidencelevel would be equal to 3
This is a very CRUDE representation of this Algorythm, but,
By doing this, the robot could be trained and have More accuracy and Learning. he would be smarter.
He will know Good from Bad. Bad would be like running into something. Good would be clear path, etc.
Hope you understand what I am trying to accomplish. If I were a good programmer, it would have already been done.
Hope some of you can do this. It would REALLY help the robot to be more human like.
I have been trying this for the last 20 years of robot building. But, I am simply NOT a professional programmer.
Good LUCK!
It is ALL about programming. The only programming I took up in school was Fortran and CoBol. I would loved to have taken up C# and Java and VB and stuff like that.
side note:
(My homemade Marti (EZB) is doing so much more than my Qbo EVO Pro which is JUST SITTING THERE like the turtlebot I threw away.)
Fred, do you understand the CONCEPT of the point I was trying to make above?
Marti is working fine, except for Navigation and A.I. Maybe this script will help. who knows.
:-)
I guess you are trying to get it be like the AI software we both have from our club (dont mention the name) ,i want the same thing also,
Am i right about this
One main reason going to work on it,but it is a very long list of AI stuff to add from other software
SO it will take awhile to finish it for you and me
AND YES guys will post the code if i am able to make for everyone to use
I always will post all my codes for others to use,i dont see much code sharing on this site.
I see many many robot projects but ALMOST no codes to share ,WHY
Most people who really know how to program well are off making TONS of money enjoying what they do. They stay so busy there is not much time for family. But, BOY, D.J. and his team are Surely GOOD at what they do. And Fast!
I am glad you enjoyed the conversation. Hope that we can all make it fruitful.
God Bless!
I do know about AI ,been testing different AI software for a very long long time ,so far this maybe a good platform to add it too,but there is a lot of programming needed to make a true AI software.
Like the one i am using now no programming is needed,but wont work for EZB
so converting it to EZB AI will take a very long time,SCRIPTING and TXT file does make it a little easy
Also i dont know about the $AIsuccess how it compares to the ones used in AI software i have
since they are using many ,AI values we have are based on emotions ,mood ,random and more,
Maybe i can post a small part of the AI code and see if it can be done.
I think DJ said that the $AIsuccess is only random and ours also has a differents of levels ,like 1,2,3,4 depending on the mood or emotions or random
i guess only DJ can answer it,or make changes if he wants
What DJ was talking about with the $AIsuccess is the personality generator, there's noting stopping anyone from making a different personality generator/AI with different levels etc. Personality generator, at least on first looks, is a basic form of AI based on random numbers picking an action and code to avoid repeating the same thing too many times in a row. It'll work for some applications but those who want more lifelike, more of a freewill for their bots will be disappointed in it... but if you want a robot that advanced you have to put the time and effort in.
Hopping to convert some to EZB CODING
The software i has does almost freewill and more lifelike
Post you email and i will send you a link to the code,so DJ wont be mad,
Then you can take a look at it,it is a very long code like you said thatr AI HAS .
I want to try to use some or most in my favorate board of all time EZB
ATleast i hope it will be about the same or just have to use both systems
THOMAS did make a code to use both together ,but on the his post DJ said no posting
dont know why DJ OBJECTS about it,it uses the EZB
yhmmc>yahoo Dot com.
Thanks,
I meant RICH's email since he like to check out AI like me
Thanks
Merry Merry Christmas and Happy root beer, I mean NEW YEAR!
Watch out for tommorow the 21 off dec 2012. Supposed to be the end of the world according to some people. I don't believe it. But, it is a good day to watch out for Crazies.
Same to you. thanks for your concern.