Project

General

Profile

Statistics
| Revision:

root / branches / wireless / code / projects / unit_tests @ 1935

# Date Author Comment
1935 02/21/2011 05:44 PM Ben Wasserman

I may have broken something, so I'm backing up what I have so I can revert the repository to make it compile again.

1831 10/05/2010 06:43 PM Ben Wasserman

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

1792 04/19/2010 11:52 PM Ben Wasserman

Wireless: Updated library and test program. Library is now capable of sending and receiving basic packets, and low priority function groups in low reliability mode.

1788 04/19/2010 08:33 PM David Schultz

wireless: fixed test termination

1773 04/13/2010 08:03 PM Ben Wasserman

Wireless: updated library and test code for the new library.

1755 04/08/2010 10:17 PM David Schultz

wireless: update of wireless test

1754 04/08/2010 10:12 PM Ben Wasserman

Wireless: updated wireless_test2.c for continued testing progress.

1752 04/08/2010 09:32 PM David Schultz

changes to wireless test

1748 04/07/2010 07:42 PM David Schultz

wireless: get_basic works. made it all the way around the ring buffer.

1744 04/06/2010 02:47 AM Ben Wasserman

Wireless testing, made changes to wireless library (xbee.c, debugging changes only) and test_wireless2.c for continued wireless tests.

1707 03/29/2010 07:45 PM Ben Wasserman

Wireless: Updated test code.

1689 03/24/2010 07:53 PM David Schultz

wireless: TX works, basic buffer is full after first wl_get_basic() call

1683 03/22/2010 08:17 PM Ben Wasserman

Wireless: Adding code to debug the library.

1675 03/15/2010 09:02 PM Ben Wasserman

Wireless: Changes to wireless test program.

1663 03/01/2010 08:51 PM Ben Wasserman

Fixed test and library code so tests run, still debugging.

1660 03/01/2010 08:06 PM Ben Wasserman

Fixed some things so it works. It just now gets stuck initialing wl_init.

1658 03/01/2010 07:46 PM David Schultz

wireless: fixed debug statements and flash memory

1656 03/01/2010 07:37 PM Ben Wasserman

Debugged from last update.

1655 03/01/2010 07:32 PM Ben Wasserman

Put debug statements back in the code (instead of program space). Done by merging with version 1649, and just copying in the current new functions to send and receive.

1653 03/01/2010 07:12 PM Ben Wasserman

Added code to test_wireless2.c to actually test sending and receiving, and some ACK functionality.

1651 02/24/2010 06:28 PM David Schultz

wireless: reduced size by moving debug strings in xbee.c to flash memory. We now have 640 bytes left when compiling unit tests.

1650 02/22/2010 08:45 PM David Schultz

wireless: test_wireless2.c: moved debug strings to program space, so they all take up a total of 58 bytes. Still 300 bytes over the limit. Might have to separate the unit_tests such that only the currently running tests are compiled and linked.

1649 02/22/2010 07:45 PM Abraham Levkoy

Fixed return type of handlers.

1648 02/22/2010 07:41 PM David Schultz

wireless: test_wireless2.c updates

1647 02/22/2010 07:38 PM Abraham Levkoy

Made packet handlers have correct headers.

1646 02/22/2010 07:19 PM David Schultz

wireless: wireless2.c

1642 02/19/2010 04:10 PM David Schultz

wireless: test_xbee is good. Need to start testing wireless_send and wireless_receive.

1638 02/17/2010 09:37 PM David Schultz

wireless: fixed API mode 1. Can now enter and exit API mode properly. Can also set and read MY address.

1633 02/15/2010 07:43 PM David Schultz

wireless: more debugging trying to get API mode 1 to work. We seem to get into API mode, but can't receive more than 3 bytes of the command response frame correctly.

1628 02/03/2010 10:04 PM David Schultz

got the status flag masking to work. API mode still doesn't work

1625 02/01/2010 10:19 PM David Schultz

Got xbee interrupt to work in command mode (API mode 0 off)
Still working on API mode 1 ON

1624 01/27/2010 08:51 PM David Schultz

wl: update to unit tests, still doesn't work

1617 01/20/2010 08:12 PM David Schultz

wl: clean up unit tests

1600 12/07/2009 01:43 AM David Schultz

wireless: xbee update. still not finished, but the major changes are in here. Also added a function for microsecond delays to time.c

1499 11/07/2009 08:50 PM David Schultz

implemented recursive makefile system

1492 11/07/2009 04:17 PM David Schultz

wireless library branch

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

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

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

test of consolidating makefile

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

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

updated checksize in makefile

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

Added RAM size check to makefile for unit tests

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

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

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

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

updated xbee test - fixed xbee_init issue

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

test_xbee - checks address of xbee

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

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.

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

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

clean up test_dio.c compile errors

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.

1393 09/08/2009 07:55 PM Chris Mar

added wireless test to unit test framework

1390 09/07/2009 10:19 PM Rich Hong

fixes #570 avrdude port detection

1389 09/07/2009 08:51 PM Rich Hong

Encoders unit test

1388 09/07/2009 08:47 PM Nico Paris

Completed iterative test of functions in lights.h (aka LIGHT SHOW!)

Currently using orb_n_set and orb_n_set_color with indexing from 1. This breaks orb_n_set and orb_n_set_color as they are set to index from 0.

Need to document this using Doxygen

1383 09/04/2009 03:57 PM Abraham Levkoy

Updated function name in test_rangefinder.c to comply with naming standard.

1382 09/04/2009 03:42 PM Abraham Levkoy

Created rangefinder unit test.

1381 09/04/2009 02:53 PM Abraham Levkoy

Changed name of rangefinder test to reflect name of rangefinder module. Updated main.c to reflect this.

1369 09/02/2009 08:14 PM Evan Mullinix

updated unit test of motors

1368 09/02/2009 07:38 PM David Schultz

test of usb read/write functions is successful

1365 09/01/2009 01:02 AM David Schultz

removed dragonfly_init() from each unit test and renamed files to comply with new naming convention.

1364 09/01/2009 12:36 AM Brad Neuman

changed main.c in the test project to call dragonfly_init

1363 09/01/2009 12:25 AM Brad Neuman

made the test framework a bit more clear (or maybe more confusing?)

1362 08/31/2009 10:18 PM David Schultz

Added test for usb output functions

1302 05/03/2009 08:57 PM Chris Mar

removed eeprom files from test directory becuase they are now in the library. the current test directory now compiles.

1067 03/04/2009 07:27 PM Nico Paris

Made some additions to rayHits.c

Not really useful, just for me

958 01/21/2009 07:32 PM Chris Mar

added test for motors. it just runs the left and right. this can be improved.

944 12/02/2008 07:32 PM Chris Mar

added a test for lights/orbs.

867 10/06/2008 03:13 PM Justin Scheiner

Added encoder test code to trunk. Addition of encoder code pending testing.

858 09/23/2008 07:25 PM David Schultz

bom/token ring test complete
updated testeeprom #include to make it compile

853 09/18/2008 10:06 PM Brad Neuman

added eeprom driver and a test for it

848 09/16/2008 08:14 PM David Schultz

Made token ring/BOM test. Currently does not work correctly. Either reports no robots in token ring, or MAXIMUM_XBEE_ID (15) robots in token ring. More testing needed.

831 09/08/2008 11:05 PM John Sexton

Now have working version of testanalog which prints the table of analog values stored on the robot. Allows us to do analog tests manually and watch the values the robot is reading.

830 09/08/2008 08:35 PM John Sexton

Prints table of the analog values by cycling through all the analog ports and outputting an integer value corresponding to the ADC conversion of that port. Table format needs work.

827 09/08/2008 07:19 PM David Schultz

testrangefinders works.
testanalog gives values, which might mean it works.

800 09/01/2008 08:27 PM John Sexton

Added testanalog.c file for the purpose of testing ADC and analog functions.

791 09/01/2008 07:38 PM David Schultz

added rangefinder test - needs more testing

789 09/01/2008 07:06 PM David Schultz

lcd test added