32#ifndef RCSC_PLAYER_PLAYER_CONFIG_H
33#define RCSC_PLAYER_PLAYER_CONFIG_H
54 std::string M_team_name;
56 int M_reconnect_number;
60 int M_server_wait_seconds;
63 int M_wait_time_thr_synch_view;
65 int M_wait_time_thr_nosynch_view;
68 int M_normal_view_time_thr;
70 std::string M_rcssserver_host;
71 int M_rcssserver_port;
78 bool M_use_communication;
79 bool M_hear_opponent_audio;
83 bool M_debug_fullstate;
89 int M_self_pos_count_thr;
90 int M_self_vel_count_thr;
91 int M_self_face_count_thr;
93 int M_ball_pos_count_thr;
94 int M_ball_rpos_count_thr;
95 int M_ball_vel_count_thr;
97 int M_player_pos_count_thr;
98 int M_player_vel_count_thr;
99 int M_player_face_count_thr;
106 std::string M_config_dir;
115 std::string M_log_dir;
121 bool M_debug_server_connect;
122 bool M_debug_server_logging;
124 std::string M_debug_server_host;
125 int M_debug_server_port;
131 bool M_offline_logging;
132 std::string M_offline_log_ext;
135 int M_offline_client_number;
141 int M_debug_start_time;
142 int M_debug_end_time;
144 std::string M_debug_log_ext;
150 bool M_debug_intercept;
153 bool M_debug_dribble;
160 bool M_debug_positioning;
164 bool M_debug_communication;
165 bool M_debug_analyzer;
166 bool M_debug_action_chain;
168 bool M_debug_training;
214 const std::string &
teamName()
const {
return M_team_name; }
268 const std::string &
host()
const {
return M_rcssserver_host; }
274 int port()
const {
return M_rcssserver_port; }
310 int audioShift()
const {
return M_audio_shift; }
402 const std::string &
configDir()
const {
return M_config_dir; }
412 bool debug()
const {
return M_debug; }
418 const std::string &
logDir()
const {
return M_log_dir; }
491 const std::string &
debugLogExt()
const {
return M_debug_log_ext; }
parameter container
Definition: param_map.h:484
abstract parameter paraser class
Definition: param_parser.h:43
player configuration variable set
Definition: player_config.h:47
const std::string & host() const
get the server host name string
Definition: player_config.h:268
int selfVelCountThr() const
get the self velocity accuracy count threshold
Definition: player_config.h:342
bool debugPlan() const
get the debug flag
Definition: player_config.h:593
bool debugServerConnect() const
get the debug flag whether debug information is sent to a debug server
Definition: player_config.h:428
int waitTimeThrNoSynchView() const
get the maximum time to wait see message for asynch view mode
Definition: player_config.h:256
const std::string & logDir() const
get the debug log directory path string.
Definition: player_config.h:418
bool debugRole() const
get the debug flag
Definition: player_config.h:587
int clangMax() const
get the maximum clang version to be sent
Definition: player_config.h:292
bool debugTeam() const
get the debug flag
Definition: player_config.h:599
int playerFaceCountThr() const
get the other player face angle accuracy count threshold
Definition: player_config.h:384
bool debugBlock() const
get the debug flag
Definition: player_config.h:569
bool debugAnalyzer() const
get the debug flag
Definition: player_config.h:613
bool debugIntercept() const
get the debug flag
Definition: player_config.h:521
int ballRPosCountThr() const
get the ball relative position accuracy count threshold
Definition: player_config.h:360
bool debugCross() const
get the debug flag
Definition: player_config.h:551
bool offlineLogging() const
get the switch for offline logging. this value is ignored if client runs in offline clinet mode.
Definition: player_config.h:456
bool debug() const
get the debug flag
Definition: player_config.h:412
const std::string & debugServerHost() const
get the debug server host name string
Definition: player_config.h:440
int playerNumber() const
get the player number (not a uniform number)
Definition: player_config.h:390
bool debugPositioning() const
get the debug flag
Definition: player_config.h:581
const std::string & teamName() const
get the team name string
Definition: player_config.h:214
int clangMin() const
get the minimum clang version to be sent
Definition: player_config.h:286
bool debugServerLogging() const
get the debug flag whether debug information is written to files
Definition: player_config.h:434
bool debugWorld() const
get the debug flag
Definition: player_config.h:509
int selfFaceCountThr() const
get the self face angle accuracy count threshold
Definition: player_config.h:348
bool debugKick() const
get the debug flag
Definition: player_config.h:527
PlayerConfig()
init variables by default value. create ParamMap instance
bool debugCommunication() const
get the debug flag
Definition: player_config.h:606
int debugStartTime() const
get the start time for receoding the debug log
Definition: player_config.h:479
bool useFullstate() const
get the fullstate mode flag that determines whether the world model is updated by fullstate informati...
Definition: player_config.h:316
void setDefaultParam()
set default value
bool debugPass() const
get the debug flag
Definition: player_config.h:545
int selfPosCountThr() const
get the self position accuracy count threshold
Definition: player_config.h:336
int intervalMSec() const
get the interrupt interval for decision making
Definition: player_config.h:238
bool debugAction() const
get the debug flag
Definition: player_config.h:515
bool goalie() const
get the goalie flag
Definition: player_config.h:232
bool debugSensor() const
get the debug flag
Definition: player_config.h:503
bool debugFullstate() const
get the switch variable thate determines whether a fullstate world model for debugging is used or not...
Definition: player_config.h:322
int waitTimeThrSynchView() const
get the maximum time to wait see message for synch view mode
Definition: player_config.h:250
bool synchSee() const
get the synch_see mode flag
Definition: player_config.h:328
bool debugDribble() const
get the debug flag
Definition: player_config.h:539
int playerVelCountThr() const
get the other player position accuracy count threshold
Definition: player_config.h:378
int ballPosCountThr() const
get the ball position accuracy count threshold
Definition: player_config.h:354
int compression() const
get the server message compression level
Definition: player_config.h:280
const std::string & configDir() const
get the configulation directory path
Definition: player_config.h:402
int normalViewTimeThr() const
get the threshold time to change to normal view width for old timer synch view mode
Definition: player_config.h:262
void setPlayerNumber(const int num)
set a player number (not a uniform number)
Definition: player_config.h:396
const std::string & offlineLogExt() const
get the offline client log file extention string.
Definition: player_config.h:462
bool debugActionChain() const
get the debug flag
Definition: player_config.h:619
~PlayerConfig()
delete ParamMap instance
bool debugShoot() const
get the debug flag
Definition: player_config.h:557
const std::string & debugLogExt() const
get the debug log file extention string.
Definition: player_config.h:491
void parse(ParamParser &parser)
set parameter values using param parser instance
bool hearOpponentAudio() const
get the auditory sensor mode flag for opponent
Definition: player_config.h:304
double version() const
get the client version
Definition: player_config.h:220
bool debugTraining() const
get the debug flag
Definition: player_config.h:625
std::ostream & printHelp(std::ostream &os) const
print help message to the output stream
int playerPosCountThr() const
get the other player position accuracy count threshold
Definition: player_config.h:372
bool debugMark() const
get the debug flag
Definition: player_config.h:575
int port() const
get the server port number
Definition: player_config.h:274
int debugEndTime() const
get the end time for receoding the debug log
Definition: player_config.h:485
int debugServerPort() const
get the debug server port number
Definition: player_config.h:446
bool useCommunication() const
get the communication mode flag
Definition: player_config.h:298
int reconnectNumber() const
get the uniform numver for a reconnect command
Definition: player_config.h:226
int offlineClientNumber() const
get the uniform number for offline client mode. 1-11 means offline mode, other values mean online mod...
Definition: player_config.h:469
bool debugClear() const
get the debug flag
Definition: player_config.h:563
int ballVelCountThr() const
get the ball velocity accuracy count threshold
Definition: player_config.h:366
int serverWaitSeconds() const
get the maximum time to wait server response
Definition: player_config.h:244
bool debugHold() const
get the debug flag
Definition: player_config.h:533
void createParamMap()
set parameter entries
bool debugSystem() const
get the debug flag
Definition: player_config.h:497