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.
wireless: fixed test termination
Wireless: updated library and test code for the new library.
wireless: update of wireless test
Wireless: updated wireless_test2.c for continued testing progress.
changes to wireless test
wireless: get_basic works. made it all the way around the ring buffer.
Wireless testing, made changes to wireless library (xbee.c, debugging changes only) and test_wireless2.c for continued wireless tests.
Wireless: Updated test code.
wireless: TX works, basic buffer is full after first wl_get_basic() call
Wireless: Adding code to debug the library.
Wireless: Changes to wireless test program.
Fixed test and library code so tests run, still debugging.
Fixed some things so it works. It just now gets stuck initialing wl_init.
wireless: fixed debug statements and flash memory
Debugged from last update.
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.
Added code to test_wireless2.c to actually test sending and receiving, and some ACK functionality.
wireless: reduced size by moving debug strings in xbee.c to flash memory. We now have 640 bytes left when compiling unit tests.
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.
Fixed return type of handlers.
wireless: test_wireless2.c updates
Made packet handlers have correct headers.
wireless: wireless2.c
wireless: test_xbee is good. Need to start testing wireless_send and wireless_receive.
wireless: fixed API mode 1. Can now enter and exit API mode properly. Can also set and read MY address.
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.
got the status flag masking to work. API mode still doesn't work
Got xbee interrupt to work in command mode (API mode 0 off)Still working on API mode 1 ON
wl: update to unit tests, still doesn't work
wl: clean up unit tests
wireless: xbee update. still not finished, but the major changes are in here. Also added a function for microsecond delays to time.c
implemented recursive makefile system
wireless library branch
Moving behaviors from the "Projects" directory into the appropriate "Behaviors" directory.
test of consolidating makefile
another RAM check update
updating RAM check to work with linux
another modification to the RAM check
updated checksize in makefile
Added RAM size check to makefile for unit tests
forgot to add test_initx.c
moved dragonfly definitions to separate header file
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
update of includes in library, removed unnecessary calls to stdlib.h
updated xbee test - fixed xbee_init issue
test_xbee - checks address of xbee
updated wl_basic code, docs, and test. it's ready to go.
Fixes #622.
encoders.h is not included in dragonfly_lib.h and encoders_init() is called within dragonfly_init().
updated wireless basic library code and docs
Added encoder_get_x and encoder_get_v.
use get_v at your own riskIf 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.
Removed while(1) to allow looping through different tests.
Changed rangefinder unit test to use all orbs and not take forever.
uses left and right motor in motor test instead of motor1 and motor2
clean up test_dio.c compile errors
unit test created for buttons
test incorporates motors_off
Tested rangefinders to see if they are #define'd correctly. See data/rangefinder for details.
added wireless test to unit test framework
fixes #570 avrdude port detection
Encoders unit test
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
Updated function name in test_rangefinder.c to comply with naming standard.
Created rangefinder unit test.
Changed name of rangefinder test to reflect name of rangefinder module. Updated main.c to reflect this.
updated unit test of motors
test of usb read/write functions is successful
removed dragonfly_init() from each unit test and renamed files to comply with new naming convention.
changed main.c in the test project to call dragonfly_init
made the test framework a bit more clear (or maybe more confusing?)
Added test for usb output functions
removed eeprom files from test directory becuase they are now in the library. the current test directory now compiles.
Made some additions to rayHits.c
Not really useful, just for me
added test for motors. it just runs the left and right. this can be improved.
added a test for lights/orbs.
Added encoder test code to trunk. Addition of encoder code pending testing.
bom/token ring test completeupdated testeeprom #include to make it compile
added eeprom driver and a test for it
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.
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.
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.
testrangefinders works.testanalog gives values, which might mean it works.
Added testanalog.c file for the purpose of testing ADC and analog functions.
added rangefinder test - needs more testing
lcd test added