sped up simulator!
changed the delay to be less and removed spamming of printfs from world.c
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)
use abs in stdlib instead of a crappy macro
working ray-polygon collisions, but needs a lot of clean up
completed skeleton for the environment
world header file, with type definitions
Now runs at a reasonable speed.
Theta changes now.
Forgot to commit header file.
Motion works, but needs fine tuning.
Fixed bug in iterator.
get rid of the draw_funcs stuff.
Threading issues worked out better... Ready to add motion.
gaussian noise now has a gauss_init to initialize with a seed and chaos scalar
working gaussian nosie function: gauss_noise()
Started on drawing robots in the right place.
fixed the environment variable stuff
Free's shared memory in the core file upon error in forking or error in attaching to shared memory
Refactored simulator, set some stuff up to work with multiple robots.
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
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.
test again. nothing is changed
test commit
Draws circle and square.
Ooops, forgot to commit main method.
GUI now compiles.
Added beginning GUI code, does not compile.