Revision 309
Brian committing from Eugene's account - Fixed Justin's port code. Wireless no longer needs gtkterm open to work with the baud rate. Untested on mac. Queue is thread safe on the computer (not robot). You may need to unplug and replug the xbee for it to work.
sensor_matrix.c | ||
---|---|---|
99 | 99 |
* @param m the sensor matrix |
100 | 100 |
* @param id the XBee ID of the robot to add |
101 | 101 |
**/ |
102 |
void sensor_matrix_add_robot(SensorMatrix* m, unsigned int id)
|
|
102 |
void sensor_matrix_add_robot(SensorMatrix* m, int id) |
|
103 | 103 |
{ |
104 | 104 |
int i; |
105 | 105 |
if (id >= m->size) |
... | ... | |
126 | 126 |
* @param m the sensor matrix |
127 | 127 |
* @param id the XBee ID of the robot to remove |
128 | 128 |
**/ |
129 |
void sensor_matrix_remove_robot(SensorMatrix* m, unsigned int id)
|
|
129 |
void sensor_matrix_remove_robot(SensorMatrix* m, int id) |
|
130 | 130 |
{ |
131 | 131 |
int i; |
132 | 132 |
|
Also available in: Unified diff