Class in Zendir.Classes | Inherits from Antenna
Declaration
class Receiver;Description
The Receiver is a communication component responsible for receiving, buffering, and decoding data packets transmitted over telemetry links. It extends the base Antenna class and provides the interface between the physical communication layer managed by the Telemetry System and higher-level data consumers. The receiver models realistic packet-based communication including propagation delays, bit error application, bandwidth-limited processing, and data reassembly from fragmented packets.
Properties
| Declared | Description |
|---|---|
| Bandwidth | The bandwidth of the targeted frequency |
| BufferSize | The size of the buffer of data that can be stored before thedata is deleted. When the buffer is exceeded, the oldest data isremoved, packet by packet. |
| DeleteCorruptedPackets | A flag whether to delete packets that are corrupted. If true, allpackets that are corrupted will be deleted. If false, the packetswill be available in the output buffer. |
| Diameter | Diameter of the receiver dish |
| EffectiveBitRate | The effective bit rate of the data being processed. This is the maximumamount of data that can be transmitted per second or received per second.This is the average effective bit rate across all links that are connected. |
| EnableDopplerShift | A flag whether to enable the Doppler shift or not. If true, the Dopplershift will be calculated and applied to the data. |
| NumDataReady | The number of chunks of data that are ready to be received and handledby the user. |
| NumProcessingPackets | The number of packets that are being processed. The processing timedepends on the bitrate of the receiver. |
| OverrideInterference | An override for the interference fraction that is applied to the receiver.This is used by the interference model to set the interference fraction. |
| ReceivedData | The total amount of data that has been received by the receiver, measuredin Megabits. This is cumulative over the lifetime of the receiver and includesall data that was successfully received and passed into the processing buffer. |
| ReceivedSignalPower | The received signal power at the receiver, based on all signalsthat are being transmitted to the receiver. |
| Sensitivity | The sensitivity of the receiver in decibels. This is the minimumsignal to noise ratio required for the receiver to successfullyreceive data. |
| SignalToNoise | Current Signal to noise ratio of the receiver based on the total signaland noise power, which may not be the same as the effective signal to noiseratio that is used for calculations. |
| Inherited | Description |
|---|---|
| AntennaGain | Antenna Gain of the transmission. This is measured in decibels andrepresents the gain provided by the antenna. |
| Behaviours | A collection of behaviours attached to this object. |
| BitRate | The effective bit rate of the data being processed. This is the maximumamount of data that can be transmitted per second or received per second.The actual bit rate may be limited by the channel capacity. |
| CenterOfMassB_B | The center of mass of the component in respect to the body frame (B) of the component. This is isolated from anychildren and exists in isolation. |
| CenterOfMassDot_LB_B | The center of mass time-derivative of the component within its own local coordinates. This does not include anyof the sub-components and exists in isolation. |
| CenterOfMassDotB_B | The center of mass time-derivative of the component relative to the body frame (B). This does not include any ofthe sub-components and exists in isolation. |
| CenterOfMassL_L | The center of mass of the component within its own local coordinates. This does not include any of thesub-components and exists in isolation. |
| CenterOfMassPrime_LB_B | The center of mass general-derivative of the component within its own local coordinates. This does not includeany of the sub-components and exists in isolation. |
| CenterOfMassPrimeB_B | [m/s] The center of mass general-derivative of the component relative to the body frame (B). This does notinclude any of the sub-components and exists in isolation. |
| Children | A collection of children attached to this object. |
| DCM_BN | The rotational DCM matrix between the body frame (B) at the top of this component chain and the inertial frame (N). |
| DCM_LB | The rotational DCM matrix between the component frame of this object (L) relative to the body frame (B). |
| DCM_LN | The DCM rotational matrix of the component relative to the inertial origin (N) of the world. |
| DCM_LP | The DCM matrix of the component in the parent’s frame (P), taken from the Component Transform (PL). |
| DivergenceAngle | Divergence angle of the antenna |
| Frequency | The targeted frequency for the antenna |
| IsEnabled | Is true if the object is currently enabled. |
| LocalForward | The direction of the transform frame’s forward vector, which is along the Y axis. |
| LocalRight | The direction of the transform frame’s right vector, which is along the X axis. |
| LocalUp | The direction of the transform frame’s up vector, which is along the Z axis. |
| Mass | The component mass defined in the object. This is independent of any parent or children objects and exists inisolation. |
| MassDot | The component mass time-derivative defined in the object. This is independent of any parent or children objectsand exists in isolation. |
| Models | A collection of models attached to this object. |
| ModelType | Analysis type for the antenna dish |
| MomentOfInertia_LB | The moment of inertia of the component, measured at the local center of mass, represented with its own localcoordinates. This does not include any of the sub-components and exists in isolation. |
| MomentOfInertiaB_B | The moment of inertia of this component, measured in the body frame relative to the parented body. This isindependent of any children and exists in isolation. |
| MomentOfInertiaPrime_LB | The derivative of the moment of inertia of the component, measured at the local center of mass, represented withits own local coordinates. This does not include any of the sub-components and exists in isolation. |
| MomentOfInertiaPrimeB_B | The derivative of the moment of inertia of the component, represented in the body frame (B). This is independentand exists in isolation. |
| Name | The display name or tag of this object. |
| NumAvailableConnections | Returns the number of active connections that are currently valid on the antennathat have a connection fraction greater than zero, so they can be used fordata transmission. |
| NumConnections | Returns the number of connections that are currently valid on the antenna |
| NumLinks | Returns the number of valid links that the antenna have connected |
| OpticalLoss | Optical Loss of the transmission. This is measured in decibels andrepresents the loss due to optical components. |
| Out_AntennaConfigMsg | The antenna configuration message that contains the dataabout the antenna. |
| Out_ComponentMassMsg | The component mass message defines the set of mass properties and states of the system within this componentlocally. This is independent of any parent or children properties or objects. |
| Out_TransformMsg | This defines the base transform message that stores the state of the transform of this object. |
| Parent | The currently attached parent object (if any). |
| PointingLoss | Pointing loss of the transmission due to misalignment. This ismeasured in decibels. |
| Position | [m] The position of the object relative to the parent or to world origin, if no parent exists. |
| Position_BN_N | The position of the body (the root parent B) in the inertial frame relative to the inertial point (N). |
| Position_LB_B | The position of the component relative to the root object of this hierarchy. This is in the inertial frame and ifthe component is the root object, then there will be no position. |
| Position_LN_N | The position of the inertial world space. This position is derived from the world’s transform (N). |
| Position_LP_P | The position of the object relative to the parented object (P). If there is no parent object, then this will bein the inertial frame. |
| Root | The root object in the parent chain. |
| Rotation | [-] The rotation of the object relative to the parent or to the world origin, if no parent exists. |
| Thermal | [TEMPORARY] A reference to the thermal model that is attached to this object. This will allow the object to havethermal properties and be able to be used in thermal simulations. |
| TransmissionType | The transmission type for the antenna. This will define whattype of connection is required. |
Methods
| Declared | Description |
|---|---|
| ClearReadyData | Clears all ready data from the receiver’s output buffer. |
| GetNumReadyPackets | Returns the number of packets that are currently ready to be receivedon the receiver for a particular key. If the key is invalid, the defaultkey will be used. |
| GetReadyKeys | Returns the list of keys stored in the receiver that are ready in theready data output buffer. |
| GetReadyMessageKeys | Returns the list of keys stored in the receiver that are ready in theready data output buffer and are messages. |
| ReceiveBytes | Checks the buffer, at a particular key, and returns the oldestbyte array clump of data that exists on the receiver. If thekey is invalid or no data is found, an empty byte array willbe returned. This will also remove the data from the queue, andit will be deleted from the receiver. |
| ReceiveJSON | Checks the buffer, at a particular key, and returns the oldestJSON object clump of data that exists on the receiver. If thekey is invalid or no data is found, a null reference will bereturned. This will also remove the data from the queue, andit will be deleted from the receiver. |
| ReceiveMessage | Checks the buffer, at a particular key, and attempts to updatea message with the data from the buffer. This will return whetherthe message is successfully updated. If there is no data, or thekey is invalid, then the message will not be updated. |
| ReceiveString | Checks the buffer, at a particular key, and returns the oldeststring clump of data that exists on the receiver. If the keyis invalid or no data is found, an empty string will be returned.This will also remove the data from the queue, and it will bedeleted from the receiver. |
| ViewReadyData | Returns a list of ready data that is present within the receiverfor inspection purposes. This will return up to maxItems of datain the form of ASCII strings for viewing. This will not removethe data from the receiver and will have a maximum number of itemswhich can be specified. It will return the data from any key. |
| Inherited | Description |
|---|---|
| AddObject | Returns a new simulation object with the specified type. |
| Attach | Attempts to attach this object to a new parent. This will only work if the current object is no parented to anyother object. |
| ConfigureEMLookupTable | Loads the EM signature properties from a CSV table. This will read a CSV fileand will interpolate the data to create a lookup table for the EM signature. |
| ContainsModelWithID | Returns true if an attached model satisfies the specified ID. |
| ContainsModelWithType | Returns true if an attached model satisfies the specified type. |
| Detach | This is an action to detach the current object from its parent, if it exists and move it to another object or tojust exist within the simulation. |
| FindBehavioursWithType | Returns all attached behaviours that satisfies the specified type. |
| FindBehaviourWithID | Returns an attached behaviour that satisfies the specified ID. |
| FindBehaviourWithType | Returns an attached behaviour that satisfies the specified type. |
| FindChildrenWithType | Returns all attached children that satisfies the specified type. |
| FindChildWithID | Returns an attached child that satisfies the specified ID. |
| FindChildWithType | Returns an attached child that satisfies the specified type. |
| FindModelsWithType | Returns all attached models that satisfies the specified type. |
| FindModelWithID | Returns an attached model that satisfies the specified ID. |
| FindModelWithType | Returns an attached model that satisfies the specified type. |
| FindParentWithID | Returns an attached parent that satisfies the specified ID. |
| FindParentWithType | Returns an attached parent that satisfies the specified type. |
| FindRootWithID | Returns a root object that satisfies the specified ID. |
| FindRootWithType | Returns a root object that satisfies the specified type. |
| GetAntennaLink | Returns the data link message associated with the antenna with a connectionto another antenna. |
| GetAntennaPositionForLink | Gets the position of this antenna for a link to another antenna. Bydefault, this is just the position of the antenna, but can be overriddenin derived classes to provide more complex behavior (e.g., ground stations)for nearest point calculations. |
| GetLoadedSignaturePattern | Gets the currently loaded RF pattern and returns the datain degrees as an array from 0 to 360. |
| GetLookupPointingLoss | Gets the pointing loss of the antenna based on the angle ofthe component. |
| GetModel | Returns a valid assigned model with the specified type. |
| GetWorldForward | [DEPRECATED] THIS FUNCTION WILL BE REMOVED AND SHOULD NOT BE USED. |
| GetWorldRight | [DEPRECATED] THIS FUNCTION WILL BE REMOVED AND SHOULD NOT BE USED. |
| GetWorldTransform | Returns the world transform of the object which is relative to the parent. If no parent exists, this will be thetransform of the object in world space. |
| GetWorldUp | [DEPRECATED] THIS FUNCTION WILL BE REMOVED AND SHOULD NOT BE USED. |
| ReadBodyTransform | This method will reset the dirty flag on the mass so that it has been read successfully and is valid. |
| SetRandomSeed | Sets the random seed for the internal random number generator. |
| SetWorldTransform | [DEPRECATED] THIS FUNCTION WILL BE REMOVED AND SHOULD NOT BE USED. |
| UpdateMassProperties | Updates the mass properties of the current physical object at a particular time. |
| UpdatePointingLoss | Updates the pointing loss of the antenna based on the angle ofthe component. |