Phoenix2D-Library
0.10
|
Server
The Server lorem Ipsum
More...
#include <Server.h>
Public Member Functions | |
Server (std::string server_params) | |
~Server () | |
Static Public Attributes | |
static double | AUDIO_CUT_DIST = 50.0 |
static int | AUTO_MODE = 0 |
static double | BACK_DASH_RATE = 0.6 |
static int | BACK_PASSES = 1 |
static double | BALL_ACCEL_MAX = 2.7 |
static double | BALL_DECAY = 0.94 |
static double | BALL_RAND = 0.05 |
static double | BALL_SIZE = 0.085 |
static double | BALL_SPEED_MAX = 3.0 |
static double | BALL_STUCK_AREA = 3.0 |
static double | BALL_WEIGHT = 0.2 |
static int | CATCH_BAN_CYCLE = 5 |
static double | CATCH_PROBABILITY = 1.0 |
static double | CATCHABLE_AREA_L = 1.2 |
static double | CATCHABLE_AREA_W = 1.0 |
static double | CKICK_MARGIN = 1.0 |
static int | CLANG_ADVICE_WIN = 1 |
static int | CLANG_DEFINE_WIN = 1 |
static int | CLANG_DEL_WIN = 1 |
static int | CLANG_INFO_WIN = 1 |
static int | CLANG_MESS_DELAY = 50 |
static int | CLANG_MESS_PER_CYCLE = 1 |
static int | CLANG_META_WIN = 1 |
static int | CLANG_RULE_WIN = 1 |
static int | CLANG_WIN_SIZE = 300 |
static int | COACH = 0 |
static int | COACH_PORT = 6001 |
static int | COACH_W_REFEREE = 0 |
static int | CONNECT_WAIT = 300 |
static double | CONTROL_RADIUS = 2.0 |
static double | DASH_ANGLE_STEP = 45.0 |
static double | DASH_POWER_RATE = 0.006 |
static int | DROP_BALL_TIME = 100 |
static double | EFFORT_DEC = 0.005 |
static double | EFFORT_DEC_THR = 0.3 |
static double | EFFORT_INC = 0.01 |
static double | EFFORT_INC_THR = 0.6 |
static double | EFFORT_INIT = 1.0 |
static double | EFFORT_MIN = 0.6 |
static int | EXTRA_HALF_TIME = 100 |
static int | EXTRA_STAMINA = 50 |
static int | FORBID_KICK_OFF_OFFSIDE = 1 |
static int | FOUL_CYCLES = 5 |
static double | FOUL_DETECT_PROBABILITY = 0.5 |
static int | FOUL_EXPONENT = 10 |
static int | FREE_KICK_FAULTS = 1 |
static int | FREEFORM_SEND_PERIOD = 20 |
static int | FREEFORM_WAIT_PERIOD = 600 |
static int | FULLSTATE_L = 0 |
static int | FULLSTATE_R = 0 |
static int | GAME_LOG_COMPRESSION = 0 |
static int | GAME_LOG_DATED = 1 |
static std::string | GAME_LOG_DIR = "./" |
static int | GAME_LOG_FIXED = 0 |
static std::string | GAME_LOG_FIXED_NAME = "rcssserver" |
static int | GAME_LOG_VERSION = 5 |
static int | GAME_LOGGING = 1 |
static int | GAME_OVER_WAIT = 100 |
static double | GOAL_WIDTH = 14.02 |
static int | GOALIE_MAX_MOVES = 2 |
static int | GOLDEN_GOAL = 0 |
static int | HALF_TIME = 300 |
static int | HEAR_DECAY = 1 |
static int | HEAR_INC = 1 |
static int | HEAR_MAX = 1 |
static int | INERTIA_MOMENT = 5 |
static int | KEEPAWAY = 1 |
static int | KEEPAWAY_LENGTH = 20 |
static int | KEEPAWAY_LOG_DATED = 1 |
static std::string | KEEPAWAY_LOG_DIR = "./" |
static int | KEEPAWAY_LOG_FIXED = 0 |
static std::string | KEEPAWAY_LOG_FIXED_NAME = "rcssserver" |
static int | KEEPAWAY_LOGGING = 1 |
static int | KEEPAWAY_START = -1 |
static int | KEEPAWAY_WIDTH = 20 |
static int | KICK_OFF_WAIT = 100 |
static double | KICK_POWER_RATE = 0.027 |
static double | KICK_RAND = 0.1 |
static double | KICK_RAND_FACTOR_L = 1.0 |
static double | KICK_RAND_FACTOR_R = 1.0 |
static double | KICKABLE_MARGIN = 0.7 |
static std::string | LANDMARK_FILE = "~/.rcssserver-landmark.xml" |
static std::string | LOG_DATE_FORMAT = "%Y%m%d%H%M-" |
static int | LOG_TIMES = 0 |
static double | MAX_BACK_TACKLE_POWER = 0.0 |
static double | MAX_DASH_ANGLE = 180.0 |
static double | MAX_DASH_POWER = 100.0 |
static int | MAX_GOAL_KICKS = 3 |
static double | MAX_TACKLE_POWER = 100.0 |
static double | MAXMOMENT = 180.0 |
static double | MAXNECKANG = 90.0 |
static double | MAXNECKMOMENT = 180.0 |
static double | MAXPOWER = 100.0 |
static double | MIN_DASH_ANGLE = -180.0 |
static double | MIN_DASH_POWER = -100.0 |
static double | MINMOMENT = -180.0 |
static double | MINNECKANG = -90.0 |
static double | MINNECKMOMENT = -180.0 |
static double | MINPOWER = -100.0 |
static int | NR_EXTRA_HALFS = 2 |
static int | NR_NORMAL_HALFS = 2 |
static double | OFFSIDE_ACTIVE_AREA_SIZE = 2.5 |
static double | OFFSIDE_KICK_MARGIN = 9.15 |
static int | OLCOACH_PORT = 6002 |
static int | OLD_COACH_HEAR = 0 |
static int | PEN_ALLOW_MULT_KICKS = 1 |
static int | PEN_BEFORE_SETUP_WAIT = 10 |
static int | PEN_COACH_MOVES_PLAYERS = 1 |
static double | PEN_DIST_X = 42.5 |
static int | PEN_MAX_EXTRA_KICKS = 5 |
static double | PEN_MAX_GOALIE_DIST_X = 14.0 |
static int | PEN_NR_KICKS = 5 |
static double | PEN_RANDOM_WINNER = 0 |
static int | PEN_READY_WAIT = 10 |
static int | PEN_SETUP_WAIT = 70 |
static int | PEN_TAKEN_WAIT = 150 |
static int | PENALTY_SHOOT_OUTS = 1 |
static double | PLAYER_ACCEL_MAX = 1.0 |
static double | PLAYER_DECAY = 0.4 |
static double | PLAYER_RAND = 0.1 |
static double | PLAYER_SIZE = 0.3 |
static double | PLAYER_SPEED_MAX = 1.05 |
static double | PLAYER_SPEED_MAX_MIN = 0.75 |
static double | PLAYER_WEIGHT = 60.0 |
static int | POINT_TO_BAN = 5 |
static int | POINT_TO_DURATION = 20 |
static int | PORT = 6000 |
static double | PRAND_FACTOR_L = 1.0 |
static double | PRAND_FACTOR_R = 1.0 |
static int | PROFILE = 0 |
static int | PROPER_GOAL_KICKS = 0 |
static double | QUANTIZE_STEP = 0.1 |
static double | QUANTIZE_STEP_L = 0.01 |
static int | RECORD_MESSAGES = 0 |
static double | RECOVER_DEC = 0.002 |
static double | RECOVER_DEC_THR = 0.3 |
static double | RECOVER_INIT = 1.0 |
static double | RECOVER_MIN = 0.5 |
static int | RECV_STEP = 10 |
static double | RED_CARD_PROBABILITY = 0.0 |
static int | SAY_COACH_CNT_MAX = 128 |
static int | SAY_COACH_MSG_SIZE = 128 |
static int | SAY_MSG_SIZE = 10 |
static int | SEND_COMMS = 0 |
static int | SEND_STEP = 150 |
static int | SEND_VI_STEP = 100 |
static int | SENSE_BODY_STEP = 100 |
static double | SIDE_DASH_RATE = 0.4 |
static int | SIMULATOR_STEP = 100 |
static double | SLOW_DOWN_FACTOR = 1.0 |
static double | SLOWNESS_ON_TOP_FOR_LEFT_TEAM = 1.0 |
static double | SLOWNESS_ON_TOP_FOR_RIGHT_TEAM = 1.0 |
static int | STAMINA_CAPACITY = 130600 |
static int | STAMINA_INC_MAX = 45 |
static int | STAMINA_MAX = 8000 |
static int | START_GOAL_L = 0 |
static int | START_GOAL_R = 0 |
static double | STOPPED_BALL_VEL = 0.01 |
static int | SYNCH_MICRO_SLEEP = 1 |
static int | SYNCH_MODE = 0 |
static int | SYNCH_OFFSET = 60 |
static int | SYNCH_SEE_OFFSET = 0 |
static double | TACKLE_BACK_DIST = 0.0 |
static int | TACKLE_CYCLES = 10 |
static double | TACKLE_DIST = 2.0 |
static int | TACKLE_EXPONENT = 6 |
static double | TACKLE_POWER_RATE = 0.027 |
static double | TACKLE_RAND_FACTOR = 2.0 |
static double | TACKLE_WIDTH = 1.25 |
static double | TEAM_ACTUATOR_NOISE = 0.0 |
static std::string | TEAM_L_START = "" |
static std::string | TEAM_R_START = "" |
static int | TEXT_LOG_COMPRESSION = 0 |
static int | TEXT_LOG_DATED = 1 |
static std::string | TEXT_LOG_DIR = "./" |
static int | TEXT_LOG_FIXED = 0 |
static std::string | TEXT_LOG_FIXED_NAME = "rcssserver" |
static int | TEXT_LOGGING = 1 |
static int | USE_OFFSIDE = 1 |
static int | VERBOSE = 0 |
static double | VISIBLE_ANGLE = 90.0 |
static double | VISIBLE_DISTANCE = 3.0 |
static double | WIND_ANG = 0.0 |
static double | WIND_DIR = 0.0 |
static double | WIND_FORCE = 0.0 |
static double | WIND_NONE = 0.0 |
static double | WIND_RAND = 0.0 |
static double | WIND_RANDOM = 0.0 |
Private Member Functions | |
std::string | getParameter (std::string parameter) |
Private Attributes | |
std::string | server_params |
Phoenix::Server::Server | ( | std::string | server_params | ) |
Definition at line 215 of file Server.cpp.
References AUDIO_CUT_DIST, AUTO_MODE, BACK_DASH_RATE, BACK_PASSES, BALL_ACCEL_MAX, BALL_DECAY, BALL_RAND, BALL_SIZE, BALL_SPEED_MAX, BALL_STUCK_AREA, BALL_WEIGHT, CATCH_BAN_CYCLE, CATCH_PROBABILITY, CATCHABLE_AREA_L, CATCHABLE_AREA_W, CKICK_MARGIN, CLANG_ADVICE_WIN, CLANG_DEFINE_WIN, CLANG_DEL_WIN, CLANG_INFO_WIN, CLANG_MESS_DELAY, CLANG_MESS_PER_CYCLE, CLANG_META_WIN, CLANG_RULE_WIN, CLANG_WIN_SIZE, COACH, COACH_PORT, COACH_W_REFEREE, CONNECT_WAIT, CONTROL_RADIUS, DASH_ANGLE_STEP, DASH_POWER_RATE, DROP_BALL_TIME, EFFORT_DEC, EFFORT_DEC_THR, EFFORT_INC, EFFORT_INC_THR, EFFORT_INIT, EFFORT_MIN, EXTRA_HALF_TIME, EXTRA_STAMINA, FORBID_KICK_OFF_OFFSIDE, FOUL_CYCLES, FOUL_DETECT_PROBABILITY, FOUL_EXPONENT, FREE_KICK_FAULTS, FREEFORM_SEND_PERIOD, FREEFORM_WAIT_PERIOD, FULLSTATE_L, FULLSTATE_R, GAME_LOG_COMPRESSION, GAME_LOG_DATED, GAME_LOG_DIR, GAME_LOG_FIXED, GAME_LOG_FIXED_NAME, GAME_LOG_VERSION, GAME_LOGGING, GAME_OVER_WAIT, getParameter(), GOAL_WIDTH, GOALIE_MAX_MOVES, GOLDEN_GOAL, HALF_TIME, HEAR_DECAY, HEAR_INC, HEAR_MAX, INERTIA_MOMENT, KEEPAWAY, KEEPAWAY_LENGTH, KEEPAWAY_LOG_DATED, KEEPAWAY_LOG_DIR, KEEPAWAY_LOG_FIXED, KEEPAWAY_LOG_FIXED_NAME, KEEPAWAY_LOGGING, KEEPAWAY_START, KEEPAWAY_WIDTH, KICK_OFF_WAIT, KICK_POWER_RATE, KICK_RAND, KICK_RAND_FACTOR_L, KICK_RAND_FACTOR_R, KICKABLE_MARGIN, LANDMARK_FILE, LOG_DATE_FORMAT, LOG_TIMES, MAX_BACK_TACKLE_POWER, MAX_DASH_ANGLE, MAX_DASH_POWER, MAX_GOAL_KICKS, MAX_TACKLE_POWER, MAXMOMENT, MAXNECKANG, MAXNECKMOMENT, MAXPOWER, MIN_DASH_ANGLE, MIN_DASH_POWER, MINMOMENT, MINNECKANG, MINNECKMOMENT, MINPOWER, NR_EXTRA_HALFS, NR_NORMAL_HALFS, OFFSIDE_ACTIVE_AREA_SIZE, OFFSIDE_KICK_MARGIN, OLCOACH_PORT, OLD_COACH_HEAR, PEN_ALLOW_MULT_KICKS, PEN_BEFORE_SETUP_WAIT, PEN_COACH_MOVES_PLAYERS, PEN_DIST_X, PEN_MAX_EXTRA_KICKS, PEN_MAX_GOALIE_DIST_X, PEN_NR_KICKS, PEN_RANDOM_WINNER, PEN_READY_WAIT, PEN_SETUP_WAIT, PEN_TAKEN_WAIT, PENALTY_SHOOT_OUTS, PLAYER_ACCEL_MAX, PLAYER_DECAY, PLAYER_RAND, PLAYER_SIZE, PLAYER_SPEED_MAX, PLAYER_SPEED_MAX_MIN, PLAYER_WEIGHT, POINT_TO_BAN, POINT_TO_DURATION, PORT, PRAND_FACTOR_L, PRAND_FACTOR_R, PROFILE, PROPER_GOAL_KICKS, QUANTIZE_STEP, QUANTIZE_STEP_L, RECORD_MESSAGES, RECOVER_DEC, RECOVER_DEC_THR, RECOVER_INIT, RECOVER_MIN, RECV_STEP, RED_CARD_PROBABILITY, SAY_COACH_CNT_MAX, SAY_COACH_MSG_SIZE, SAY_MSG_SIZE, SEND_COMMS, SEND_STEP, SEND_VI_STEP, SENSE_BODY_STEP, server_params, SIDE_DASH_RATE, SIMULATOR_STEP, SLOW_DOWN_FACTOR, SLOWNESS_ON_TOP_FOR_LEFT_TEAM, SLOWNESS_ON_TOP_FOR_RIGHT_TEAM, STAMINA_CAPACITY, STAMINA_INC_MAX, STAMINA_MAX, START_GOAL_L, START_GOAL_R, STOPPED_BALL_VEL, SYNCH_MICRO_SLEEP, SYNCH_MODE, SYNCH_OFFSET, SYNCH_SEE_OFFSET, TACKLE_BACK_DIST, TACKLE_CYCLES, TACKLE_DIST, TACKLE_EXPONENT, TACKLE_POWER_RATE, TACKLE_RAND_FACTOR, TACKLE_WIDTH, TEAM_ACTUATOR_NOISE, TEAM_L_START, TEAM_R_START, TEXT_LOG_COMPRESSION, TEXT_LOG_DATED, TEXT_LOG_DIR, TEXT_LOG_FIXED, TEXT_LOG_FIXED_NAME, TEXT_LOGGING, USE_OFFSIDE, VERBOSE, VISIBLE_ANGLE, VISIBLE_DISTANCE, WIND_ANG, WIND_DIR, WIND_FORCE, WIND_NONE, WIND_RAND, and WIND_RANDOM.
Phoenix::Server::~Server | ( | ) |
Definition at line 407 of file Server.cpp.
|
private |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 73 of file Server.h.
Referenced by Phoenix::Self::localize(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 131 of file Server.h.
Referenced by Phoenix::Commands::dash(), Server(), Phoenix::Commands::turn(), and Phoenix::Commands::turnNeck().
|
static |
|
static |
|
static |
Definition at line 134 of file Server.h.
Referenced by Phoenix::Commands::dash(), and Server().
|
static |
|
static |
|
static |
Definition at line 137 of file Server.h.
Referenced by Phoenix::Commands::dash(), Server(), Phoenix::Commands::turn(), and Phoenix::Commands::turnNeck().
|
static |
|
static |
|
static |
Definition at line 140 of file Server.h.
Referenced by Phoenix::Commands::dash(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 159 of file Server.h.
Referenced by Phoenix::Self::localize(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 174 of file Server.h.
Referenced by Phoenix::Flag::Flag(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
Definition at line 39 of file Server.h.
Referenced by getParameter(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 203 of file Server.h.
Referenced by Phoenix::process_sense_body(), and Server().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |