| | 1 | This page is intended to help keep track of the linux commands and ERSP commands frequently used while working on [wiki:robotmobility] |
| | 2 | |
| | 3 | = APT = |
| | 4 | |
| | 5 | `apt-get -f install` - Repairs broken dependencies |
| | 6 | |
| | 7 | = ERSP = |
| | 8 | == Navigation Tool == |
| | 9 | `run_client_gui` - Opens the navigation tool. This tool includes the ''vSlam'' and ''teleoperation'' applets. |
| | 10 | |
| | 11 | `run_slam_explore` - Runs the vSlam server. To use the vSlam applet, first run ''run_client_gui'', and once you've confirmed that the camera is working properly ''run_slam_explore'' in a seperate terminal. |
| | 12 | |
| | 13 | `run_teleop` - Runs the teloperations server. |
| | 14 | |
| | 15 | == Hardware tests == |
| | 16 | ''In general, if the first three of these tests work, run_client_gui should work as well.'' |
| | 17 | |
| | 18 | `test_battery` |
| | 19 | |
| | 20 | `test_range_sensor` |
| | 21 | |
| | 22 | `test_camera` |
| | 23 | |
| | 24 | |
| | 25 | = Wifi = |
| | 26 | ''unless `/sbin` as been added to the PATH variable, many of these commands require root priveleges'' |
| | 27 | |
| | 28 | `iwconfig ath0 essid WINMAIN` - Establishes WINMAIN as network we wish to connect to. |
| | 29 | |
| | 30 | `ifconfig ath0 up` - Brings up the wireless interface |
| | 31 | |
| | 32 | `iwconfig ath0` - Displays information about wireless connection. If "Access Point" reads "Not Associated," Execute this command repeatedly until an access point is associated. |
| | 33 | |
| | 34 | `dhclient ath0` - Uses DHCP to obtain an IP address |
| | 35 | |
| | 36 | `ifconfig ath0 up` - Brings up the wireless interface. Often this command needs to be executed again after an IP address has been obtained. |
| | 37 | |
| | 38 | `iwlist ath0 scan` - Displays a list of wifi networks in the area. |
| | 39 | |