| Revision:

root / branches / library_refactor @ 1390

# Date Author Comment
1390 09/07/2009 10:19 PM Rich Hong

fixes #570 avrdude port detection

1367 09/02/2009 07:37 PM Nico Paris

Matched this main.c to /trunk/code/projects/test/main.c

1366 09/02/2009 07:33 PM Nico Paris

Changed all tests and main.c to copies of those in trunk/code/projects/test

1139 04/14/2009 09:47 PM Martin Herrmann

Measured timing
Fixed interrupt handler bug

1138 04/14/2009 09:13 PM Martin Herrmann

Fixed synchronization
Tested robustness

1132 04/12/2009 09:21 PM Martin Herrmann


1131 04/10/2009 09:54 PM Martin Herrmann

Cleaned up lights.h
Implemented predefined color setting
Implemented binary/PWM mode switching

1126 04/09/2009 06:52 PM Martin Herrmann

Saved 53%-62% processor time on orbs sorting

1112 04/08/2009 02:42 PM Martin Herrmann
1111 04/08/2009 02:39 PM Martin Herrmann

Bugfix: Orbs not turned off at the beginning of the PWM cycle.

1109 04/07/2009 10:35 PM Martin Herrmann

Test code

1108 04/07/2009 09:53 PM Martin Herrmann

Added atomic.h from the avr_libc (according to the documentation, it should be in the avr_libc distribution, but it seems to be missing)

1107 04/07/2009 09:45 PM Martin Herrmann

Implemented triple buffering
Optimized sorting

1106 04/07/2009 06:51 PM Martin Herrmann
1105 04/07/2009 02:46 PM Martin Herrmann

Fixed timing
Profiled sorting

1104 04/06/2009 08:59 PM Martin Herrmann

Implemented lights sorting, interrupt handlers

1102 04/05/2009 08:11 PM Martin Herrmann

Basic orb PWM functionality on Timer0

1100 04/04/2009 05:40 PM Martin Herrmann

Timer experiments

1095 04/01/2009 10:41 PM Martin Herrmann

Test code to clarify timer operation
Created data structures

1087 03/31/2009 10:45 PM Martin Herrmann

Fixed whitespace at the end of eeprom.h
Implemented binary orb settings

1084 03/24/2009 09:50 PM Martin Herrmann

Added functions for printing hexadecimal numbers to USB, see serial.h

1083 03/24/2009 09:25 PM Martin Herrmann

Prepared the library for refactoring
- Added a library_test behavior (general testing playground)
- Modified projects/libdragonfly/Makefile and behaviors/library_test/Makefile because there is no code directory in this branch

1081 03/23/2009 08:22 PM Kevin Woo

Branch for the library fixes

1080 03/21/2009 03:57 PM Martin Herrmann

Bugfix: BOM_S2 and BOM_S3 were switched, resulting in wrong addressing of the BOM detectors (0 1 2 3 8 9 10 11 4 5 6 7 12 13 14 15).

1079 03/21/2009 03:56 PM Martin Herrmann

Bugfix: BOM_S2 and BOM_S3 were switched, resulting in wrong addressing of the BOM detectors (0 1 2 3 8 9 10 11 4 5 6 7 12 13 14 15).

1070 03/17/2009 02:28 AM Justin Scheiner

First attempt at a probability density mapper. Unifinished.

1067 03/04/2009 07:27 PM Nico Paris

Made some additions to rayHits.c

Not really useful, just for me

1066 03/03/2009 09:23 PM Abraham Levkoy

Changed the robot dir to drive and added a dir to work on autonomous mapping

1062 02/27/2009 05:18 PM Justin Scheiner

Small modifications to receive.c, corrected an error
in the ring buffer. Some commenting and cleaning.

1061 02/25/2009 09:04 PM John Sexton

Succesfully tested BOM LED current.

1060 02/25/2009 07:14 PM John Sexton

Corrected Makefiles to work inside the trunk.

1059 02/25/2009 07:03 PM John Sexton

Moved diagnostic station workspace to trunk.

1058 02/25/2009 06:47 PM John Sexton

Moving Diagnostic Station Workspace from branches to trunk.

1055 02/25/2009 05:25 PM Austin Buchan

include path was fixed. AVRDUDEPORT was changed to com4 instead of the usb/tty thingy

1053 02/25/2009 05:23 PM Austin Buchan

Updated with fixes to bom.c

1052 02/25/2009 05:23 PM Austin Buchan

only newline differences

1051 02/25/2009 05:21 PM Austin Buchan

Fixed some errors due to BOM being used instead of BOM10

1035 02/17/2009 09:22 PM Emily Hart

Added newline at the end of the file. Take that, gcc.

1032 02/17/2009 08:46 PM Justin Scheiner

Having trouble with wireless (I think) hopefully this will work by friday.

1030 02/17/2009 08:28 PM Abraham Levkoy

tested a bunch of different environments for mapping

1029 02/17/2009 08:27 PM Abraham Levkoy

Switched wl_init and wl_set_com_port in test.c (again?)

1028 02/17/2009 07:46 PM Justin Scheiner

Changes all around. Matlab server is now passive, might work soon.

1023 02/12/2009 06:01 PM Brad Neuman

added thing to program eeprom BOM ids and robot id over usb

1018 02/11/2009 12:11 PM Abraham Levkoy

Added the data files for real this time

1017 02/10/2009 10:49 PM Abraham Levkoy

Ran some tests in different environments. Data is in 1, 2, 3.txt

1016 02/10/2009 08:00 PM Chris Mar

calls to wl_init() and wl_set_com_port() were inverted

1005 02/05/2009 10:06 PM Abraham Levkoy

test takes an argument for the USB port #, but it doesn't commit a
memory error like it did last time I committed

1004 02/05/2009 09:45 PM Abraham Levkoy

test now takes a second argument for the USB port number

980 01/28/2009 11:42 PM Chris Mar

sorry...didn't mean to commit odometry.c

979 01/28/2009 11:41 PM Chris Mar

minor changes to remote control / mapping code...wireless control works with libwireless reverted to rev. 887. code in odometry interrupt conflicts with motors, not allowing the robot to move motors in response to commands.

970 01/27/2009 08:27 PM Abraham Levkoy

Wrote some code to test wireless communication between the computer and
the robot. Right now, it doesn't work.

967 01/27/2009 06:08 PM Abraham Levkoy

now it will work

966 01/26/2009 07:35 PM Justin Scheiner

Small changes - new file just waits for packets to buffer
for matlab, so the robots will decide when to send their
data in this version.

965 01/26/2009 07:34 PM Abraham Levkoy

Cleaned up test.c and robot_main.c in mapping.

963 01/23/2009 03:58 PM Justin Scheiner

Minor modifications and fixes. Haven't gotten it to work yet.

960 01/22/2009 07:34 PM Justin Scheiner

Small changes and comments.

959 01/22/2009 07:25 PM Justin Scheiner

Changed receive to work when there's no data,
haven't tested for when there is,
test.c works as expected,
Makefile modified to work on receive.c on a linux machine with matlab.
testing robots pending - not hopeful - see code.

958 01/21/2009 07:32 PM Chris Mar

added test for motors. it just runs the left and right. this can be improved.

957 01/20/2009 10:12 PM Justin Scheiner

Slight corrections to this file. I have no way
of testing without a computer with matlab/linux.

If anyone knows windows threading I'd be much
obliged. Alternatively, if anyone knows if there
is an accessible build of gcc higher then version
4 on andrew unix let me know.

954 01/16/2009 04:01 PM Justin Scheiner

Just some test code to see how concurrency works in matlab functions.

953 01/16/2009 03:50 PM Justin Scheiner

Added some test code for the receive function - does not work as
I can't get the token ring to start up. receive.c needs to be on
a matlab computer to be compiled and run correctly (mex receive.c -lpthread)

952 01/16/2009 02:36 PM Justin Scheiner

Wrote mex file code to interface between matlab and the wireless library.

951 01/14/2009 06:30 PM Chris Mar

testing commit on new svn (just template directory)

949 12/10/2008 07:36 PM Justin Scheiner

Added a odometry_velocity function that gives approximate speed of the robot in mm/s.

948 12/10/2008 03:55 PM Justin Scheiner

Added symbolic links to the odometry in mapping to the library, and provided documentation.

947 12/10/2008 03:30 PM Justin Scheiner

Odometry works!!

946 12/03/2008 12:01 AM Austin Buchan

extension of update to eeprom/bom/init. this is just the include files and the library archive.

945 12/02/2008 11:59 PM Austin Buchan

Integrated new BOM1.5 compatible code. Also put eeprom code for reading ID and BOM type from EEPROM. will need to program each robot's eeprom separately later. This has been tested and verified to work on robots with different BOM types.

944 12/02/2008 07:32 PM Chris Mar

added a test for lights/orbs.

940 12/01/2008 07:28 AM Ryan Cahoon

Prototype JNI (Java Native Interface) for libwireless. Compiles, and
java loads the library, but untested with a real scenario or hardware.

939 11/29/2008 08:11 AM Ryan Cahoon

added passing of overhead camera image to client through PHP
fixed unfreed memory in server/vision/savetonetwork.c

938 11/27/2008 06:52 AM Ryan Cahoon

OpenCV now works directly with firewire, coriander is not needed
New vision algorithm integrated, a few issues left with algorithm that
tracks the movement of a specific robot
Removed experimental interface to send images over commands socket
--plan to use php in webserver instead...

937 11/26/2008 09:57 AM Ryan Cahoon

New vision algorithm utilitizing Hough Transform and edge detection
instead of the older one using ellipse fitting and thresholding

936 11/25/2008 05:54 PM Ryan Cahoon

Incremental update; working on:
- new vision algorithm utilizing edge detection instead of thresholding
- sending camera images over sockets instead of using the webserver

935 11/22/2008 11:39 PM Tudor Achim

untested realtime ir plotting

934 11/21/2008 08:20 PM Tudor Achim

Realtime position plotting

932 11/18/2008 11:49 PM Tudor Achim

A working server, with debug printing, some mapping capabilities
Partly for testing

931 11/18/2008 11:44 PM Tudor Achim

changed xbee packet handling, added more info for unexpected packets

930 11/18/2008 09:58 PM Chris Mar

sample maps created by pushing the robot around a table (3 or 4 walls)

929 11/18/2008 09:25 PM Justin Scheiner

Nothing was fixed nothing changed.

928 11/18/2008 09:16 PM Chris Mar

updated server-side mapping code (remote control, etc)

927 11/18/2008 09:16 PM Chris Mar

added odometry to robot mapping code via symlinks to justin's odometry code

926 11/18/2008 09:15 PM Justin Scheiner

Odometry committed. New version is more general, but still drifts to zero.

925 11/18/2008 09:14 PM Chris Mar

cleaning up robot code for mapping

924 11/18/2008 09:00 PM Justin Scheiner

Odometry will temporarily not work. Working code commented out. This commit is so the blight on the world that is
colony math.h will be eradicated for all time.

920 11/18/2008 07:10 PM Ryan Cahoon

Fixed error when getting xbee address during init on computer

919 11/18/2008 06:24 PM Tudor Achim

added model, whoops

918 11/18/2008 06:22 PM Tudor Achim

python stuff

917 11/14/2008 11:12 PM Chris Mar

driving code interprets odometry data correctly, uses non-blocking key listener and can receive packets continually

916 11/14/2008 04:55 PM David Schultz

added ideas on multi-robot behavior
will turn into actual code eventually

915 11/14/2008 12:08 AM Chris Mar

updated robot and server code to use odometry. having problems with theta because it is a double (4 bytes on robot, 8 bytes on server)

913 11/11/2008 09:56 PM Justin Scheiner

Odometry works but the precision is awful. Angles are measured fairly accurately, but distance readings are consistently lower then expected.

912 11/11/2008 08:18 PM Abraham Levkoy

Robot sends updates 50 times per second. Robot remote control program doesn't mess up terminal upon exit.

911 11/11/2008 07:48 PM Chris Mar

fixed output filename and unsigned data

910 11/11/2008 07:29 PM Justin Scheiner

Realized local encoders file was still in the repository.

909 11/11/2008 07:26 PM Justin Scheiner

Quick update before I do something stupid.

908 11/11/2008 07:14 PM Chris Mar

remote control of robot and data output for matlab

907 11/11/2008 06:57 PM Emily Hart

Code that converts data from the robot into a plot

904 11/08/2008 09:30 PM Justin Scheiner

Compiles now. This code worked a while ago but I haven't touched it since early last semester.
The idea was to do exactly what Abe is doing now... so it might be useful.

903 11/08/2008 07:20 PM Chris Mar

added range_init() call to dragonfly_init(). you will no longer have to call range_init() separately in your programs