示例#1
0
 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
示例#2
0
 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
示例#3
0
 def getScanStatus(self, id):
     raise FRONTEND.NotSupportedException("getScanStatus not supported")
示例#4
0
 def getTunerOutputSampleRate(self, id):
     raise FRONTEND.NotSupportedException(
         "getTunerOutputSampleRate not supported")
示例#5
0
 def getTunerEnable(self, id):
     raise FRONTEND.NotSupportedException("getTunerEnable not supported")
示例#6
0
 def setTunerEnable(self, id, enable):
     raise FRONTEND.NotSupportedException("setTunerEnable not supported")
示例#7
0
 def getTunerReferenceSource(self, id):
     raise FRONTEND.NotSupportedException(
         "getTunerReferenceSource not supported")
示例#8
0
 def getTunerGain(self, id):
     raise FRONTEND.NotSupportedException("getTunerGain not supported")
示例#9
0
 def setTunerGain(self, id, gain):
     raise FRONTEND.NotSupportedException("setTunerGain not supported")
示例#10
0
 def getTunerBandwidth(self, id):
     raise FRONTEND.NotSupportedException("getTunerBandwidth not supported")
示例#11
0
 def getTunerCenterFrequency(self, id):
     raise FRONTEND.NotSupportedException(
         "getTunerCenterFrequency not supported")
示例#12
0
 def getTunerRfFlowId(self, id):
     raise FRONTEND.NotSupportedException("getTunerRfFlowId not supported")
示例#13
0
 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
示例#14
0
 def getTunerDeviceControl(self, id):
     raise FRONTEND.NotSupportedException(
         "getTunerDeviceControl not supported")
示例#15
0
 def setScanStrategy(self, id, scan_strategy):
     raise FRONTEND.NotSupportedException("setScanStrategy not supported")
示例#16
0
 def setScanStartTime(self, id, start_time):
     raise FRONTEND.NotSupportedException("setScanStartTime not supported")