Project

General

Profile

Statistics
| Revision:

root / trunk / code @ 1750

# Date Author Comment
1750 04/08/2010 02:21 AM Hanzhang Hu

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.

1749 04/07/2010 07:49 PM Alex Zirbel

Documented the circle code extensively. Starting reorganization from procedural to funtion-calling code.

1733 04/02/2010 06:07 PM David Schultz

update to makefile for make demo option. now works under linux

1729 04/02/2010 05:46 PM David Schultz

updated makefile to new make demo code

1725 04/02/2010 01:10 AM Alex Zirbel

Updated circle, trying to fix 3-character packet sending.

1724 04/02/2010 01:03 AM Alex Zirbel

Starting to make the circle move as a group.

1723 04/01/2010 11:41 PM Alex Zirbel

Still editing counting code in circle.c

1722 04/01/2010 11:29 PM Alex Zirbel

Fixed the updated circle code.

1721 04/01/2010 11:26 PM Alex Zirbel

Updated circle so the robot counting should be less buggy.

1720 04/01/2010 11:15 PM Alex Zirbel

Cut out unused parts of circle.c, organized program, fixed a couple bugs

1719 04/01/2010 12:48 AM Alex Zirbel

Fixed circle.c, added comments, tested the program. Added terminal states.

1718 04/01/2010 12:44 AM Alex Zirbel
1717 04/01/2010 12:40 AM Alex Zirbel
1691 03/24/2010 08:40 PM Alex Zirbel
1690 03/24/2010 08:38 PM Alex Zirbel
1681 03/20/2010 06:41 PM David Schultz

updated makefile to include a 'make demo' option

1652 02/24/2010 08:38 PM John Sexton

Fixed a bug with send packet being too small.

1644 02/19/2010 05:46 PM John Sexton

Shortened hunter-prey tag distance in john folder. Deleted unnecessary 500 ms delay.

1643 02/19/2010 04:46 PM John Sexton

Added code to turn left and right instead of always turning one direction.

1641 02/19/2010 12:13 PM John Sexton

Deleted print statement.

1640 02/19/2010 12:03 PM John Sexton

Added code to check BOTH encoders for Prey turning instead of just one.

1639 02/17/2010 09:45 PM Alex Zirbel
1637 02/17/2010 08:49 PM Brad Neuman

added robot testing code for IR data collection

1636 02/17/2010 08:46 PM Brad Neuman

moved code into computer subdir

1635 02/17/2010 08:24 PM Steve DeVincentis

Debugged circle.c so approaching works

1632 02/15/2010 07:25 PM John Sexton

Added #define to parameterize time to wait after TAG.

1629 02/05/2010 09:09 PM David Schultz

fixed not compiling libwireless

1627 02/03/2010 08:52 PM Gautham Nagaraju

More modifications to circle.c

1626 02/03/2010 07:16 PM Gautham Nagaraju

Merged circle code and added comments

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

update to test cases in trunk

1622 01/27/2010 06:46 PM Gautham Nagaraju

New version of cicle_spacing. (It works now...). Before merging with circle.

1618 01/21/2010 10:42 PM James Carroll

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.

1613 01/20/2010 06:48 PM Austin Buchan

I think this is John's code

1610 01/18/2010 08:18 PM Alex Zirbel

Updated counting robots to work for circle formation. Movement is problematic.

1606 01/02/2010 09:45 PM Emily Hart

Added diagnostic server stuff.

1603 12/07/2009 11:08 AM Justin Scheiner

Small changes.. I definitely wouldn't use this for anything yet.

1602 12/07/2009 11:01 AM Justin Scheiner

Added some test files for fixed point math.

Something definitely broke in cosine when I changed to smaller tables
(which shouldn't have sacrificed any accuracy). Need to investigate...

1599 12/03/2009 02:18 PM Dan Shope

Added rangefinders directory to tools.

Added new software for basic analysis of IR data to be used with the IRcycle.c tool. Native Windows build only for the time being.

1597 12/02/2009 07:45 PM Alex Zirbel

Getting versions of circle.c in sync

1596 12/02/2009 07:34 PM Alex Zirbel

Added comments and minor changes to circle.c

1595 12/02/2009 07:17 PM Alex Zirbel

Removing the old circle-circle2 versions of the code (2)

1594 12/02/2009 07:16 PM Alex Zirbel

Removing the old circle-circle2 versions of the code

1593 12/02/2009 06:38 PM Brad Neuman

removed .a library files from the repository. These will be automatically generated by the Makefile now

1592 12/02/2009 06:29 PM Steve DeVincentis

Included working functionality for Beacon to get acks from each robot.

1586 11/30/2009 02:56 AM Justin Scheiner

Implementation of exponential. Not tested, don't even know if it works at all.

1585 11/26/2009 01:33 PM Justin Scheiner

Cut the trig table sizes in 4 w/ symmetry, etc.

Lazy implementations of sine and tangent (that just
use cosine indirectly).

Addressed edge cases.

Needs EXTENSIVE testing to get a good grip on error bounds.

1582 11/24/2009 05:50 PM John Sexton

Clarified description of the usrBOMvals variable for the bom_get_vector() funcions.

1580 11/23/2009 09:22 PM Gautham Nagaraju

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)

1579 11/23/2009 06:02 PM Justin Scheiner

Initial pass at a 32-bit fixed point library.

- Generated cosine / sine tables, put them in PROGMEM

- Wrote initial quadratic interpolation cosine function.
... not safe to use yet, but it seems to work for non-edge
cases. Need to write a better way to test it.

1574 11/19/2009 02:19 AM Justin Scheiner

Working scheduler.

Booyakasha.

1573 11/18/2009 11:17 PM Justin Scheiner

svn is being wonky...

Changes to the scheduler, still doesn't work.
avr-gcc has its own convention for saving state
on entry and exit that's the same every time, so
I lean on this now to restore the context.

I think that it's very close,
my guess is that when new tasks are launched, RETI is ...

1571 11/18/2009 08:58 PM Gautham Nagaraju

working version of wednesday 18 nov

1569 11/18/2009 08:37 PM John Sexton

Cleaning up ir_branch to Make correctly.

1568 11/18/2009 08:27 PM Steve DeVincentis

Fixed beacon robot wireless and working on Edge robot wireless

1567 11/18/2009 08:24 PM John Sexton

Fixing tools to Make correctly in Trunk. Reorganizing ir_branch to Make correctly.

1564 11/18/2009 06:56 PM Gautham Nagaraju

changes of wednesday 18 nov

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.

1559 11/16/2009 08:56 PM John Sexton

Fixed Makefile for circle_spacing behavior. Now links to the repository library.

1558 11/16/2009 08:44 PM Gautham Nagaraju

Submitting circle spacing code. Will evenly place the robot on the circle.

1557 11/16/2009 08:27 PM John Sexton

Adding folder for circle spacing code. Behavior should attempt to space robots equally on a given radius of a circle around a central robot.

1555 11/16/2009 08:10 PM Alex Zirbel

Circle Formation: added wireless and updated

1553 11/16/2009 07:51 PM John Sexton

Removed old rangefinder folder in trunk/projects. This folder has been moved to its own branch.

1552 11/16/2009 07:50 PM Alex Zirbel

Converted Circle formation to a state machine

1549 11/16/2009 07:31 PM John Sexton

Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.

1548 11/16/2009 06:46 PM Dan Shope

Updated rangefinder.h with new MIN_ADC and MAX_ADC values

1546 11/16/2009 03:20 AM Justin Scheiner

Broke build.

1545 11/16/2009 03:20 AM Justin Scheiner

Fixes..

Defaults to main,
Creates launch stacks (just realized this is sort of backwards),
Returns to tasks that are already running.

1544 11/16/2009 03:10 AM Justin Scheiner

I gave the scheduler a crack based on avrOS and the code
from 18348 that I think caused John to add these skeleton files.

Very very basic preemptive task scheduling that runs through the
list of tasks, checks if they are ready to run based on a timer period...

1542 11/14/2009 02:28 AM John Sexton

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.

1540 11/14/2009 01:24 AM John Sexton

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.

1539 11/14/2009 01:20 AM John Sexton

Renamed old file used to test net BOM IR vector calculations to new BOM tracker file.

1538 11/14/2009 01:18 AM John Sexton

Copying over files originally used to test net BOM IR vector calculations. They will now be used to try tracking the location of one robot in 2D
space.

1537 11/14/2009 01:15 AM John Sexton

Created project directory to investigate using the BOMs to track robots in 2D space.

1536 11/14/2009 01:05 AM John Sexton

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.

1530 11/13/2009 10:19 PM John Sexton

Recompiled library to incorporate new BOM histogram print function. Push-Pull behavior currently prints the BOM intensity histogram and the resultant
vector over USB.

1529 11/13/2009 09:59 PM John Sexton

Merged new function to print BOM intensity histogram into the trunk.

1525 11/13/2009 06:13 PM John Sexton

Cleaning up folders added for demonstration purposes.

1524 11/13/2009 05:38 PM Alex Zirbel

Added comments to circle formation code

1523 11/13/2009 05:17 PM James Kong

Made changes to newfile.c

1522 11/13/2009 05:16 PM James Kong

Added newfile changed main.c in james dummy folder

1521 11/13/2009 05:04 PM James Kong

Added danshope

1520 11/13/2009 05:00 PM James Kong

Changed main.c in james dummy folder

1519 11/13/2009 04:59 PM James Kong

Added dummy james folder

1517 11/11/2009 08:25 PM Alex Zirbel

Updated circle formation behavior

1515 11/11/2009 06:11 PM John Sexton

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.

1514 11/10/2009 09:25 PM John Sexton

Remove template "main.c" file. Appropriate Circle behavior code can be found in "circle.c" file.

1512 11/10/2009 02:53 AM John Sexton

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 ...

1511 11/10/2009 02:09 AM John Sexton

Renamed Push-Pull behavior code file to "push_pull.c"

1510 11/10/2009 01:30 AM John Sexton

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.

1509 11/09/2009 09:09 PM John Sexton

Cleaned up the Circle behavior folder in the "formation_control" folder. Now compiles correctly with the current version of the repository library.

1508 11/09/2009 09:02 PM John Sexton

Making bom_get_vector() function which should eventually be placed into the library.

1507 11/09/2009 08:12 PM Nico Paris

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.

1504 11/08/2009 03:58 AM John Sexton

Updated comments to correctly reflect the meaning of the x and y
coordinates.

1503 11/08/2009 03:13 AM John Sexton

Progress on Push-Pull. Added a divide-by-zero check. Also fixed an
error (added code to clear accumulators each time through the loop).

1502 11/08/2009 01:29 AM John Sexton

Wrote Push-Pull behavior to print the net BOM intensity vector over serial.

1501 11/07/2009 11:01 PM John Sexton

Updated Hunter-Prey implementation. Motors didn't turn off during wait state. Fixed now.

1500 11/07/2009 09:37 PM John Sexton

Commented the template file and my implementation of Hunter-Prey to make the code easier to follow.

1498 11/07/2009 08:21 PM John Sexton

Creating "template" to use as a starting point for developing new
behaviors.

1497 11/07/2009 08:04 PM John Sexton

Cleaning up the template folder for behaviors.

1496 11/07/2009 07:17 PM John Sexton

Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine
correctly.