Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random range value when testing gr-radar on just one X310 #37

Open
taochuhang opened this issue May 19, 2020 · 1 comment
Open

random range value when testing gr-radar on just one X310 #37

taochuhang opened this issue May 19, 2020 · 1 comment

Comments

@taochuhang
Copy link

Hi,I'm testing gr-radar on just one X310 with two daughterboards. Firstly, I tried to transmitting and receiving the signal in the same channel(A:0 TX/RX and RX2), but the range value was always a constant even I changed the distance of two antennas, I thought the reason was that the signal leaked from the transmitting port to the receiving port. Then I modified the file of usrp_echotimer_cc_impl.cc to add a choice of selecting the subdevices(A:0,B:0), and it works when transmitting with A:0 TX/RX and receiving with B:0 RX2, but the problem was that the initial range value changed randomly each time. Whenever the program restarted, the initial range value was a random value, and when the distance of two antennas changed, the range value changed based on the initial value, it seems that it takes a random time to complete the configuration process of transmitting and receiving, so I can't to determine the initial value. I have tried a bit to fix this problem with the time command, but it doesn't work well. so, how to fix it?
Would anyone be so kind as to let me know, How to solve this problem?

@luoqinpei
Copy link

Hi,I'm testing gr-radar on just one X310 with two daughterboards. Firstly, I tried to transmitting and receiving the signal in the same channel(A:0 TX/RX and RX2), but the range value was always a constant even I changed the distance of two antennas, I thought the reason was that the signal leaked from the transmitting port to the receiving port. Then I modified the file of usrp_echotimer_cc_impl.cc to add a choice of selecting the subdevices(A:0,B:0), and it works when transmitting with A:0 TX/RX and receiving with B:0 RX2, but the problem was that the initial range value changed randomly each time. Whenever the program restarted, the initial range value was a random value, and when the distance of two antennas changed, the range value changed based on the initial value, it seems that it takes a random time to complete the configuration process of transmitting and receiving, so I can't to determine the initial value. I have tried a bit to fix this problem with the time command, but it doesn't work well. so, how to fix it? Would anyone be so kind as to let me know, How to solve this problem?

Hello! I've encountered the same question when implementing gr-radar onto x310, would you please share how you modify the file of usrp_echotimer_cc_impl.cc to make it work? Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants