Revision 299
added some stuff
Command.cpp | ||
---|---|---|
225 | 225 |
} |
226 | 226 |
|
227 | 227 |
int num_robots; |
228 |
int** bom_matrix = colonet_get_sensor_matrix(&num_robots); |
|
228 |
int * xbee_ids; |
|
229 |
int** bom_matrix = colonet_get_sensor_matrix(&num_robots, &xbee_ids); |
|
229 | 230 |
|
230 | 231 |
printf("number of robots is %d\n", num_robots); |
231 | 232 |
|
... | ... | |
252 | 253 |
} |
253 | 254 |
free(bom_matrix); |
254 | 255 |
|
256 |
free(xbee_ids); |
|
257 |
|
|
255 | 258 |
return 0; |
256 | 259 |
} |
257 | 260 |
|
Also available in: Unified diff