Changes between Version 14 and Version 15 of Old/Robot/robothandbook
- Timestamp:
- Aug 29, 2007, 9:34:44 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Robot/robothandbook
v14 v15 64 64 Python scripting is an easy way to control the robots. Most of the work we did in Winlab was in python. There is no explicit documentation of available python commands. An easy way to figure out which commands are available is to browse the directory /opt/evolution_robotics/python/ersp/. Descriptions from the c++ api apply to the python commands with the same name. 65 65 66 Most of our python scripts are located in ~/own. 67 66 68 == neldermead.py == 69 70 This script was the original attempt to locate the access point. It is an implementation of the Nelder-Mead simplex method. Although not very successful as an algorithm, the script contains many fundamental functions and imported in most of our other python scripts. 71 72 GoToXY(x,y):: 73 A function to simplify moving the robot. The parameters x,y are the coordinates to move to. 74 scanning_thread():: 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