| Revision:

root / trunk / code / behaviors / hunter_prey @ 1501

# Date Author Comment
1501 11/07/2009 11:01 PM John Sexton

Updated Hunter-Prey implementation. Motors didn't turn off during wait state. Fixed now.

1500 11/07/2009 09:37 PM John Sexton

Commented the template file and my implementation of Hunter-Prey to make the code easier to follow.

1487 11/07/2009 03:36 PM John Sexton

Updating Makefiles for Hunter-Prey implementations. Updating COLONYROOT location.

1486 11/07/2009 03:07 PM John Sexton

Adding my implementation of Hunter-Prey to the collection.

1485 11/07/2009 02:59 PM John Sexton

Cleaning up different Hunter-Prey implementations.

1484 11/07/2009 02:51 PM John Sexton

Moving behaviors from the "Projects" directory into the appropriate "Behaviors" directory.

1469 10/29/2009 12:26 AM Abraham Levkoy

Tried to get it to work to no avail. Various small changes.

1467 10/28/2009 04:38 PM Brad Neuman

ref seems to work if everyone behaves

1466 10/28/2009 03:58 PM Brad Neuman

started on the ref bot, added some error checking to the testbench
setting the channel doesnt seem to work, so everyone will have to use C

1464 10/26/2009 09:13 PM Abraham Levkoy

Started work on reference bot

1461 10/22/2009 11:01 PM Brad Neuman

updated all the library code to have sensible _init behavior.
Almost all of the library components have a global variable which gets set after init and the functions inside will fail with an error code if init has not been called. Also, the init functions themselves check this variable and will bail out without doing any damage if that init has already been called

1453 10/14/2009 08:44 PM Brad Neuman

fixed some testbench bugs, added command line argument to specify wireless channel and more helpful output to the tester

1451 10/14/2009 08:17 PM Brad Neuman

added wait for keypress after each test

1447 10/14/2009 06:12 PM Brad Neuman

fixed testbench, now it works!
also fixed hunter prey reference to allow packet type of 42, but there is still a bug in the reference WRT the latest spec because it waits indefinitely for an ACK

1446 10/14/2009 04:35 PM Brad Neuman

Removed hunter_prey.c from the testbecnh directory so it wouldn't try to compile for the computer

1442 10/12/2009 08:57 PM Abraham Levkoy

Added fflush(stdout)'s

1441 10/12/2009 08:45 PM Abraham Levkoy

Testbench compiles now

1439 10/12/2009 08:13 PM Abraham Levkoy

Changed wireless include from automatic to relative path name.

1438 10/12/2009 07:57 PM Abraham Levkoy

Finished writing testbench for checkpoint 1.
Note: This does not compile yet due to our incompetence.

1434 10/11/2009 05:22 PM Abraham Levkoy

Wrote first test for first checkpoint

1433 10/11/2009 04:07 PM Abraham Levkoy

Began creating testbench for Lab 2's first checkpoint.

1431 10/02/2009 07:11 PM Brad Neuman

seperated out hunter_prey tag function

1411 09/11/2009 12:56 AM Brad Neuman

Hunter-prey works! its a decent proof of concept but could use improvement
using robots Edgar (3), 7, 5

1410 09/11/2009 12:03 AM Brad Neuman

Hunter-prey sort of works!

1409 09/10/2009 10:43 PM Brad Neuman

Changed BOM threshold to 120, seems to be helping for some robot and causing problems for others
hunter-prey is done except the hunting part

1408 09/10/2009 07:39 PM Brad Neuman

behavior without BOM seems to be working

1374 09/03/2009 08:32 PM Brad Neuman

still buggy with analog_init

1373 09/03/2009 08:02 PM Brad Neuman

Added hunter-prey WIP code. There is a bug with using BOM and rangefinder