simulator
Class TransportSendVRML

java.lang.Object
  |
  +--simulator.GenericSendVRML
        |
        +--simulator.TransportSendVRML

class TransportSendVRML
extends simulator.GenericSendVRML

Impements the method that calculate position of robot and send the vrml scene


Field Summary
private  double alpha
           
private  Position B0
           
private  Position B1
           
private  double den
           
private  double num
           
private  int numProc
           
private  float theta
           
private  Position vettDiff
           
 
Fields inherited from class simulator.GenericSendVRML
connectedUsers, server, state
 
Constructor Summary
(package private) TransportSendVRML()
           
 
Method Summary
 void runTask()
          Calculate the position of all object in the simulation ambient
 void sendVRML()
          Send the new vrml schene to all the connected clients
 
Methods inherited from class simulator.GenericSendVRML
broadcast, init
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

B0

private Position B0

B1

private Position B1

vettDiff

private Position vettDiff

num

private double num

den

private double den

alpha

private double alpha

theta

private float theta

numProc

private int numProc
Constructor Detail

TransportSendVRML

TransportSendVRML()
Method Detail

runTask

public void runTask()
Calculate the position of all object in the simulation ambient
Overrides:
runTask in class simulator.GenericSendVRML

sendVRML

public void sendVRML()
Send the new vrml schene to all the connected clients
Overrides:
sendVRML in class simulator.GenericSendVRML