torsdag den 20. januar 2011

onsdag den 12. januar 2011

lab 16 - Presentation preparation

Date: 2011-01-12 Wed
Attendances: Carsten, Dan
Duration: 11:15 - 16:00

Preparing for presentation.

Finished up GUI. Bigger font and color (colors to easily identify
robots).

Didn't add hunger updates to GUI as we use event-messages passing. And
hunger updates all the time making it difficult to implement
correctly.

Final changes. Changed Kill-event to get 20 hunger but doesn't affect the
killed robot.

Made track pretty by using smooth-cornered cut pieces of paper instead
of just A4. Robots can still move away from food while eating (because
of its eating move pattern).

Light sensor on red was bad. We lowered the error threshold. This
would make the other 2 robots less likely to detect the border, but we
didn't see this behavior.

When a robot kills something (detects a object within a value of 30)
its hunger is set to 40. If we just decrease the hunger value it would
very quickly decrease to 0 or beyond. Setting it to 40 causes hunting
to be less effective then before (as it basically was set to 0
otherwise).

Individual robot behavior

Blue (Sif)

  • Motivation: eat = 25, hunt = 80
  • Starts in hunt
  • Goes to search when hunger = 56
  • Eats until hunger = 43

Red (NXT)

  • Motivation: eat = 25, hunt = 50
  • Starts in hunt
  • Goes to search when hunger = 25
  • Eats until hunger = 18

White (NXT2)

  • Motivation: eat = 15, hunt = 25
  • Starts in hunt
  • Goes to search when hunger = 12
  • Eats until hunger = 0

Presentation

Our intended project

  • Build robots with behaviors
  • Have robots interact
  • Define new robot personalities

Show robots

  • Hunger: constantly increasing, 100 means death
  • Modes: search, eat, hunt, avoid
  • Death means get new personality that is the average of other 2
  • Behavior scores
    • search: hunger + eatingMotivation
    • hunt: huntingMotivation

Elements used and how to connect

  • 3 Robots with the same software and setup
  • PC to show robot behavior
  • PC to send new behavior to robots when they die
  • light sensor to detect track, border and food
  • sound sensor to detect other robots (kill)

What we are proud of

  • Simple system of behaviors resulting in varied personalities

What we are not proud of

  • Interaction. Can't communicate (kill/death)
  • Track borders

What we would have done with more time

  • Collision detection
  • Communication
  • More, and more advanced, behaviors