History | View | Annotate | Download (5.58 KB)
Cleaned up the code, someone help figure out the memory error!
Small modifications to receive.c, corrected an errorin the ring buffer. Some commenting and cleaning.
Having trouble with wireless (I think) hopefully this will work by friday.
Changes all around. Matlab server is now passive, might work soon.
Small changes - new file just waits for packets to bufferfor matlab, so the robots will decide when to send theirdata in this version.
Minor modifications and fixes. Haven't gotten it to work yet.
Small changes and comments.
Changed receive to work when there's no data,haven't tested for when there is,test.c works as expected,Makefile modified to work on receive.c on a linux machine with matlab.testing robots pending - not hopeful - see code.
Added some test code for the receive function - does not work asI can't get the token ring to start up. receive.c needs to be ona matlab computer to be compiled and run correctly (mex receive.c -lpthread)
Wrote mex file code to interface between matlab and the wireless library.