Changed wireless include from automatic to relative path name.
Finished writing testbench for checkpoint 1.Note: This does not compile yet due to our incompetence.
updated xbee test - fixed xbee_init issue
updated wireless library
added function to exit api mode on termination
Wrote first test for first checkpoint
Began creating testbench for Lab 2's first checkpoint.
test_xbee - checks address of xbee
seperated out hunter_prey tag function
removed several TODO comments.attempting to inline simple functions does not reduce compiled code size
updated library binaries and included header files
Add new bootloader prototype supporting wireless programming
updated wl_basic code, docs, and test. it's ready to go.
encoders.h is not included in dragonfly_lib.h and encoders_init() is called within dragonfly_init().
updated wireless basic library code and docs
Includes working naive version of Target Practice
Renamed code folder for bot being tested to testBot.
Added BOM test code for general use.
Lowered the initial wait time for the target bot.
Updated code for testing BOMs. Added rudimentary diagram for analysis.
Added a folder for developing Target Practice Demo.
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.
fixed doxygen to call bom refresh
Updated library binaries.
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
motor 1 and motor 2 changed to motor L and motor R
Hunter-prey works! its a decent proof of concept but could use improvementusing robots Edgar (3), 7, 5
Hunter-prey sort of works!
Changed BOM threshold to 120, seems to be helping for some robot and causing problems for othershunter-prey is done except the hunting part
behavior without BOM seems to be working
Merged analog and bom changes from analog branch. Tested and working. Fixes #560
clean up test_dio.c compile errors
Fixed some Doxygen issues. Docs still need to be compiled, though
unit test created for buttons
test incorporates motors_off
Tested rangefinders to see if they are #define'd correctly. See data/rangefinder for details.
recompiled libdragonfly to include new rangefinder doxygen comments
recompiled wireless library binary to include default packet handling in wl_basic
updated wl_basic with default packet handling
changed template main to use new basic wireless
added wireless test to unit test framework
Minor documentation improvements
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
Turned on source browsing. This might fix our problems.
Updated and removed deprecated doxygen stuff from the doxygen config file.
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.
fixed doxygen problems in wireless library, added new docs
adding wireless abstraction for high level packet sending and receiving
still buggy with analog_init
Added hunter-prey WIP code. There is a bug with using BOM and rangefinder
Moved prototype for linearize_distance and constants MIN_IR_ADC8 andMAX_IR_ADC8 from rangefinder.c to rangefinder.h. Added Doxy comments for theseitems. Realize that linearize_distance was probably intended to be hidden fromthe average user, but doxy errors compelled me to act.
Remove some unused code in encoders
Also update binary and docs
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
Made some small changes reading through the code, no mex file compiler at home so I might have broken it.. but probably not.
adding keyboard remote control for testing...still in progress.
re-wrote joystick remote control code to use packets instead of single bytes over wireless. still needs to be cleaned up. TODO: figure out why robots stops responding to commands.
Martin updated some of the teststest_motors is working with higher resolutiontest_encoders is not working
added data from the motors that will go on the poster
Removed channel change, it doesn't work
Added turntable control code. Currently uses PI control and is having lots of mechanical issuesAlso added a main_brad which moves the turntable back and forth a bitadded a return to home value for the turntable
Tweaked motors and encoders test parameters
Added xbee_set_channel(15) (channel 21) to robot main.c
Added read_eeprom to test suite and robot code so we can read the robot ID and BOM type from eeprom
removed eeprom files from test directory becuase they are now in the library. the current test directory now compiles.
plot.rb also does motors now
Printing an error message when a received packet is too long.
All component numbers start a 0 (e. g. rangefinder: 0..4 rather than 1..5).
Parameters for encoder test as parameters
Clarified left/right on IBOM
Resetting the encoders (robot)/dynamos (station) when starting dump
Implemented turntable positions in BOM test.
Fixed left/right (for real this time)
Fixed: left/right switched
Fixed messages: newline at the end
Fixed messages (all messages which are not commands need to have a # in front)
turntable_rotate_to_position doesn't do anything now so it should be safe to call in the tests
Implemented ibom_update() function. Found the analog ports for the IR LED detectors, and found the pin for the IR LED emitter.
Added shitty position control. Needs encoders to not suck.
added some movement code, although NOT a control law so don't use it