Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / unit_tests @ 1827

# Date Author Comment
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.

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

update to test cases in trunk

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.

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