Project

General

Profile

Statistics
| Revision:

root / branches @ 1116

# Date Author Comment
1116 04/08/2009 09:39 PM Emily Hart

Added server code.

1115 04/08/2009 05:42 PM Rich Hong

Smart run around mostly works!!!

Thanks to Brian for fixing a bug in motion code
divide by 0 zero error in motion.c

Makefile cleans .csim and copy it over

GUI no longer fill the robot

1114 04/08/2009 05:13 PM Brad Neuman

changed the sigchld handler to only wait on robot proc's so that it doesn't try to wait on gui things

1113 04/08/2009 04:45 PM Nico Paris

Polished file. Added includes

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

1101 04/05/2009 07:39 PM Brad Neuman

added some vague file type checking to prevent running simulator in simulator
updated the makefile to make simulator executable filenames end in .csim

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

Timer experiments

1096 04/03/2009 04:26 PM Brad Neuman

cleanup on robot exit

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

Test code to clarify timer operation
Created data structures

1094 04/01/2009 10:28 PM Rich Hong

simulating rangefinder and smart run around

changed the position of IR sensors defined in libsim
libsim and libdragonfly use different numbering for IRs (#418, #419)
added smart_run_around to template, right now it just hits wall, backs
up then segfaults

1092 04/01/2009 05:03 PM Ben Poole

slowed down motion and hacked more crap

1091 04/01/2009 01:58 AM Ben Poole

allow rotation while stuck

1090 04/01/2009 01:50 AM Ben Poole

awful hack for collisions that appears to work

1089 03/31/2009 11:38 PM Brian Coltin

Can now move robots with the GUI, deletion built into GUI but doesn't work in the backend.

1088 03/31/2009 10:48 PM Nico Paris

Added code for circles in environment. Still needs to be tested

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

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

1086 03/31/2009 09:54 PM Brian Coltin

Reorganized coordinate transforms in the GUI.

1085 03/27/2009 03:55 PM Emily Hart

Added code for communication between a computer and the USB hub.

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

1082 03/24/2009 09:01 PM Brian Coltin

Robots drawn to scale.

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

Branch for the library fixes

1078 03/20/2009 05:19 PM Brian Coltin

Pretty single check box added for paused robots.

1077 03/20/2009 05:03 PM Brian Coltin

Can run with no robots.

1076 03/20/2009 04:42 PM Brian Coltin

Fixed race condition for adding robots?

1075 03/18/2009 07:26 PM Bradley Yoo

speed now takes negative values

1074 03/18/2009 07:20 PM Brian Coltin

Can now add robots through the GUI.

1073 03/18/2009 07:00 PM Bradley Yoo

Brad Neuman forgot to add the word "void" in simulator_do();

1072 03/18/2009 06:42 PM Brad Neuman

Switched to loop based suspending on the robots using simulator_do

now runs much better for the stupid template sample

1071 03/18/2009 04:45 PM Brian Coltin

Deleted random files in top level directory.

1068 03/04/2009 10:59 PM Andrew Yeager

Added replay functionality and command line arguments

-l <filename> log simulation to file [currently make sure file does not
exist, overwriting of files not handled well]

-p <filename> run a log file rather than simulation

-w <filename> load in world file

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

Made some additions to rayHits.c

Not really useful, just for me

1065 03/02/2009 02:46 PM Brian Coltin

Fixed race condition in GUI, hopefully.

1064 02/28/2009 06:32 PM Brian Coltin

Cleaned up code, removed all compiler warnings.

1063 02/27/2009 05:39 PM Brad Neuman

added some error checking

1057 02/25/2009 06:42 PM John Sexton

Removed Diagnostic Station Branch. It will be placed into the Trunk.

1056 02/25/2009 06:13 PM Brad Neuman

sped up simulator!

changed the delay to be less and removed spamming of printfs from
world.c

1054 02/25/2009 05:24 PM Nico Paris

Added file to check for collisions with circles

1050 02/25/2009 04:36 PM John Sexton

Added code used to turn on BOM LEDs to test the current through the BOM
LEDs.

1049 02/20/2009 12:13 AM Brian Coltin

Robots now draw in correct location.

1048 02/19/2009 11:19 PM Ben Poole

rangefinders are in fact working now

1047 02/19/2009 10:45 PM Brian Coltin

Draws polygons in the environment.

1046 02/19/2009 10:41 PM Rich Hong

small chnage to motion.c, going forward and backwards should now be consistent

1045 02/19/2009 08:37 PM Ben Poole

added a sample world, updated main to load the sample world

1044 02/19/2009 08:21 PM Ben Poole

added update_rangefinders, which should be enough for the demo tomorrow

1043 02/19/2009 05:51 PM Rich Hong

max_objs is not an argument of load_world. Remove starts_with

1042 02/19/2009 05:24 PM Ben Poole

started working on integrating with rangefinders

1041 02/19/2009 04:23 PM Rich Hong

load world from input file, changed create poly to take an array of doubles

1040 02/19/2009 01:08 PM Ben Poole

added some functions to initialize the world. still needs a lot of work

1039 02/18/2009 10:57 PM Brad Neuman

works with 20 robots! but its incredibly slow and destroys computers
also fixed a bug in the robot creation code (it didn't init robots array to -1 after a resize)

1038 02/18/2009 05:35 PM David Schultz

update to libsim.a to include BOM

1037 02/18/2009 05:14 PM David Schultz

added BOM to libsim and shared library

1036 02/17/2009 09:59 PM John Sexton

Updated Makefile for Diagnostic Station directory. Now have compilable code which can be successfully downloaded to turn on 1 orb light!

1031 02/17/2009 08:30 PM John Sexton

Cleaned up Diagnostic Station folder.

1027 02/15/2009 03:39 PM Rich Hong

use abs in stdlib instead of a crappy macro

1026 02/15/2009 03:19 PM Ben Poole

working ray-polygon collisions, but needs a lot of clean up

1025 02/13/2009 04:39 PM Jimmy Bourne

CAD model of the diagnostic station

1022 02/11/2009 07:08 PM Ben Poole

completed skeleton for the environment

1021 02/11/2009 06:44 PM Ben Poole

world header file, with type definitions

1020 02/11/2009 06:21 PM Brian Coltin

Now runs at a reasonable speed.

1019 02/11/2009 05:52 PM Brian Coltin

Theta changes now.

1015 02/09/2009 08:47 PM John Sexton

made a copy

1014 02/09/2009 08:38 PM John Sexton

Uploaded empty folder when wanted to copy code folder.

1013 02/09/2009 08:31 PM John Sexton

Created folder remotely

1012 02/08/2009 02:05 PM Bradley Yoo

theta in motors should change now

1011 02/06/2009 04:32 PM Brian Coltin

Forgot to commit header file.

1010 02/06/2009 03:04 PM Brian Coltin

Motion works, but needs fine tuning.

1009 02/06/2009 02:50 PM Brian Coltin

Fixed bug in iterator.

1008 02/06/2009 02:05 PM David Schultz

libsim rangefinders works with shared memory now

1007 02/06/2009 01:34 PM Siyuan Feng

get rid of the draw_funcs stuff.

1006 02/06/2009 11:41 AM Brian Coltin

Threading issues worked out better... Ready to add motion.

1003 02/04/2009 07:27 PM Nico Paris

Rangefinder now have normalized random noise!

1002 02/04/2009 06:31 PM Ben Poole

gaussian noise now has a gauss_init to initialize with a seed and chaos scalar

1001 02/04/2009 06:18 PM Rich Hong

the function move will now update the position of the robot and its theta. This can be merged into libsim once tested

1000 02/04/2009 05:58 PM Ben Poole

working gaussian nosie function: gauss_noise()

999 02/04/2009 05:53 PM Nico Paris
998 02/04/2009 05:49 PM Nico Paris
997 02/04/2009 05:43 PM Brian Coltin

Started on drawing robots in the right place.

996 02/04/2009 05:31 PM Brad Neuman

fixed the environment variable stuff

995 02/04/2009 05:13 PM David Schultz

getenv should work
some commented code uncommented

994 02/04/2009 05:05 PM Brian Coltin

Fixed makefile includes.

993 02/04/2009 01:14 PM Andrew Yeager

Free's shared memory in the core file upon error in forking or error in attaching to shared memory

992 02/03/2009 08:50 PM ttf
991 02/03/2009 04:33 PM Nico Paris

I hope this works

990 02/01/2009 06:38 PM David Schultz

library motor code

when Andrew's memory code is uncommented, uncomment the code in this file

989 01/31/2009 12:46 PM Brian Coltin

Renamed second core directory to test, slated for deletion.

988 01/31/2009 12:45 PM Brian Coltin

Refactored simulator, set some stuff up to work with multiple robots.

987 01/30/2009 05:35 PM Andrew Yeager

Including common directory in commit

986 01/30/2009 05:15 PM Brad Neuman

moved stuff from robot_test into libsim.c
libsim now contains the timer (pause/resume) stuff

Also commented andrew's code because it broke the build

985 01/30/2009 11:48 AM Rich Hong

ticket #159:
main() is just for testing
no working code yet just comments, still need to figure out the math

984 01/29/2009 09:19 PM Andrew Yeager

Function to free memory added, not sure how to test if its working.

983 01/29/2009 08:15 PM Andrew Yeager

Fixed initialization of simulators struct