Revision 970
Wrote some code to test wireless communication between the computer and
the robot. Right now, it doesn't work.
trunk/code/projects/mapping/server/test.c | ||
---|---|---|
39 | 39 |
int robot = atoi(argv[1]); |
40 | 40 |
|
41 | 41 |
printf("Beginning: robot=%d\r\n", robot); |
42 |
wl_init(); |
|
42 | 43 |
wl_set_com_port("/dev/ttyUSB1"); |
43 |
wl_init(); |
|
44 | 44 |
wl_set_channel(0xE); |
45 | 45 |
printf("Wireless initialized.\r\n"); |
46 | 46 |
wl_register_packet_group(&cntlHandler); |
Also available in: Unified diff