Skip to content

Commit fa74e23

Browse files
committed
changes to simpleAntenna messages
- This change is necessary to make simpleAntenna compatible with linkBudget
1 parent 8378189 commit fa74e23

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/architecture/msgPayloadDefC/AntennaLogMsgPayload.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ typedef struct {
3333
double P_Tx; //!< [W] Transmit power
3434
double P_Rx; //!< [W] Receive power
3535
double DdB; //!< [dB] Antenna directivity in decibels
36+
double eta_r; //!< [-] Antenna radiation efficiency
3637
double P_N; //!< [W] Noise power at the receiver
3738
double P_eirp_dB; //!< [W] EIRP power transmitted
3839
double G_TN; //!< [dB/K] Antenna gain over system noise temperature

src/simulation/communication/simpleAntenna/simpleAntenna.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ void SimpleAntenna::populateOutputMsg(AntennaLogMsgPayload *output)
474474
output->P_Tx = this->P_Tx;
475475
output->P_Rx = this->P_Rx;
476476
output->DdB = this->DdB;
477+
output->eta_r = this->eta_r;
477478
output->G_TN = this->G_TN;
478479
// above is just mapping
479480
output->P_N = this->P_N;

0 commit comments

Comments
 (0)