关于Detects package statements that do not correspond to the project directory structure的问题解决

本文详细讲述了在项目中遇到包名与类路径不一致的问题,通过设置代码源码包和针对特定包进行配置,解决了报错。步骤包括调整src包路径和特殊包的source设置,确保类的正确引用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.出现这种问题的原因是:项目导入的包名和该类所在的包路径不一致;如下图提示

2.设置方式:通常来说只需要设置src代码源码的包即可,但是在这里我已经对src进行设置为source,但是依旧报出某个包下的类报这种错,所以我对特定的包再次进行source,如下图设置:

上述两步完成就不再报错了!

 

 

 

Sending data You must be able to start and stop transmission on command from MATLAB. This means that there needs to be two MATLAB functions for transmitting (or possibly the same function that takes multiple input parameters). The first command should start the transmission of the signal of our choice; it should write the signal to the memory. When the transmitter is started, it should loop the signal until we call it to stop. This looping is necessary due to how the test equipment in the lab functions. For example: transmit_start (signal) The second command should stop the transmission. For example: transmit_stop Note that when sending the pilot sequence of symbols (see below about the pilot) is handled entirely in MATLAB and there is no need to deal with it explicitly in your part . Receiving data When receiving data, there is a known pilot sequence that signals that the data starts. The pilot is known by both the transmitter and the receiver. The pilot sequence can have varying length and is an arbitrary sequence of QAM symbols. The FPGA then searches for the pilot sequence in the data stream by performing a cross-correlation between the pilot sequence and the received data stream. If the correlation detects a significant peak, the pilot is detected and the data is retrieved in MATLAB. It is important that the receiver runs on a timer such that after a certain time if no signal is detected, the receiver function will return whatever is in the memory. The timeout can be set to a fixed time to begin with, let’s say 10 seconds. The function needs to indicate whether or not the pilot was detected, since this is important for debugging purposes. Lise suggests that the value of the maximum correlation is enough to feed back. Since the signal will be noisy, there will only be a probability that the signal is detected (it not a 0 or 1 value). Lise suggests to use “if max(xcorr(pilot,rx_signal)) > 0.3, status = DETECTED” or something similar.
最新发布
03-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值