| Revision:

root / trunk / code @ 1520

# Date Author Comment
1520 11/13/2009 05:00 PM James Kong

Changed main.c in james dummy folder

1519 11/13/2009 04:59 PM James Kong

Added dummy james folder

1517 11/11/2009 08:25 PM Alex Zirbel

Updated circle formation behavior

1515 11/11/2009 06:11 PM John Sexton

Updated BOM Vector Component Table calculator to round towards 0 instead
of rounding towards -infinity. This makes vector components symmetric
around 0 and within error bound calculations.

1514 11/10/2009 09:25 PM John Sexton

Remove template "main.c" file. Appropriate Circle behavior code can be found in "circle.c" file.

1512 11/10/2009 02:53 AM John Sexton

Edited BOM Vector Component Tables with values which will gaurantee that worst case net vector sum will not overflow an integer data type (16 bits).
Also changed Makefile to have TARGET=push_pull. Also added functionality to MATLAB script so that it will automatically calculate the BOM Vector ...

1511 11/10/2009 02:09 AM John Sexton

Renamed Push-Pull behavior code file to "push_pull.c"

1510 11/10/2009 01:30 AM John Sexton

Implementing function to calculate get_bom_vector() function. Added
MATLAB script to assist in calculating the scalar value used to scale up
the BOM unit vectors such that the worst case sum will not overflow an
int data type.

1509 11/09/2009 09:09 PM John Sexton

Cleaned up the Circle behavior folder in the "formation_control" folder. Now compiles correctly with the current version of the repository library.

1508 11/09/2009 09:02 PM John Sexton

Making bom_get_vector() function which should eventually be placed into the library.

1507 11/09/2009 08:12 PM Nico Paris

Added folder for basic Circle formation.
Also included is the beacon robot code.

Could use some cleaning as it uses the lab 2 template as a base.

What it does: very basic Circle formation without much error checking.

1504 11/08/2009 03:58 AM John Sexton

Updated comments to correctly reflect the meaning of the x and y

1503 11/08/2009 03:13 AM John Sexton

Progress on Push-Pull. Added a divide-by-zero check. Also fixed an
error (added code to clear accumulators each time through the loop).

1502 11/08/2009 01:29 AM John Sexton

Wrote Push-Pull behavior to print the net BOM intensity vector over serial.

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.

1498 11/07/2009 08:21 PM John Sexton

Creating "template" to use as a starting point for developing new

1497 11/07/2009 08:04 PM John Sexton

Cleaning up the template folder for behaviors.

1496 11/07/2009 07:17 PM John Sexton

Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine

1495 11/07/2009 06:15 PM John Sexton

Reverted to library before Init Function Checking to fix BOMs which did not work.

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.

1483 11/07/2009 02:48 PM John Sexton

Creating directory for "Push/Pull" formation behavior.

1482 11/07/2009 02:44 PM John Sexton

Creating repository space for Formation Control.

1481 11/07/2009 02:41 PM John Sexton

Making file naming consistent (use '_' to separate words, not camel hump).

1480 11/05/2009 02:45 PM David Schultz

program makefile can now autobuild the library

1479 11/05/2009 01:17 AM John Sexton

Set up scheduler.c/.h files with headers comments.

1478 11/05/2009 12:49 AM John Sexton

Collecting necessary files to begin developing timer-based analog

1477 11/05/2009 12:45 AM John Sexton

Collecting necessary files to begin developing timer-based analog scheduling.

1476 11/02/2009 09:55 PM David Schultz

test of consolidating makefile

1475 11/02/2009 08:53 PM Dan Shope

linearize_distance() uses new LUT mapped for (4-30cm) rangefinders. Accuracy +/- 10mm. Need more testing to increase accuracy -- should be able to get +/- 5mm.

1473 10/30/2009 03:28 AM David Schultz

another RAM check update

1472 10/30/2009 03:24 AM David Schultz

updating RAM check to work with linux

1471 10/30/2009 03:20 AM David Schultz

another modification to the RAM check

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

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

1468 10/28/2009 08:45 PM David Schultz

updated checksize in makefile

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

1465 10/27/2009 02:18 AM David Schultz

Added RAM size check to makefile for unit tests

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

Started work on reference bot

1463 10/24/2009 12:07 AM Brad Neuman

forgot to add test_initx.c

1462 10/23/2009 11:20 PM David Schultz

moved dragonfly definitions to separate header file

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

1460 10/22/2009 01:19 PM David Schultz

put lcd and rangefinder lookup tables into program space
removed TODO inline comments from wireless library

1458 10/21/2009 05:12 AM Ryan Cahoon

Fixed tabbing/spacing issue

1455 10/20/2009 06:33 PM Dan Shope
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

1452 10/14/2009 08:30 PM David Schultz

update of includes in library, removed unnecessary calls to stdlib.h

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

1445 10/14/2009 12:29 AM Ryan Cahoon

Bug fix with new BOM code

1443 10/13/2009 09:36 PM Ryan Cahoon

1. Alpha code to trigger the new wireless bootloader from the user program. Not tested
Includes subroutine in the XBee library to reset the XBee's settings

2. New subroutine in the BOM library to more accurately estimate the position of the max reading using weighted average of the readings instead of max reading....

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

1440 10/12/2009 08:34 PM Abraham Levkoy

Changed include of wireless.h to relative path to fix testbench

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.

1437 10/12/2009 07:12 PM David Schultz

updated xbee test - fixed xbee_init issue

1436 10/12/2009 07:03 PM David Schultz

updated wireless library

1435 10/12/2009 07:02 PM David Schultz

added function to exit api mode on termination

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.

1432 10/08/2009 08:45 PM David Schultz

test_xbee - checks address of xbee

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

seperated out hunter_prey tag function

1430 09/30/2009 08:07 PM David Schultz

removed several TODO comments.
attempting to inline simple functions does not reduce compiled code size

1429 09/30/2009 07:31 PM David Schultz

updated library binaries and included header files

1428 09/26/2009 04:37 AM Ryan Cahoon

Add new bootloader prototype supporting wireless programming

1427 09/23/2009 12:57 PM Chris Mar

updated wl_basic code, docs, and test. it's ready to go.

1426 09/20/2009 06:47 PM Rich Hong

Fixes #622.

encoders.h is not included in dragonfly_lib.h and encoders_init() is called within dragonfly_init().

1425 09/20/2009 12:17 PM Chris Mar

updated wireless basic library code and docs

1424 09/19/2009 10:37 PM John Sexton

Includes working naive version of Target Practice

1423 09/19/2009 06:53 PM John Sexton

Renamed code folder for bot being tested to testBot.

1422 09/19/2009 06:51 PM John Sexton

Added BOM test code for general use.

1421 09/19/2009 06:45 PM John Sexton

Lowered the initial wait time for the target bot.

1420 09/19/2009 06:27 PM John Sexton

Updated code for testing BOMs. Added rudimentary diagram for analysis.

1419 09/19/2009 04:11 PM John Sexton

Added a folder for developing Target Practice Demo.

1418 09/18/2009 08:38 PM Rich Hong

Added encoder_get_x and encoder_get_v.

use get_v at your own risk
If encoder_read returns -1, this usually means battery is low.
If encoder_read returns a value greater than ENCODER_MAX, this usually means there are physical problems with the encoder.

1417 09/18/2009 06:06 PM Evan Mullinix

fixed doxygen to call bom refresh

1416 09/16/2009 10:50 PM Emily Hart

Updated library binaries.

1415 09/16/2009 03:56 PM Abraham Levkoy

Removed while(1) to allow looping through different tests.

1414 09/16/2009 03:35 PM Abraham Levkoy

Changed rangefinder unit test to use all orbs and not take forever.

1413 09/11/2009 04:36 PM Evan Mullinix

uses left and right motor in motor test instead of motor1 and motor2

1412 09/11/2009 03:59 PM Evan Mullinix

motor 1 and motor 2 changed to motor L and motor R

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

1406 09/09/2009 10:31 PM James Kong

Merged analog and bom changes from analog branch. Tested and working. Fixes #560

1405 09/09/2009 08:10 PM Evan Mullinix

clean up test_dio.c compile errors

1404 09/09/2009 07:46 PM Nico Paris

Fixed some Doxygen issues. Docs still need to be compiled, though

1403 09/09/2009 07:22 PM Evan Mullinix

unit test created for buttons

1402 09/09/2009 07:03 PM Evan Mullinix

test incorporates motors_off

1401 09/09/2009 05:06 PM Abraham Levkoy

Tested rangefinders to see if they are #define'd correctly. See data/rangefinder for details.

1398 09/08/2009 08:07 PM Chris Mar

recompiled libdragonfly to include new rangefinder doxygen comments

1397 09/08/2009 08:04 PM Chris Mar

recompiled wireless library binary to include default packet handling in wl_basic

1396 09/08/2009 08:04 PM Chris Mar

updated wl_basic with default packet handling

1394 09/08/2009 07:56 PM Chris Mar

changed template main to use new basic wireless