#include <sensor_matrix.h>
Data Fields | |
int | numJoined |
unsigned char | joined [MAXIMUM_XBEE_ID] |
unsigned char | matrix [MAXIMUM_XBEE_ID][MAXIMUM_XBEE_ID] |
A sensor matrix.
unsigned char SensorMatrix::joined[MAXIMUM_XBEE_ID] |
The element representing a robot is true if that robot is in the token ring and false otherwise.
Referenced by sensor_matrix_create(), sensor_matrix_get_in_ring(), and sensor_matrix_set_in_ring().
unsigned char SensorMatrix::matrix[MAXIMUM_XBEE_ID][MAXIMUM_XBEE_ID] |
The matrix. Each row represents the readings of one robot.
Referenced by sensor_matrix_create(), sensor_matrix_get_reading(), and sensor_matrix_set_reading().
The number of robots in the token ring.
Referenced by sensor_matrix_create(), sensor_matrix_get_joined(), and sensor_matrix_set_in_ring().