Project

General

Profile

Statistics
| Revision:

root / branches / simulator

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

fixes #570 avrdude port detection

1278 05/02/2009 06:47 PM Rich Hong

removed circle and made border thinner in world.txt

1277 05/02/2009 06:43 PM Rich Hong

update world.txt with screenshots

1184 04/22/2009 10:23 PM Rich Hong

Able to read and draw circles in the environment

1180 04/22/2009 04:57 PM Nico Paris

Hopefully final fix for circles

1179 04/22/2009 04:56 PM Nico Paris

Paren fixes for circles

1178 04/22/2009 04:54 PM Nico Paris

More fixes

1177 04/22/2009 04:53 PM Nico Paris

Even more updates to circles

1176 04/22/2009 04:51 PM Nico Paris

More fixes for circles

1175 04/22/2009 04:49 PM Nico Paris

Hopefully unbroke simulator with circles

1174 04/22/2009 04:46 PM Nico Paris

Commented out code that broke simulator

1173 04/22/2009 04:43 PM Nico Paris

Added circle collisions

1172 04/22/2009 04:42 PM Nico Paris

Added circle collisions

1163 04/21/2009 05:58 PM David Schultz

fixed compiler warnings by including library files

1140 04/15/2009 05:24 PM Bradley Yoo

it's slightly better

1130 04/10/2009 06:36 PM Brad Neuman

moved the smart-runaround stuff from template to a new folder and restored the old template
implemented usb_put* which just outputs to stdio

1129 04/10/2009 04:03 PM Brad Neuman

actually found a bug in smar run around using the simulator where the omega is > 255, which causes the robot in the simulator to stop moving.

Also added a hack to make the robot start at a non-90 degree angle

1128 04/09/2009 08:46 PM Andrew Yeager

Added library for wireless

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

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

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

cleanup on robot exit

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

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

Reorganized coordinate transforms in the GUI.

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

Robots drawn to scale.

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

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

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

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

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.

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

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

982 01/29/2009 06:44 PM Andrew Yeager

Added shared memory setup code to the create_robot function. Need to
write the cleanup code still. Exec call is failing but wasn't
succeeding before code change either.

981 01/29/2009 01:29 AM Brad Neuman

Added signal handling code to core simulator

added a robot_test directory which contiains code to run the timer and deal with the robot side signaling. To compile it you need to run gcc
robot_test/robot.c -o robot_test/robot. This whole file is temporary. It is just proof of concept until it gets added to the simulator library

978 01/28/2009 07:57 PM Siyuan Feng

added a draw_funcs.c/h, functions need to draw stuff should go there.
added a basic function used to draw robot with x, y, orientation.

977 01/28/2009 07:39 PM David Schultz

added robot shared memory id to simulator structure

976 01/28/2009 07:00 PM Siyuan Feng

test again. nothing is changed

975 01/28/2009 06:57 PM Siyuan Feng

test commit

974 01/28/2009 06:47 PM Brian Coltin

Draws circle and square.

973 01/28/2009 06:24 PM Brian Coltin

Ooops, forgot to commit main method.