Robot Agent  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions | Variables
config.h File Reference

Go to the source code of this file.

Data Structures

struct  s_CONFIG_STRUCT
 Configuration structure. More...
 

Macros

#define s_CONFIG_RFID_SENSE_RADIUS   50
 
#define s_CONFIG_RFID_EMPTY_TAG   "0000000000\0"
 
#define s_CONFIG_PHEROMONE_SECTOR_MAX_SIZE   200
 
#define s_CONFIG_VICTIM_MAX_COUNT   10
 
#define s_CONFIG_STREAM_SIZE   20
 
#define s_CONFIG_STREAM_RATE   20
 
#define s_CONFIG_GO_AHEAD_TIME   2000
 
#define s_CONFIG_OI_REQUEST_PERIOD   300
 
#define s_CONFIG_ACCURACY_LIMIT   30
 
#define s_CONFIG_PF_DISTANCE_UNCERTANITY   200
 
#define s_CONFIG_PF_ANGLE_UNCERTANITY   10
 
#define S_CONFIG_DEFAULT_SERIALPORT_RFID_PORT_PATH   "/dev/ttyUSB0"
 
#define s_CONFIG_DEFAULT_SERIALPORT_OPENINTERFACE_PORT_PATH   "/dev/ttyUSB1"
 
#define s_CONFIG_DEFAULT_ENVIRONMENT_ROOM_DEF_PATH   "./res/large_room.dat"
 
#define s_CONFIG_DEFAULT_ENVIRONMENT_TAGS_DEF_PATH   "./res/large_tags.dat"
 
#define s_CONFIG_DEFAULT_PF_PARTICLES_NUM   1000
 
#define s_CONFIG_DEFAULT_PF_NOISE_MOVE   20
 
#define s_CONFIG_DEFAULT_PF_NOISE_TURN   6
 
#define s_CONFIG_DEFAULT_PF_NOISE_TAG   80
 
#define s_CONFIG_DEFAULT_PF_NOISE_WALL   1
 
#define s_CONFIG_DEFAULT_ROBOT_ID   1
 
#define s_CONFIG_DEFAULT_ROBOT_TEAM   1
 
#define s_CONFIG_DEFAULT_ROBOT_RADIUS   160
 
#define s_CONFIG_DEFAULT_ROBOT_INIT_X   160
 
#define s_CONFIG_DEFAULT_ROBOT_INIT_Y   160
 
#define s_CONFIG_DEFAULT_ROBOT_INIT_ANGLE   0
 
#define s_CONFIG_DEFAULT_ROBOT_SPEED   300
 
#define s_CONFIG_DEFAULT_PHEROMONE_WIDTH   100
 
#define s_CONFIG_DEFAULT_PHEROMONE_LIFETIME   1
 
#define s_CONFIG_DEFAULT_PHEROMONE_PHEROMONE_RADIUS   100
 
#define s_CONFIG_DEFAULT_PHEROMONE_EVAL_RADIUS   300
 
#define s_CONFIG_DEFAULT_PHEROMONE_EVAL_DIST   400
 
#define s_CONFIG_DEFAULT_PHEROMONE_SECTOR_MAX_SIZE   100
 
#define s_CONFIG_DEFAULT_UDP_BROADCAST_IP   "255.255.255.255"
 
#define s_CONFIG_DEFAULT_UDP_PORT   454545
 
#define s_CONFIG_DEFAULT_UDP_PACKET_SIZE   512
 
#define s_CONFIG_DEFAULT_NETWORK_BITRATE   153600
 
#define s_CONFIG_DEFAULT_NETWORK_TDMA_SLOT_NUM   8
 
#define s_CONFIG_DEFAULT_NETWORK_TDMA_PERIOD   1000
 

Typedefs

typedef struct s_CONFIG_STRUCT config_t
 Configuration structure. More...
 

Functions

void config_load (void)
 

Variables

config_t g_config
 

Detailed Description

Author
Eriks Zaharans
Date
1 Jul 2013

DESCRIPTION

Configuration file.

Definition in file config.h.

Macro Definition Documentation

#define s_CONFIG_ACCURACY_LIMIT   30

Definition at line 96 of file config.h.

#define s_CONFIG_DEFAULT_ENVIRONMENT_ROOM_DEF_PATH   "./res/large_room.dat"

Definition at line 117 of file config.h.

#define s_CONFIG_DEFAULT_ENVIRONMENT_TAGS_DEF_PATH   "./res/large_tags.dat"

Definition at line 118 of file config.h.

#define s_CONFIG_DEFAULT_NETWORK_BITRATE   153600

Definition at line 150 of file config.h.

#define s_CONFIG_DEFAULT_NETWORK_TDMA_PERIOD   1000

Definition at line 152 of file config.h.

#define s_CONFIG_DEFAULT_NETWORK_TDMA_SLOT_NUM   8

Definition at line 151 of file config.h.

#define s_CONFIG_DEFAULT_PF_NOISE_MOVE   20

Definition at line 122 of file config.h.

#define s_CONFIG_DEFAULT_PF_NOISE_TAG   80

Definition at line 124 of file config.h.

#define s_CONFIG_DEFAULT_PF_NOISE_TURN   6

Definition at line 123 of file config.h.

#define s_CONFIG_DEFAULT_PF_NOISE_WALL   1

Definition at line 125 of file config.h.

#define s_CONFIG_DEFAULT_PF_PARTICLES_NUM   1000

Definition at line 121 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_EVAL_DIST   400

Definition at line 141 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_EVAL_RADIUS   300

Definition at line 140 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_LIFETIME   1

Definition at line 138 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_PHEROMONE_RADIUS   100

Definition at line 139 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_SECTOR_MAX_SIZE   100

Definition at line 142 of file config.h.

#define s_CONFIG_DEFAULT_PHEROMONE_WIDTH   100

Definition at line 137 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_ID   1

Definition at line 128 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_INIT_ANGLE   0

Definition at line 133 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_INIT_X   160

Definition at line 131 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_INIT_Y   160

Definition at line 132 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_RADIUS   160

Definition at line 130 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_SPEED   300

Definition at line 134 of file config.h.

#define s_CONFIG_DEFAULT_ROBOT_TEAM   1

Definition at line 129 of file config.h.

#define s_CONFIG_DEFAULT_SERIALPORT_OPENINTERFACE_PORT_PATH   "/dev/ttyUSB1"

Definition at line 114 of file config.h.

#define S_CONFIG_DEFAULT_SERIALPORT_RFID_PORT_PATH   "/dev/ttyUSB0"

Definition at line 113 of file config.h.

#define s_CONFIG_DEFAULT_UDP_BROADCAST_IP   "255.255.255.255"

Definition at line 145 of file config.h.

#define s_CONFIG_DEFAULT_UDP_PACKET_SIZE   512

Definition at line 147 of file config.h.

#define s_CONFIG_DEFAULT_UDP_PORT   454545

Definition at line 146 of file config.h.

#define s_CONFIG_GO_AHEAD_TIME   2000

Definition at line 92 of file config.h.

#define s_CONFIG_OI_REQUEST_PERIOD   300

Definition at line 94 of file config.h.

#define s_CONFIG_PF_ANGLE_UNCERTANITY   10

Definition at line 101 of file config.h.

#define s_CONFIG_PF_DISTANCE_UNCERTANITY   200

Definition at line 100 of file config.h.

#define s_CONFIG_PHEROMONE_SECTOR_MAX_SIZE   200

Definition at line 85 of file config.h.

#define s_CONFIG_RFID_EMPTY_TAG   "0000000000\0"

Definition at line 83 of file config.h.

#define s_CONFIG_RFID_SENSE_RADIUS   50

Definition at line 82 of file config.h.

#define s_CONFIG_STREAM_RATE   20

Definition at line 90 of file config.h.

#define s_CONFIG_STREAM_SIZE   20

Definition at line 89 of file config.h.

#define s_CONFIG_VICTIM_MAX_COUNT   10

Definition at line 87 of file config.h.

Typedef Documentation

typedef struct s_CONFIG_STRUCT config_t

Configuration structure.

Function Documentation

void config_load ( void  )

Definition at line 26 of file config.c.

Variable Documentation

config_t g_config

Definition at line 22 of file config.c.