Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Martian on May 07, 2007, 01:01:03 PM

Title: Tie with nothing on the other end
Post by: Martian on May 07, 2007, 01:01:03 PM
I was evolving a Zerobot when I noticed that the robots form ties with nothing on the other end. Also their circle  with eyes in behaves weirdly.



I'm running windows XP home with service pack 2 and 1 gig RAM.
Title: Tie with nothing on the other end
Post by: Jez on May 07, 2007, 05:34:25 PM
Do you still have the sim to hand? Can you post a save or screenshot of it?
Title: Tie with nothing on the other end
Post by: Numsgil on May 07, 2007, 05:42:56 PM
It might be things like their movement vectors.  Try disabling them by going to view-> and unchecking anything that's checked.
Title: Tie with nothing on the other end
Post by: abyaly on May 08, 2007, 09:20:06 AM
Have you tried zooming in on the other end of the tie? It might be a flyspeck bot.
Title: Tie with nothing on the other end
Post by: Martian on May 10, 2007, 12:40:16 PM
I tried zooming in and there was still nothing. I haven't got a sim but reproduced the bug in the attached sim. There is also a screenshot. Disabling movent vectors in view removes is it. Is it a feature I don't know about?

[attachment=592:attachment]

The same goes for the eyes bug. The bug with the eyes is in the same sim and here is a screenshot. View - Show vision grid removes it.

[attachment=593:attachment]
Title: Tie with nothing on the other end
Post by: Jez on May 10, 2007, 01:20:55 PM
I can answer the eye one easily enough, I've run into that before messing about with changing the eye direction, width and focus. What it is showing is lots of overlapping eyes, still only nine but they are pointing all over the place! It is possible to change the view distance using focus I think.

I can't tell from the bug jpg whats happened but I'll see if I can locate the problem in the sim. Thanks for posting those attachments.
Title: Tie with nothing on the other end
Post by: abyaly on May 10, 2007, 01:30:57 PM
it looks like a movement vector to me instead of a tie.
When bots store large values in movement locations (.up .dn .dx .sx) it shows a line showing the direction they are accelerating. The larger the value, the longer the line.
Title: Tie with nothing on the other end
Post by: Numsgil on May 10, 2007, 09:15:27 PM
The line looks like a tie, which is a problem.  A better representation would be an arrow (a line with a hat), but it's just not a pressing concern.
Title: Tie with nothing on the other end
Post by: Martian on May 11, 2007, 07:55:51 AM
That explains it. Thanks for your help.