Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / README @ 1438

History | View | Annotate | Download (1.63 KB)

1 386 emarinel
Eugene Marinelli
2
1/29/07
3
4
How to run Colonet.
5
6
Part I - Robot setup.
7
  1) Go to colony/trunk/code/projects/libwireless/lib and run "make".
8 486 emarinel
  2) Go to colony/trunk/code/projects/colonet/robot/colonet_dragonfly and run "make".
9 386 emarinel
  3) Put a robot in programming mode and plug it into the computer.
10 486 emarinel
  4) Go to colony/trunk/code/projects/colonet/robot/robot_slave and run "make program".
11 386 emarinel
  Now the robot is ready.
12
13
Part II - Server setup.
14 558 emarinel
  NOTE: The computer running the server must have OpenCV installed.  It can
15
  be downloaded from http://opencvlibrary.sourceforge.net/.
16
17 386 emarinel
  1) Go to colony/trunk/code/projects/libwireless/lib and run "make colonet".
18 557 emarinel
  2) Go to colony/trunk/code/projects/colonet/server and run "make".
19 397 emarinel
  3) In the same directory, run "./ColonetServer".
20 386 emarinel
  Now the server is ready.
21
22
Part III - Client (GUI) setup.
23 486 emarinel
  1) Go to colony/trunk/code/projects/colonet/client and run "make".
24 386 emarinel
  2) In the same directory, run "sudo make install" to copy the program to the www directory.
25
  3) In your browser, to go http://server_hostname/colonet, where server_hostname is the hostname of the computer that
26
     the server is running and the GUI app is hosted.
27
  Now the client is ready.
28 391 emarinel
29
30
TROUBLESHOOTING
31
32 399 emarinel
If you get an error like:
33
   Failed to write to xbee, error 9.
34
   Failed to join token ring.
35
   ERROR - colonet_wl_init failed.
36
   initialize_server: initWireless failed
37
38
The xbee on the specified wireless port/file descriptor is not being recognized by the computer (assuming it is
39
plugged in and you are using the right port (/dev/ttyUSB0, /dev/ttyUSB1)).  Try unplugging it and plugging it in again.
40
Check the wireless port (-w option of ColonetServer).