82 #define s_CONFIG_RFID_SENSE_RADIUS 50
83 #define s_CONFIG_RFID_EMPTY_TAG "0000000000\0"
85 #define s_CONFIG_PHEROMONE_SECTOR_MAX_SIZE 200
87 #define s_CONFIG_VICTIM_MAX_COUNT 10
89 #define s_CONFIG_STREAM_SIZE 20
90 #define s_CONFIG_STREAM_RATE 20 // How many packets in a second
92 #define s_CONFIG_GO_AHEAD_TIME 2000 // Time in ms how long "go ahead" msg is valid
94 #define s_CONFIG_OI_REQUEST_PERIOD 300 // Allowed period between requests
96 #define s_CONFIG_ACCURACY_LIMIT 30
100 #define s_CONFIG_PF_DISTANCE_UNCERTANITY 200
101 #define s_CONFIG_PF_ANGLE_UNCERTANITY 10
113 #define S_CONFIG_DEFAULT_SERIALPORT_RFID_PORT_PATH "/dev/ttyUSB0"
114 #define s_CONFIG_DEFAULT_SERIALPORT_OPENINTERFACE_PORT_PATH "/dev/ttyUSB1"
117 #define s_CONFIG_DEFAULT_ENVIRONMENT_ROOM_DEF_PATH "./res/large_room.dat"
118 #define s_CONFIG_DEFAULT_ENVIRONMENT_TAGS_DEF_PATH "./res/large_tags.dat"
121 #define s_CONFIG_DEFAULT_PF_PARTICLES_NUM 1000
122 #define s_CONFIG_DEFAULT_PF_NOISE_MOVE 20
123 #define s_CONFIG_DEFAULT_PF_NOISE_TURN 6
124 #define s_CONFIG_DEFAULT_PF_NOISE_TAG 80
125 #define s_CONFIG_DEFAULT_PF_NOISE_WALL 1
128 #define s_CONFIG_DEFAULT_ROBOT_ID 1
129 #define s_CONFIG_DEFAULT_ROBOT_TEAM 1
130 #define s_CONFIG_DEFAULT_ROBOT_RADIUS 160
131 #define s_CONFIG_DEFAULT_ROBOT_INIT_X 160
132 #define s_CONFIG_DEFAULT_ROBOT_INIT_Y 160
133 #define s_CONFIG_DEFAULT_ROBOT_INIT_ANGLE 0
134 #define s_CONFIG_DEFAULT_ROBOT_SPEED 300
137 #define s_CONFIG_DEFAULT_PHEROMONE_WIDTH 100
138 #define s_CONFIG_DEFAULT_PHEROMONE_LIFETIME 1
139 #define s_CONFIG_DEFAULT_PHEROMONE_PHEROMONE_RADIUS 100
140 #define s_CONFIG_DEFAULT_PHEROMONE_EVAL_RADIUS 300
141 #define s_CONFIG_DEFAULT_PHEROMONE_EVAL_DIST 400
142 #define s_CONFIG_DEFAULT_PHEROMONE_SECTOR_MAX_SIZE 100
145 #define s_CONFIG_DEFAULT_UDP_BROADCAST_IP "255.255.255.255"
146 #define s_CONFIG_DEFAULT_UDP_PORT 454545
147 #define s_CONFIG_DEFAULT_UDP_PACKET_SIZE 512
150 #define s_CONFIG_DEFAULT_NETWORK_BITRATE 153600
151 #define s_CONFIG_DEFAULT_NETWORK_TDMA_SLOT_NUM 8
152 #define s_CONFIG_DEFAULT_NETWORK_TDMA_PERIOD 1000
int pheromone_sector_max_size
char serialport_rfid_port_path[256]
char enviroment_tags_def_path[256]
int network_tdma_slot_num
struct s_CONFIG_STRUCT config_t
Configuration structure.
char serialport_openinterface_port_path[256]
char udp_broadcast_ip[16]
int pheromone_eval_radius
char enviroment_room_def_path[256]
int pheromone_pheromone_radius