Moved the old ref code to oldRef, and deleted the files from ref (the .old files).
Added my RefBot code, and the hunter_prey.* files that it needs. Brad's old code is still existing in main.c.old, and the Makefile for it is in Makefile.old. The new RefBot runs on a robot, not a USB XBee.
Removed all the unnecessary files that get added when compiling in James' hunter prey directory.
added Carroll James' hunter prey corrected to bosserman's wireless specifications
Added james' hunter-prey folder.
Added james and ben's hunter prey code.
Woking version
Circle.c in formation control works, but shakily. Some of the best robots can execute the code, but sloppily. More recovery code and error checking code needs to be integrated. Higher level code works. Turning as a group was implemented. This is a relatively stable version of circle.
Added a turn method to the code, which theoretically works now. Circle.c.
Made some slight upgrades to cicle.c, cincluding formatting.
Changed the turning methods to simpler versions which should work more consistently -circle.c
Robots still oscillate while facing in wrong direction
This is broken
Trying to refresh circle aboutFace()
Cleaned up joystickPlayer folder.
Rearranged hunter_prey joystickPlayer file structure.
changed joystick player robot to have dleays between motion states. It's now less responsive but also resets much less
made human tagging easier and added joystick control code from colonet in a subdir of joystickPlayer
Updated the correctTurn method to the more general aboutFace code
Fixed the code so it works again with the restructuring; working on a better turning algorithm.
Restructured the code to include higher-level programming and states devoted to certain actions.
noob mistake: forgot to add files before checking in joystick stuff
1. added a folder: encoder_censored_forward, which contains a c file that has this function. Still under testing. And cannot control speed well.2. test result files for encoder_get_x() for robots 3,4,5,6.
Documented the circle code extensively. Starting reorganization from procedural to funtion-calling code.
Updated circle, trying to fix 3-character packet sending.
Starting to make the circle move as a group.
Still editing counting code in circle.c
Fixed the updated circle code.
Updated circle so the robot counting should be less buggy.
Cut out unused parts of circle.c, organized program, fixed a couple bugs
Fixed circle.c, added comments, tested the program. Added terminal states.
Fixed a bug with send packet being too small.
Shortened hunter-prey tag distance in john folder. Deleted unnecessary 500 ms delay.
Added code to turn left and right instead of always turning one direction.
Deleted print statement.
Added code to check BOTH encoders for Prey turning instead of just one.
Debugged circle.c so approaching works
Added #define to parameterize time to wait after TAG.
More modifications to circle.c
Merged circle code and added comments
New version of cicle_spacing. (It works now...). Before merging with circle.
This code changed the way that the Edges move toward the Center bot, I stopped using Han Jongs methods and added the methods correctTurn, correctApproach is still not functional, also I changed the color skeem for the orbs, going to center is still buggy.
Updated counting robots to work for circle formation. Movement is problematic.
Getting versions of circle.c in sync
Added comments and minor changes to circle.c
Removing the old circle-circle2 versions of the code (2)
Removing the old circle-circle2 versions of the code
Included working functionality for Beacon to get acks from each robot.
Tried to use bom_get_vector instead of bom_get_max.It works for the master (still need works), not for the slave (still need to figure out why)
working version of wednesday 18 nov
Fixed beacon robot wireless and working on Edge robot wireless
changes of wednesday 18 nov
Updated all makefiles. You may need to update the port settings to get your project to program the robots again.
Fixed Makefile for circle_spacing behavior. Now links to the repository library.
Submitting circle spacing code. Will evenly place the robot on the circle.
Adding folder for circle spacing code. Behavior should attempt to space robots equally on a given radius of a circle around a central robot.
Circle Formation: added wireless and updated
Converted Circle formation to a state machine
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.
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.
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.
Recompiled library to incorporate new BOM histogram print function. Push-Pull behavior currently prints the BOM intensity histogram and the resultant vector over USB.
Cleaning up folders added for demonstration purposes.
Added comments to circle formation code
Made changes to newfile.c
Added newfile changed main.c in james dummy folder
Added danshope
Changed main.c in james dummy folder
Added dummy james folder
Updated circle formation behavior
Updated BOM Vector Component Table calculator to round towards 0 instead of rounding towards -infinity. This makes vector components symmetric around 0 and within error bound calculations.
Remove template "main.c" file. Appropriate Circle behavior code can be found in "circle.c" file.
Edited BOM Vector Component Tables with values which will gaurantee that worst case net vector sum will not overflow an integer data type (16 bits). Also changed Makefile to have TARGET=push_pull. Also added functionality to MATLAB script so that it will automatically calculate the BOM Vector ...
Renamed Push-Pull behavior code file to "push_pull.c"
Implementing function to calculate get_bom_vector() function. Added MATLAB script to assist in calculating the scalar value used to scale up the BOM unit vectors such that the worst case sum will not overflow an int data type.
Cleaned up the Circle behavior folder in the "formation_control" folder. Now compiles correctly with the current version of the repository library.
Making bom_get_vector() function which should eventually be placed into the library.
Added folder for basic Circle formation.Also included is the beacon robot code.
Could use some cleaning as it uses the lab 2 template as a base.
What it does: very basic Circle formation without much error checking.
Updated comments to correctly reflect the meaning of the x and y coordinates.
Progress on Push-Pull. Added a divide-by-zero check. Also fixed an error (added code to clear accumulators each time through the loop).
Wrote Push-Pull behavior to print the net BOM intensity vector over serial.
Updated Hunter-Prey implementation. Motors didn't turn off during wait state. Fixed now.
Commented the template file and my implementation of Hunter-Prey to make the code easier to follow.
Creating "template" to use as a starting point for developing new behaviors.
Cleaning up the template folder for behaviors.
Updating Makefiles for Hunter-Prey implementations. Updating COLONYROOT location.
Adding my implementation of Hunter-Prey to the collection.
Cleaning up different Hunter-Prey implementations.
Moving behaviors from the "Projects" directory into the appropriate "Behaviors" directory.
Creating directory for "Push/Pull" formation behavior.
Creating repository space for Formation Control.
fixes #570 avrdude port detection
More tests
Removed killing of the terminal process from the MakefileIt's a bad idea if you are using a terminal for a different port.
Added wireless test behavior