public class AuvVWConnection extends VWConnection
DYNAMICSPORTS, dynamicsResponse, networked, telemetryString, UAV, UGV, UUV, vehicle, VEHICLE_TYPE_PORT_OFFSET, VWVECTORSIZE, vwWrites
Constructor and Description |
---|
AuvVWConnection(UuvExecution execution)
Creates a new instance of AuvVWConnection
|
Modifier and Type | Method and Description |
---|---|
void |
readTelemetryFromVW()
reads a new auv telemetry from the virtual world as a space-delimited string
and parses it into the auv's stateVector object
|
void |
writeTelemetryToVW()
writes the auv telemetry to the virtual world as a space-delimited string
|
void |
writeToVW(String message)
writes a string over the network to the virtual world
|
openConnection, readFromVW, writeToVWSocket
public AuvVWConnection(UuvExecution execution)
execution
- UuvExecution reference to auv to which connection appliespublic void writeToVW(String message)
writeToVW
in class VWConnection
message
- to be writtenpublic void writeTelemetryToVW()
writeTelemetryToVW
in class VWConnection
public void readTelemetryFromVW()
readTelemetryFromVW
in class VWConnection