75 | | This functions calls the utility __iwconfig__ and reports back the absolute value of the signal strength. It is adapted from the open source project __wifi-radar__ |
76 | | |
| 75 | This functions calls the utility ''iwconfig'' and reports back the absolute value of the signal strength. It is adapted from the open source project ''wifi-radar'' (wifi-radar is a python script and can be found in /usr/sbin). |
| 76 | getLQ():: |
| 77 | Similar to scanning_thread(), this function calls iwconfig and returns the Link Quality |
| 78 | BigReading():: |
| 79 | Calls scanning_thread() multiple times and returns an averaged result |
| 80 | Say(text_to_say):: |
| 81 | ERSP does not include text to speech for linux. We filled this void using the open source project ''flite''. This Say function speaks any text aloud through the speaker. We use it often to have the robot report aloud the signal strength it has just measured. This allows us to estimate the progress of our algorithm without getting too close to the robot and interfering with the radio waves. |
| 82 | FindGrad(x,y,z):: |
| 83 | This function accepts three lists x,y,z corresponding to three points in space. It interpolates the three points to form a plane and returns the gradient of that plane. |