wiki:Old/Robot/robotmobilitynotes

Version 2 (modified by aniket, 17 years ago) ( diff )

This page is intended to help keep track of the linux commands and ERSP commands frequently used while working on robotmobility

APT

apt-get -f install - Repairs broken dependencies

ERSP

run_client_gui - Opens the navigation tool. This tool includes the vSlam and teleoperation applets.

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.

run_teleop - Runs the teloperations server.

Hardware tests

In general, if the first three of these tests work, run_client_gui should work as well.

test_battery

test_range_sensor

test_camera

Jobs and Processes

In general, ctrl+z suspends a job, and ctrl+c kills one

Suspended jobs

bg - Continue running job in background

fg - Resume job in foreground

jobs - List suspended jobs and their numbers

kill %# - Kill job #

ps -ef|grep something - List processes that are running and grep for something

kill -9 something - Brute force way to kill a process.

Wifi

unless /sbin as been added to the PATH variable, many of these commands require root priveleges

iwconfig ath0 essid WINMAIN - Establishes WINMAIN as network we wish to connect to.

ifconfig ath0 up - Brings up the wireless interface

iwconfig ath0 - Displays information about wireless connection. If "Access Point" reads "Not Associated," Execute this command repeatedly until an access point is associated.

dhclient ath0 - Uses DHCP to obtain an IP address

ifconfig ath0 up - Brings up the wireless interface. Often this command needs to be executed again after an IP address has been obtained.

iwlist ath0 scan - Displays a list of wifi networks in the area.

Note: See TracWiki for help on using the wiki.