moved the smart-runaround stuff from template to a new folder and restored the old templateimplemented usb_put* which just outputs to stdio
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
Smart run around mostly works!!!
Thanks to Brian for fixing a bug in motion codedivide by 0 zero error in motion.c
Makefile cleans .csim and copy it over
GUI no longer fill the robot
simulating rangefinder and smart run around
changed the position of IR sensors defined in libsimlibsim 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
Can now add robots through the GUI.
Switched to loop based suspending on the robots using simulator_do
now runs much better for the stupid template sample
Cleaned up code, removed all compiler warnings.
sped up simulator!
changed the delay to be less and removed spamming of printfs from world.c
Draws polygons in the environment.
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)
added BOM to libsim and shared library
Now runs at a reasonable speed.
libsim rangefinders works with shared memory now
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
library motor code
when Andrew's memory code is uncommented, uncomment the code in this file
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
Updated makefile to compile binaries for simulator.
Simulator library compiles but doesn't do anything.
All library files added, unimplemented.
Added unimplemented message to simulator library.
Started working on library... Wrote about half of the stubs.