Fixed race condition for adding robots?
speed now takes negative values
Can now add robots through the GUI.
Brad Neuman forgot to add the word "void" in simulator_do();
Switched to loop based suspending on the robots using simulator_do
now runs much better for the stupid template sample
Deleted random files in top level directory.
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
Made some additions to rayHits.c
Not really useful, just for me
Fixed race condition in GUI, hopefully.
Cleaned up code, removed all compiler warnings.
added some error checking
Removed Diagnostic Station Branch. It will be placed into the Trunk.
sped up simulator!
changed the delay to be less and removed spamming of printfs from world.c
Added file to check for collisions with circles
Added code used to turn on BOM LEDs to test the current through the BOM LEDs.
Robots now draw in correct location.
rangefinders are in fact working now
Draws polygons in the environment.
small chnage to motion.c, going forward and backwards should now be consistent
added a sample world, updated main to load the sample world
added update_rangefinders, which should be enough for the demo tomorrow
max_objs is not an argument of load_world. Remove starts_with
started working on integrating with rangefinders
load world from input file, changed create poly to take an array of doubles
added some functions to initialize the world. still needs a lot of work
works with 20 robots! but its incredibly slow and destroys computersalso fixed a bug in the robot creation code (it didn't init robots array to -1 after a resize)
update to libsim.a to include BOM
added BOM to libsim and shared library
Updated Makefile for Diagnostic Station directory. Now have compilable code which can be successfully downloaded to turn on 1 orb light!
Cleaned up Diagnostic Station folder.
use abs in stdlib instead of a crappy macro
working ray-polygon collisions, but needs a lot of clean up
CAD model of the diagnostic station
completed skeleton for the environment
world header file, with type definitions
Now runs at a reasonable speed.
Theta changes now.
made a copy
Uploaded empty folder when wanted to copy code folder.
Created folder remotely
theta in motors should change now
Forgot to commit header file.
Motion works, but needs fine tuning.
Fixed bug in iterator.
libsim rangefinders works with shared memory now
get rid of the draw_funcs stuff.
Threading issues worked out better... Ready to add motion.
Rangefinder now have normalized random noise!
gaussian noise now has a gauss_init to initialize with a seed and chaos scalar
the function move will now update the position of the robot and its theta. This can be merged into libsim once tested
working gaussian nosie function: gauss_noise()
Started on drawing robots in the right place.
fixed the environment variable stuff
getenv should worksome commented code uncommented
Fixed makefile includes.
Free's shared memory in the core file upon error in forking or error in attaching to shared memory
I hope this works
library motor code
when Andrew's memory code is uncommented, uncomment the code in this file
Renamed second core directory to test, slated for deletion.
Refactored simulator, set some stuff up to work with multiple robots.
Including common directory in commit
moved stuff from robot_test into libsim.clibsim now contains the timer (pause/resume) stuff
Also commented andrew's code because it broke the build
ticket #159:main() is just for testingno working code yet just comments, still need to figure out the math
Function to free memory added, not sure how to test if its working.
Fixed initialization of simulators struct
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.
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
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.
added robot shared memory id to simulator structure
test again. nothing is changed
test commit
Draws circle and square.
Ooops, forgot to commit main method.
update to robot shared header
GUI now compiles.
added some structs to the common header file
Added beginning GUI code, does not compile.
added tests of two possible ways to control proc's.
leaning heavily towards the itimer method
Made some modifications for testing in the main loop
Some changes in I2C testing in the main loop
Updated makefile to compile binaries for simulator.
Simulator library compiles.
Simulator library compiles but doesn't do anything.
All library files added, unimplemented.
Added unimplemented message to simulator library.
commented
fixed syntax
i2c library for the bay boardsdetects xbee presence to determine master/slave
Changed the compile file from Charging.c to ConstantCharging.c
Started working on library... Wrote about half of the stubs.
fixed makefile in Robot Debug to point to trunk library for dragonfly
Updated simulator lib directory with new headers.
Fixed Makefile and Doxyfile.
Moved comments to headers. That was painful.
Synchronized trunk and bayboard versions.