root / trunk / code / projects / colonet / README @ 409
History | View | Annotate | Download (1.5 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/lib/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/utilities/robot_slave and run "make program". |
11 |
Now the robot is ready. |
12 |
|
13 |
Part II - Server setup. |
14 |
1) Go to colony/trunk/code/projects/libwireless/lib and run "make colonet". |
15 |
2) Go to colony/trunk/code/projects/colonet/ColonetServer and run "make". |
16 |
3) In the same directory, run "./ColonetServer". |
17 |
Now the server is ready. |
18 |
|
19 |
Part III - Client (GUI) setup. |
20 |
1) Go to colony/trunk/code/projects/colonet/ColonetGUI and run "make". |
21 |
2) In the same directory, run "sudo make install" to copy the program to the www directory. |
22 |
3) In your browser, to go http://server_hostname/colonet, where server_hostname is the hostname of the computer that |
23 |
the server is running and the GUI app is hosted. |
24 |
Now the client is ready. |
25 |
|
26 |
|
27 |
TROUBLESHOOTING |
28 |
|
29 |
If you get an error like: |
30 |
Failed to write to xbee, error 9. |
31 |
Failed to join token ring. |
32 |
ERROR - colonet_wl_init failed. |
33 |
initialize_server: initWireless failed |
34 |
|
35 |
The xbee on the specified wireless port/file descriptor is not being recognized by the computer (assuming it is |
36 |
plugged in and you are using the right port (/dev/ttyUSB0, /dev/ttyUSB1)). Try unplugging it and plugging it in again. |
37 |
Check the wireless port (-w option of ColonetServer). |