added some vague file type checking to prevent running simulator in simulatorupdated the makefile to make simulator executable filenames end in .csim
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
Switched to loop based suspending on the robots using simulator_do
now runs much better for the stupid template sample
Now runs at a reasonable speed.
Updated makefile to compile binaries for simulator.
Created simulator branch. Sorry for adding new branches, but I am planning on rearranging the library.
Removed KWoo's crap from template.
Commented some of the encoder functions.
reverted projects/template/ directory to pre-demo state. moved run_around demo code into behaviors/smart_run_around_fsm/ directory.
recompiled library - orb_init was called twice by dragonfly init. template folder contains run around demo code (to be restored post-demo). the ords appear to work (at least for demo).
Updated robot_slave code; reformatted a lot of stuff
dos2unix on Makefile.
Moved port to front in template makefile.
Added two lines to the default Makefile that checks for a predefined COLONYROOT variable.I suggest everyone defines a global as the ../../.. is undependable.
Added template file.