public class CommandLineParser
extends java.lang.Object
Constructor and Description |
---|
CommandLineParser() |
Modifier and Type | Method and Description |
---|---|
static PlayerParameters |
fallbackStart(java.lang.String[] args) |
static PlayerParameters |
parse(java.lang.String[] args)
Instantiates and starts an agent.
|
public static PlayerParameters parse(java.lang.String[] args)
args
- Command line arguments --teamname= | Name-of-the-Team |
--playerid= | PlayerID of the Agent |
--server= | Server IP |
--port= | Server Port |
--loglevel= | Different Logging levels, default: SEVERE ('fine','finer','finest','warning','info') |
--serverversion= | Simspark Server Version ('60','61','62','63',...) |
--decisionmaker= | DecisionMaker of the Agent (0 (default) if we decide based on player number, 1 for goalie, 2 for field player, 3 for simple decision maker, 4 for Penalty decision maker, 5 for do nothing decision maker, 6 for training decision maker, 7 for goalie penalty decision maker, 8 for Walk Demo decision maker, 9 for training decision maker 2 10 for run challenge dm |
--factory= | Factory (robot model) Nao (default) for RoboCup simulation 3D Nao robot, Naoi with i the heterogeneous type of Nao [0 (default and same as Nao) - no of types], NaoWebots for the Webots Nao over Naoqi and real Nao robot, Nimbro for RoboCup simulation 3D Nimbro robot, Sweaty for simspark Sweaty simulation, SweatyReal for real sweaty robot. |
--serialPort= | Serial Port Name Check with ls /dev/tty* or ls /dev/ttyACM* which port are available. |
public static PlayerParameters fallbackStart(java.lang.String[] args)
args
- command line args (@see main)