public class MunitionVWConnection extends VWConnection
DYNAMICSPORTS, dynamicsResponse, networked, telemetryString, UAV, UGV, UUV, vehicle, VEHICLE_TYPE_PORT_OFFSET, VWVECTORSIZE, vwWrites| Constructor and Description |
|---|
MunitionVWConnection(MunitionExecution execution)
Creates a new instance of MunitionVWConnection
|
| Modifier and Type | Method and Description |
|---|---|
void |
readTelemetryFromVW()
reads a new munition telSB from the virtual world as a space-delimited string
and parses it into the munition's stateVector object
|
void |
writeTelemetryToVW()
writes the uv telemetry to the virtual world via a DIS connection sans Dynamics calculations
|
void |
writeToVW(String message)
writes a string over the network to the virtual world
|
openConnection, readFromVW, writeToVWSocketpublic MunitionVWConnection(MunitionExecution execution)
execution - reference to munition to which connection appliespublic void writeToVW(String message)
writeToVW in class VWConnectionmessage - message to be writtenpublic void writeTelemetryToVW()
VWConnectionwriteTelemetryToVW in class VWConnectionpublic void readTelemetryFromVW()
readTelemetryFromVW in class VWConnection