fixes #570 avrdude port detection
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
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.