it basically works! It calibrates the motors then drives in a mostly straight line
fixed lost of bugs in the libraries for spi and encoder
encoders.c works! there is a ton of debug output but I want to get the commit in before I am to tired and do something dumb.
added another function pointer to encoders which gets called after all bytes are recv'd.working on a behavior to drive in a straight line, but encoders are giving invalid on robot 5
code commented and cleaned up. should work but untested.
encoders work
reads first byte of left encoder correctly, still can't get second byte
encoder: added data array buffer and accumulators
Fixed a bug in encoders.
asdf
Wrote encoders.c and encoders.h Would GREATLY appreciate it if someone could check if I got the receive function correct. There was a lot of bit twiddling. Useful functions still need to be written, however receiving raw encoder readings should work (not tested... so don't bet on it)
encoders might work now
potentially functional SPI driver, will test tonight
more broken code
More testing. Transmission is messed up.
Read the datasheet again and I think we had things out of order. Reversed the order but didn't test yet.
Modified spi.c/h. Sends 1 packet before failing. Funny light blinking thing happens when sending, no idea where that came from. It looks like the orbs are used as transmit lights but there's no code for that as far as I know.
Modified the spi module a bit. Didn't test it but this might be better. Need to talk to Ben about it.
Started the encoders file. Nothing in there because I don't have a stable SPI interface to work with yet.
slave -> master kind of works
SPI test code update
SPI Master->Slave works. Slave->Master not working yet. /template/main.c has the test bench. Yay!
Changed formatting so that it isn't as messy. Probably won't compile. Still probably doesn't work.
SPI update, still not functional
updated timer rtc_add_function and implemented a rtc_remove_function
added get and reset functions back in to work with existing code, added get from a particular function, and reset all
updated time.c and time.h to take multiple functions, somewhat backwards compatible
Branching for encoder work in the library.
Added smart_run_around_fsm to behaviors in trunk
added charging_station and dragonfly folders to autonomous_recharging
Commit missed the new files. Damn svn add.
Did a lot of work on slam, the robot/computer should be able to read back all of the information from IR and the BOM's right now. No testing yet. Waiting for freshman... Mwa ha ha. Next step is the hard part, working on the actual mapping algorithm. Hopefully some freshman will know OpenGL or something.
Forgot to add include and source files in lib directory on previous commit.
Updated build and documentation for libdragonfly, including reset.h, math.h and i2c.h.
Updated wireless library, fixing bug and now works for a firefly if FIREFLY is defined.
Wee we committed i2c with many problems. But it should be ok.
merged lib_additions
I think I sort of merged in the auto echarge daughter board code
the gui can now request the sensor matrix from the server and parse the matrix.
made it send a random sensor matrix when client requests bom matrix
added supplementary java files
minor changes to colonet gui
Minor changes to colonet gui
Worked on computer_main and robot_main, Somewhat completed robot_main. Will need to clean up packet creation.computer_main is nowhere near complete. Working on pulling in data from the robots.
"merged" frm the branch
updated some stuff
updated gui code for cleanliness
dos2unix on Makefile.
updated the makefile a little
Updated wireless library to add different channels.
got rid of a few more TODO's
got rid of some TODO's
renamed Logging.cpp to Log.cpp to match the name of the class
fixed a typo
added comments and fixed style a little bit
Added robot packet response.
Updated libwireless to include new token ring functions.
Updated libwireless binary.
I think this should do it.
More..
I'm having some commit woes... bare with me
Updated wireless library in lib directory.
Wireless library updated. Ran successfuly for 15 minutes on 4 robots.
Moved port to front in template makefile.
updated to new xcode format
cleaned up colonet gui code
Updating Colonet GUI to new style, plus minor fixes
revised colonet style
Small colonet cleanup.
added autonomous_recharging and scheduler folders to projects
added new xcode project files
added some doxygen comments
got rid of old files
moved around some braces and whitespace and renamed variables to make the code comply with style guidelines a bit more
moved around more code
moved more code around
moved more code around and got rid of the initialization file
moved around some more code
Added two lines to the default Makefile that checks for a predefined COLONYROOT variable.I suggest everyone defines a global as the ../../.. is undependable.
started moving ColonetServer into a class. the code is pretty messy at the moment
Added wireless library to lib directory.
Added wireless library project folder.
Added template file.
added a write function to the connection pool
Added more colonet stuff.
Added ColonetServer and colonet libs.
Added libdragonfly project folder.
Added wireless library.
Created trunkand branches directories