|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simulator.ClientCommand | +--simulator.AddFileClientCommand
Add the group of robot for simulation based for file
Fields inherited from class simulator.ClientCommand |
command,
description,
name |
Constructor Summary | |
AddFileClientCommand()
Initialize object for ADDFILE command |
Method Summary | |
boolean |
runCommand(java.util.StringTokenizer ST,
simulator.Connection connection)
Add robots for simulation using file information. |
boolean |
Tokens(java.util.StringTokenizer ST,
int n,
simulator.Connection connection)
Determines if there's the expected number of tokens |
Methods inherited from class simulator.ClientCommand |
getDescription,
getName,
getText |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public AddFileClientCommand()
Method Detail |
public boolean runCommand(java.util.StringTokenizer ST, simulator.Connection connection)
1°line: bar_wrl_file Xcm Ycm Xangle Xcm_goal Ycm_Goal Xangle_Goal 2°line: number_of_pushing_robot robot_pushing_wrl sensor_wrl 3°line: relative_position_from_bar_cm ... n°line: number_of_box box_wrl_file N+1°line: Xcm Ycm Xangle ...
ST
- the parameter for simulationconnection
- the instance of Connection
public boolean Tokens(java.util.StringTokenizer ST, int n, simulator.Connection connection)
ST
- the tokensn
- the number of expected token
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |