Network Send Connection Block

Description:

Sends AVDS vehicle packets to the local network from Matlab using multicast network functions.

Inputs:

There is one input port that has 16 signals:

Input Element | Input Name | Input Definition
| PositionEastFeet | Vehicle position along the east-west axis in feet. This position is relative to the initial starting longitude.
| PositionNorthFeet | Vehicle position along the north-south axis in feet. This position is relative to the initial starting latitude
| AltitudeFeet | Altitude of the vehicle in feet above mean-sea-level.
| PhiDeg | Phi Euler angle in degrees.
| ThetaDeg | Theta Euler angle in degrees.
| PsiDeg | Psi Euler angle in degrees.
| DeltaElevatorRad | Elevator deflection in radians.
| DeltaAileronRad | Aileron deflection in radians.
| DeltaRudderRad | Rudder deflection in radians.
| DeltaEngine0_255 | Engine level. Must be in the range [0 255].
| UFeetPerSec | Velocity along the X body axis in feet per second.
| VFeetPerSec | Velocity along the Y body axis in feet per second.
| WFeetPerSec | Velocity along the Z body axis in feet per second.
| PDegPerSec | Angular velocity about the X body axis in degrees per second.
| QDegPerSec | Angular velocity about the Y body axis in degrees per second.
| RDegPerSec | Angular velocity about the Z body axis in degrees per second.

Outputs:

None

Parameters:

VehicleHandle

– This is a unique name to identify this vehicle on the network. Must be 28 characters or less.

TransmitRateHz

– This is the rate in cycles per second (Hz) to transmit vehicle packets on the local network.

CraftType

– This is the zero-based index number from AVDS’s craft menu to use for the vehicle image display.

InitLatitudeDeg

– This is the initial position of the vehicle in degrees latitude. Initial Latitude is in degrees decimal and must be in the range [-90.0,90.0].

InitLongitudeDeg

– This is the initial position of the vehicle in degrees longitude. Initial Longitude is in degrees decimal and must be in the range [-180.0,180.0].

InitAltitudeFeet

– This is the initial altitude of the vehicle in feet above mean-sea-level.

> > Real-time check box - if this box is checked then the block will slow the simulation down to match the computer's high precision timer. If the simulation runs slower that real-time, then checking this block will have no effect.

Examples:

The Network Send Connection block is used in the example:

"

MATLABToolbox\Examples\PlaybackExample\NetworkSendExample.mdl".