def get_current_rf_input(self, port_name): _antennainfo = FRONTEND.AntennaInfo('', '', '', '') _freqrange = FRONTEND.FreqRange(0, 0, []) _feedinfo = FRONTEND.FeedInfo('', '', _freqrange) _sensorinfo = FRONTEND.SensorInfo('', '', '', _antennainfo, _feedinfo) _rfcapabilities = FRONTEND.RFCapabilities(_freqrange, _freqrange) _rfinfopkt = FRONTEND.RFInfoPkt('', 0.0, 0.0, 0.0, False, _sensorinfo, [], _rfcapabilities, []) return _rfinfopkt
def get_nav_packet(self, port_name): _time = BULKIO.PrecisionUTCTime(1, 1, 1.0, 1.0, 1.0) _positioninfo = FRONTEND.PositionInfo(False, 'DATUM_WGS84', 0.0, 0.0, 0.0) _cartesianpos = FRONTEND.CartesianPositionInfo(False, 'DATUM_WGS84', 0.0, 0.0, 0.0) _velocityinfo = FRONTEND.VelocityInfo(False, 'DATUM_WGS84', '', 0.0, 0.0, 0.0) _accelerationinfo = FRONTEND.AccelerationInfo(False, 'DATUM_WGS84', '', 0.0, 0.0, 0.0) _attitudeinfo = FRONTEND.AttitudeInfo(False, 0.0, 0.0, 0.0) _navpacket = FRONTEND.NavigationPacket('', '', _positioninfo, _cartesianpos, _velocityinfo, _accelerationinfo, _attitudeinfo, _time, []) return _navpacket
def getScanStatus(self, id): raise FRONTEND.NotSupportedException("getScanStatus not supported")
def getTunerOutputSampleRate(self, id): raise FRONTEND.NotSupportedException( "getTunerOutputSampleRate not supported")
def getTunerEnable(self, id): raise FRONTEND.NotSupportedException("getTunerEnable not supported")
def setTunerEnable(self, id, enable): raise FRONTEND.NotSupportedException("setTunerEnable not supported")
def getTunerReferenceSource(self, id): raise FRONTEND.NotSupportedException( "getTunerReferenceSource not supported")
def getTunerGain(self, id): raise FRONTEND.NotSupportedException("getTunerGain not supported")
def setTunerGain(self, id, gain): raise FRONTEND.NotSupportedException("setTunerGain not supported")
def getTunerBandwidth(self, id): raise FRONTEND.NotSupportedException("getTunerBandwidth not supported")
def getTunerCenterFrequency(self, id): raise FRONTEND.NotSupportedException( "getTunerCenterFrequency not supported")
def getTunerRfFlowId(self, id): raise FRONTEND.NotSupportedException("getTunerRfFlowId not supported")
def get_gps_time_pos(self, port_name): _positioninfo = FRONTEND.PositionInfo(False, 'DATUM_WGS84', 0.0, 0.0, 0.0) _gpstimepos = FRONTEND.GpsTimePos( _positioninfo, BULKIO.PrecisionUTCTime(1, 1, 1.0, 1.0, 1.0)) return _gpstimepos
def getTunerDeviceControl(self, id): raise FRONTEND.NotSupportedException( "getTunerDeviceControl not supported")
def setScanStrategy(self, id, scan_strategy): raise FRONTEND.NotSupportedException("setScanStrategy not supported")
def setScanStartTime(self, id, start_time): raise FRONTEND.NotSupportedException("setScanStartTime not supported")