|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simulator.RobotState
Contains information about position/velocity of agent
Field Summary | |
(package private) int |
behavior
Contains actual behavior we are executing (it's use for changing robot color) |
(package private) Position |
massCenter
Contains actual position of the mass robot center |
(package private) Position |
massCenterVel
Contains actual velocity of agents |
(package private) double |
relativePos
Contains relative position of robot sensor in respenct of the bar mass center |
(package private) double |
resultForce
Result force that the bar and support apply to robot |
(package private) double |
sensor1Length
Contain actual length of sensor 1 |
(package private) double |
sensor2Length
Contain actual length of sensor 2 |
(package private) double |
xAngle
Contains angle rotation about x axle (but is the same of the y axle and the perpendicular of the bar) |
Constructor Summary | |
RobotState(Position p,
double a,
Position v,
double r,
double f)
Initilize actual position and other information of the robot agent |
Methods inherited from class java.lang.Object |
|
Field Detail |
Position massCenter
double xAngle
Position massCenterVel
double relativePos
double sensor1Length
double sensor2Length
double resultForce
int behavior
Constructor Detail |
public RobotState(Position p, double a, Position v, double r, double f)
p
- the actual positiona
- the anglev
- the actual velocityr
- relative position of robot sensor in respect of barf
- result force that bar and support apply to robot
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |