Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects @ 1838

# Date Author Comment
1838 10/07/2010 10:01 PM Devendra Gurjar

Working code that outputs orbs for the darker side

1837 10/07/2010 08:54 PM Devendra Gurjar

Updated unit tests (correctly this time)

1836 10/07/2010 08:47 PM Devendra Gurjar

update the ir unit test

1835 10/07/2010 08:29 PM Devendra Gurjar

Inserted linefollowing code into main.c
Updated test_ir unit test

1834 10/07/2010 07:30 PM Devendra Gurjar

Copied template to linefollowing directory

1833 10/07/2010 07:27 PM Devendra Gurjar

Removed the linefollowing folder

1832 10/07/2010 07:26 PM Devendra Gurjar

Accidently added linefollowing folder in /projects

1830 10/05/2010 06:42 PM Ben Wasserman

Removed the _ from the function head in test_lights.c so all unit tests compile.

1827 08/28/2010 02:49 PM Ben Wasserman

Unittests: Added test_ir.c to test new IR receivers for line following, and modified main.c to only use testir.

1826 05/12/2010 08:57 PM Emily Hart

Added Butterworth filtering code.

1623 01/27/2010 08:50 PM David Schultz

update to test cases in trunk

1606 01/02/2010 09:45 PM Emily Hart

Added diagnostic server stuff.

1603 12/07/2009 11:08 AM Justin Scheiner

Small changes.. I definitely wouldn't use this for anything yet.

1602 12/07/2009 11:01 AM Justin Scheiner

Added some test files for fixed point math.

Something definitely broke in cosine when I changed to smaller tables
(which shouldn't have sacrificed any accuracy). Need to investigate...

1586 11/30/2009 02:56 AM Justin Scheiner

Implementation of exponential. Not tested, don't even know if it works at all.

1585 11/26/2009 01:33 PM Justin Scheiner

Cut the trig table sizes in 4 w/ symmetry, etc.

Lazy implementations of sine and tangent (that just
use cosine indirectly).

Addressed edge cases.

Needs EXTENSIVE testing to get a good grip on error bounds.

1582 11/24/2009 05:50 PM John Sexton

Clarified description of the usrBOMvals variable for the bom_get_vector() funcions.

1579 11/23/2009 06:02 PM Justin Scheiner

Initial pass at a 32-bit fixed point library.

- Generated cosine / sine tables, put them in PROGMEM

- Wrote initial quadratic interpolation cosine function.
... not safe to use yet, but it seems to work for non-edge
cases. Need to write a better way to test it.

1574 11/19/2009 02:19 AM Justin Scheiner

Working scheduler.

Booyakasha.

1573 11/18/2009 11:17 PM Justin Scheiner

svn is being wonky...

Changes to the scheduler, still doesn't work.
avr-gcc has its own convention for saving state
on entry and exit that's the same every time, so
I lean on this now to restore the context.

I think that it's very close,
my guess is that when new tasks are launched, RETI is ...

1561 11/16/2009 09:53 PM David Schultz

Updated all makefiles. You may need to update the port settings to get your project to program the robots again.

1553 11/16/2009 07:51 PM John Sexton

Removed old rangefinder folder in trunk/projects. This folder has been moved to its own branch.

1549 11/16/2009 07:31 PM John Sexton

Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.

1548 11/16/2009 06:46 PM Dan Shope

Updated rangefinder.h with new MIN_ADC and MAX_ADC values

1546 11/16/2009 03:20 AM Justin Scheiner

Broke build.

1545 11/16/2009 03:20 AM Justin Scheiner

Fixes..

Defaults to main,
Creates launch stacks (just realized this is sort of backwards),
Returns to tasks that are already running.

1544 11/16/2009 03:10 AM Justin Scheiner

I gave the scheduler a crack based on avrOS and the code
from 18348 that I think caused John to add these skeleton files.

Very very basic preemptive task scheduling that runs through the
list of tasks, checks if they are ready to run based on a timer period...

1542 11/14/2009 02:28 AM John Sexton

Changed Push-Pull to display BOM histogram as well as net IR BOM vector. Changed BOM Tracker to print an x,y pair separated by a comma so the data
can be saved and read in by MATLAB for analysis.

1540 11/14/2009 01:24 AM John Sexton

Edited BOM Tracker project Makefile to make correctly. Removed old test file for net IR BOM vector from behaviors folder. Cleaning up Push-Pull
behavior to remove code which was moved into BOM library.

1539 11/14/2009 01:20 AM John Sexton

Renamed old file used to test net BOM IR vector calculations to new BOM tracker file.

1538 11/14/2009 01:18 AM John Sexton

Copying over files originally used to test net BOM IR vector calculations. They will now be used to try tracking the location of one robot in 2D
space.

1537 11/14/2009 01:15 AM John Sexton

Created project directory to investigate using the BOMs to track robots in 2D space.

1536 11/14/2009 01:05 AM John Sexton

Merged new BOM vector functions into the trunk and did a "make dist" to recompile the library. Also brought over C file used to test new BOM
function behavior.

1529 11/13/2009 09:59 PM John Sexton

Merged new function to print BOM intensity histogram into the trunk.

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
correctly.

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

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

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

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

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
scheduling.

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

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

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

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