public class UavVWConnection extends VWConnection
DYNAMICSPORTS, dynamicsResponse, networked, telemetryString, UAV, UGV, UUV, vehicle, VEHICLE_TYPE_PORT_OFFSET, VWVECTORSIZE, vwWrites| Constructor and Description |
|---|
UavVWConnection(UavExecution execution)
Creates a new instance of UavVWConnection
|
| Modifier and Type | Method and Description |
|---|---|
void |
readTelemetryFromVW()
reads a new uav telemetry from the virtual world as a space-delimited string
and parses it into the uav's stateVector object
|
void |
writeTelemetryToVW()
writes the uav 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 UavVWConnection(UavExecution execution)
execution - reference to uav 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