39#ifndef UWOPTICALBEAMPATTERN_PHY_H
40#define UWOPTICALBEAMPATTERN_PHY_H
86 virtual int command(
int,
const char *
const *);
89 virtual void startRx(Packet *p);
91 virtual void startTx(Packet *p);
string beam_pattern_path_rx_
double getMaxTxRange(Packet *p)
Get the transmission range in the current conditions.
void initializeLUT()
Inizialize all the LUTs.
char beam_pattern_separator_
virtual void startRx(Packet *p)
double getBetaXYRx(Packet *p)
void initializeBeamLUT(BeamPattern &beam_lut_, string beam_pattern_path_)
Inizialize beam pattern LUT.
double inclination_angle_
Angle of inclination from the 0 Zenith.
double getLutMaxDist(double c, double na)
Get the maximum transmission range for these water properties.
string beam_pattern_path_tx_
double getLutBeamFactor(BeamPattern &beam_lut_, double beta)
void checkInclinationAngle()
double getBetaXYTx(Packet *p)
double getBetaXY(Packet *p, double rotation_angle)
virtual int command(int, const char *const *)
TCL command interpreter.
double getBetaRx(Packet *p)
void initializeMaxRangeLUT()
Inizialize max range LUT.
virtual void startTx(Packet *p)
double back_noise_threshold_
double getBetaTx(Packet *p)
UwOpticalBeamPattern()
Constructor of UwMultiPhy class.
virtual ~UwOpticalBeamPattern()
Destructor of UwMultiPhy class.
double max_range_with_noise
Definition of UwOptical class.
Provides the header description for uwbluwcomm packets.
::std::map< double, MaxDist > CMaxDist
CMaxDist::iterator CMaxDistIter
BeamPattern::iterator BeamPatternIter
::std::map< double, double > BeamPattern