new demo on the way

  • 11 Replies
  • 345 Views
*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
new demo on the way
« on: November 10, 2017, 12:20:31 pm »
Ive got the next week all planned out.  This will be a continuous thread,  sorry for the abrupt making of threads up till now, ive definitely got something solid to do this time.

Heres a screen shot of yesterday and todays work,  next on i need animation and then im going to code the bots brain,  and its all organized start to finish I know it pretty well now.   And ive taken a bit out of the brain design which should give me something easier to make right now.  Because Ive gone a long time with no results, and I think its time to actually implement something.




*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #1 on: November 10, 2017, 01:17:04 pm »
heres the algorythm for the robot,  id like to just add, an algorythm is one of these, most people think methods are algorythms, but they are not,  algo -rythm means algo-pain rythm-beating,  so i think its reserved for reinforcement learning, which is a method in itself,  but not all methods are algorythms.

int rule(SORROUNDING OBJECTS)
{
 //BACKFLIPS
  score higher if he manages a 180.
 
 //SPEED
  score higher if he goes quicker.

//SECRECY
 score lower if someone sees him 
 score lower if he makes too much noise.

//HARM HURT
 score lower if it gets hit too hard.
 score lower if the enemy gets hit too hard.  (cant tell if he hurt, but he can tell the force!)

//RIOT PROGRAM
 score lower for proximity of enemy to ally
 score higher if its between enemy or ally.
 score higher if the derivative of the enemy is going away from the scene

//FOLLOW
 score higher if you spot the following character
 score lower if you have not spotting the following character

//CHARGING
 score lower if the battery is low
 score higher if you have spotted a power plug
 score higher the closer the tendril is to the power plug.  (error,  it doesnt quite have the 3d power to know this non approximately, and it has to see it.)
 score lower if you battery is charged and your still in the power plug.

 //POSSESSIONS
 score lower if a novelty is near something thats old that is always around you.
 START A TIMER ->  score higher if he gets away from it

 //LOOKING FOR TROUBLE
 score higher for seeing someone new
 score lower if he hasnt seen someone new for a while

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
but theres more to do to make him fully useful->

 // ATTACK ON COMMAND    (AUDIO TRAIN THE VOICE COMMAND,  OR TRAIN THE SIGN LANGUAGE.)
   //ON A TIMER -> score higher for altitude and proximity to enemy
 //DEACTIVATE ON COMMAND
 //RETURN TO BASE ON COMMAND.

 //PICK UP AND DELIVERY???   
}

*

8pla.net

  • Trusty Member
  • *********
  • Terminator
  • *
  • 871
    • 8pla.net
Re: new demo on the way
« Reply #2 on: November 10, 2017, 01:27:22 pm »
Friend,

May I suggest, chase and evade algorithms?
My Very Enormous Monster Just Stopped Using Nine

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #3 on: November 10, 2017, 01:35:44 pm »
That could be fun to watch,    I guess if you make it interested in an object, it will definitely go after it - and the opposite, make it repulse.

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #4 on: November 10, 2017, 03:08:13 pm »
just for fun,  i was working on the parallax occlusion mapping "hologram" of the bot and it went skinny and a swasticross!



The technique im using is hit the ground, then sample backwards,   if most things are near the ground it works okish,  100 samples, and 40 samples to gain the surface detail,  and its double sided displacement mapping, so everything has a bottom as well as a top.

When its all done, im going to go over the graphics render, and bring it up nice and moody and realistic at the end.   All I have to do at the beginning is make sure the detail is there, then lighting takes care of the rest. 

my spidder model->
https://www.youtube.com/watch?v=pm8FMuu8pEU&feature=youtu.be

Ill have him fully ragdoll by tomorrow evening - then its onto the a.i.!
« Last Edit: November 10, 2017, 06:12:21 pm by ranch vermin »

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #5 on: November 13, 2017, 02:21:54 pm »
UPDATE.   sorry Since the blow I took to my head, everything is a little harder to get through, and im stuck on the mouse picker,   I should get it finished tonight then a bit more on collision detection and model rotation then im onto the brain!

https://www.youtube.com/watch?v=c3lnG5W3ffQ&feature=youtu.be

*

8pla.net

  • Trusty Member
  • *********
  • Terminator
  • *
  • 871
    • 8pla.net
Re: new demo on the way
« Reply #6 on: November 13, 2017, 05:19:53 pm »
Thanks for the update.
It's looking good so far.
My Very Enormous Monster Just Stopped Using Nine

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #7 on: November 13, 2017, 05:42:13 pm »
No, thankyou for watching.  :)

Its coming along,  i wouldnt say nicely, but maybe half nicely.       Im pretty sure ill be onto the actual ai tomorrow,  just a bit more work on the simulation to go. (BORING!!!)

https://www.youtube.com/watch?v=XVlhTx2h7-c&feature=youtu.be
https://www.youtube.com/watch?v=NKlQRYJGc7w&feature=youtu.be
« Last Edit: November 13, 2017, 06:17:27 pm by ranch vermin »

*

LOCKSUIT

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1148
  • First it wiggles, then it is rewarded.
    • Enter Lair
Re: new demo on the way
« Reply #8 on: November 13, 2017, 07:57:39 pm »
What's this thing gonna do though, really? Is it going to talk back to us, and tell us what to do to stop deaths? Or, achieve intelligent behavior and come out of the simulation?

Come on Ranch, before anymore of us dye.

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #9 on: November 13, 2017, 10:58:51 pm »
Ok I just wrote most the brain code,  but theres a bit left to do.

Theres 2 main weaknesses here.

A) having to fit 400 bit keys into a space that would fit a 21 bit key,   

B) A very brittle response from whole states only at once, only 1 key over time, but with near matching (through exact matching of LODS) instead of actually having the space chained with the time with a whole screen accesses over time.

SO. pros.

a)  I might get a bit of time before the array overloads, so it could work fine for a while, but how long I dont know.

b) Near matching whole time states may be an equivilent but different method to "invent states" so I dont have to do all those extra space accesses - not only processing is wasted, they actually all chain wrong as well and its horribly difficult!

Other than those 2 issues It is quite close to my finished original idea, which I think could run a quite a good robo army,  or looking after a farm automatically, once I get this system going, just know it takes more brainy knowhow to know how to use it,  and what to get out of it - as well as to make it.   which can be easily also stuffed up!!!  (when taking this whole send us to the future thing AS A WHOLE which is happening right now.)

You could try to escape a bad situation by making a dummy version of yourself that hides in the bush and runs out so they run after him instead of you.
You could give your whole house a predictive brain that knows when your cooking dinner and going to bed, and when to feed the birds out the back.

What this "machine learning" gives us,  we all come up with very similar ideas,  but Its great to see actually done, instead of just talked about.

So give me a couple of more days and ill have a few more updates,  I promise this will be resolute by the 23rd this month, it being november MAX.  whether it works, half works, or fails pretty bad ill be posting HERE - and ill be proud anyhow it goes!

Having a 400 bit key for it,  definitely seems like enough to me,  you could fit a good portion of the scene in front of it in "memory particles" on an SDR field, it kinda sees the world like how it sees itself.   But the problem is my limited SUPER ACCESS SPEED SPACE ? :) only gives me 21 bits to wrap the key over, so it eventually will stuff up a read,   so how long it takes for this to happen i dont know.

And will rectifying the problem, slow the whole process down so it doesnt run anymore....        but im not worried,  this is important for me to try out.

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #10 on: November 14, 2017, 05:59:11 am »
apart from the full offload to the gpu with a change of plans,   heres what the rule function turned into half coded.   but the population tester function is just about finished,  this is the motivation code slowly taking shape with a double loop of the environment to the environment which is a bit annoying cause i have to run the bugger every step of series and parallel.

uint rule(BOTKEY botkey, ENVKEY envkey, uint lod, POPINTMEM intmem)
{
 uint score=0;

 //1 point.   3x8 depth data,  3 bit id.  (just have friend and foe at first.)

 //LEADER,FRIEND,STRANGER,FOE

 //ok so weve got a prob,  it isnt enough topology information actually - if u had a camera on all sides of the robot, it would get
 //a better scene.

 //PHYSICAL CHESS AREA

 //BACKFLIPS 
 bool flipped=false;
 //did i flip? check the route, and compare to the old key.
 
 //SPEED     
  // score higher if he goes quicker.     this is combating against the battery used???  so maybe itll just make a nothing score.
 //the route in front has a velocity to it?
 float speed=0;  //check the speed in the route.
 score+=speed;

 //CONSERVATION
 //this hacks at robots speed score the lower the battery is.
 score-=intmem.battery*speed;

//HARM HURT  THIS IS LOOKING AT ACCELLERATION of everything!!!!   
  // score-=selfaccelleration;
  // score-=opponentaccelleration;  (it even hates looking at people getting hurt.)

 uint g;
 for(g=0;g<lod;g++) //go through the objects in the seen.
 {
  //SECRECY
   //stranger or foe  downscore INDEPENDANT OF POSITION. and reset timer
   //UPSCORE ally INDEPENDANT OF POSITION and reset timer
   //DOWNSCORE IF EITHER TIMER REACHES TOO HIGH.
   //then further downscore for proximity of an enemy unit to an ally unit
       
  //upscore for enemy unit to be moving away - (it has its velocity subtracted from it.)
 
 
  uint h;
  for(h=0;h<lod;h++)
  {
   //AM I ALLY VERSUS ENEMY
   //CHECK DISTANCE TO G.  score inverse proportional.

   //AM I INBETWEEN THE TWO? - they are on either side of the screen.  (HERE U NEED A BACK VIEW TO KNOW THEY ARE BEHIND YOU.)
 
   //PROTECTING EQUIPMENT.
   //?for stranger being near an "ally item"
   //BUT INSTANT REACTION FOR A FOE.
  }

 }

 return 0;
}

*

ranch vermin

  • Not much time left.
  • Starship Trooper
  • *******
  • 476
  • Its nearly time!
Re: new demo on the way
« Reply #11 on: November 19, 2017, 08:04:00 am »
Sorry bad news,  my gpu just f'n died when i was doing the eye,  I think its because my little brother hacked in a power supply in and me running it full power too often eventually toasted it....  heres a video just to show me doing the eye - im not just flaking out.

https://www.youtube.com/watch?v=dy44wltIxtI&feature=youtu.be

All the code is actually in,  I was just going through bit by bit getting it working!    Ive got this awesome really quick method of getting pattern matches,  IM PISSED OFF!!!

I have to wait till at least 23rd of november to get another video card.    Bastard!!  Just when I wanted to see something decent!!
But the good thing out of this,  is I get to clean my house.  the computer was taking up all my time and my house has turned into a trash heap.


 


Kilopower
by keghn (General AI Discussion)
November 23, 2017, 11:57:32 pm
Mixing Tcl and Io
by Thierry (General Project Discussion)
November 23, 2017, 10:23:28 pm
Programming language designed specifically for AGI
by ivan.moony (General AI Discussion)
November 23, 2017, 10:20:52 pm
Theory of Everything
by Thierry (General AI Discussion)
November 23, 2017, 09:29:11 pm
When VR meets reality – how live concerts could be enhanced...
by Freddy (Virtual Reality)
November 23, 2017, 09:27:15 pm
What defines Human?
by infurl (General Chat)
November 23, 2017, 07:25:32 pm
Brain vs computer
by unreality (General AI Discussion)
November 23, 2017, 04:43:24 pm
A system for Machine Behaviour
by Thierry (General Project Discussion)
November 23, 2017, 02:28:25 pm
Chasing complexity
by infurl (Robotics News)
November 23, 2017, 07:58:53 pm
The most sensational news ever!
by 8pla.net (AI News )
November 23, 2017, 02:30:27 pm
When Good Drones go Bad
by Thierry (AI News )
November 18, 2017, 09:08:13 pm

Users Online

29 Guests, 1 User
Users active in past 15 minutes:
keghn
[Trusty Member]

Most Online Today: 35. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles