Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (1.63 KB)

1
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
  2) Go to colony/trunk/code/projects/colonet/robot/colonet_dragonfly and run "make".
9
  3) Put a robot in programming mode and plug it into the computer.
10
  4) Go to colony/trunk/code/projects/colonet/robot/robot_slave and run "make program".
11
  Now the robot is ready.
12

    
13
Part II - Server setup.
14
  NOTE: The computer running the server must have OpenCV installed.  It can
15
  be downloaded from http://opencvlibrary.sourceforge.net/.
16

    
17
  1) Go to colony/trunk/code/projects/libwireless/lib and run "make colonet".
18
  2) Go to colony/trunk/code/projects/colonet/server and run "make".
19
  3) In the same directory, run "./ColonetServer".
20
  Now the server is ready.
21

    
22
Part III - Client (GUI) setup.
23
  1) Go to colony/trunk/code/projects/colonet/client and run "make".
24
  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

    
29

    
30
TROUBLESHOOTING
31

    
32
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).