Bots and Simulations > Bot Tavern

MB architecture: How do we get amoeba/fungus moving?

<< < (2/5) > >>

Welwordion:
Well doing it with two bots is not overall difficult I succeeded in doing that even though I did not reach maximum velocity or had ay mechansim to make the bots actually steer in one direction, as for that I failed completely when I tried to do movement based on  pivoting.

Peter:
Could you briefly explain how this bot of you is supposed to work?

Welwordion:
The above bot? Well it alternates between ties(if that works correctly) when one bot sees food it starts  contraction and tell the bot its currently addressing to do the same (scout is set to 7) with the tiny difference that the bot who actuall sees food fixes itself(well its supposed to).
When the timer condition is met each bot that contracted, executes extension(scout is set to 8) and if the final timer condition is met it returnes to its original state(scout is set to zero).

Edit: for anyone who read that before sorry I did put the specific line in.

Endy:
Will readtie is one of the issues, it's not needed anymore, only .tienum.

Not sure if it matters for your bot or not but for a species wide timer you need to set it on the first cycle. Normally I'll just use something like:

cond
start
0 .timer store
.delgene inc
stop

It seems to work once it gets to high enough numbers of joined bots, though they have to be moved around abit to make it start.

The actual code for ties seems to be working oddly. Inchworm2 still seems to be working correctly, I'm thinking it's caused by how it divides the control for the head and tail, still not sure though.

Welwordion:
Well it certainly seems to work better when I use tienum instead of readtie  the deltie part worked a little bit too good soIi had to deactiate it)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version