| 15 | |
| 16 | == 7/2/07 - Day 22 == |
| 17 | |
| 18 | We have begun working on a new grand solution to the access point locating challenge. We are working on an intellegent python program which combines different types of regression analysis to locate the AP. |
| 19 | |
| 20 | A previously written bit of code, bigtri.py, was successful in locating the access point within a few meters. We are taking the idea from this code and working it into a larger project which meausures the signal strength at various locations around the room and remembers them all. This new program will form multiple "guesses" on the location of the AP using a few different techniques and also try and narrow down its guesses to a single best guess. |
| 21 | |
| 22 | Ivan has suggested three guessing possibilities: |
| 23 | - Have the robot make several triangles aroudn the room and guess the location of the AP based on each one. Average the locations |
| 24 | - Sample some data points from each of the triangles visited and make a guess based on that |
| 25 | - Use every point observed and make a guess |
| 26 | |
| 27 | We are using matplotlib to visualize the map the robot generates of the room and numpy to work with the data. So far we have written some fundamental functions to plot the robot's progress as it works, and the final product will allow us to see the robot's guesses on a map. We also have assembled code to perform the curve fit data to a 3D cone using scipy's leastsq() function. |
| 28 | |
| 29 | Another fundamental difference between this project and previous algorithms is that we are making more careful decisions about data structures. I am trying to use numpy's arrays as much as possible. All of the data collected, since it all needs to be stored and recalled, will be held in a single array. Functions are in place to add new data points to this array and extract from it lists of X,Y, and S values. |