public class UsvVWConnection extends VWConnection
DYNAMICSPORTS, dynamicsResponse, networked, telemetryString, UAV, UGV, UUV, vehicle, VEHICLE_TYPE_PORT_OFFSET, VWVECTORSIZE, vwWrites| Constructor and Description |
|---|
UsvVWConnection(UsvExecution execution)
Creates a new instance of UsvVWConnection
|
| Modifier and Type | Method and Description |
|---|---|
void |
readTelemetryFromVW()
reads a new usv telemetry from the virtual world as a space-delimited string
and parses it into the usv's stateVector object
|
void |
writeTelemetryToVW()
writes the usv 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, writeToVWSocketpublic UsvVWConnection(UsvExecution execution)
execution - reference to usv to which connection appliespublic void writeToVW(String message)
writeToVW in class VWConnectionmessage - message to be writtenpublic void writeTelemetryToVW()
writeTelemetryToVW in class VWConnectionpublic void readTelemetryFromVW()
readTelemetryFromVW in class VWConnection