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
Add individual channel status information to Telecommand #419
base: next
Are you sure you want to change the base?
Add individual channel status information to Telecommand #419
Conversation
Available info: channel number, system, signal and PRN. Missing info: mode, telemetry status, ephemeris status, Doppler and CN0
As far as my research goes, it looks like the channel status information that we need to fill the table is in the So, in order to be able to access the Then, in the So far, said changes lead to the following result:
I have managed to print the channel number, system, signal and PRN values for each channel. The mode, telemetry status, ephemeris status, Doppler and CN0 are missing at the moment. |
UPDATE: The channel status table now looks like this:
@carlesfernandez & @Arribas I have a question for you. Does each channel have its own finite state machine? Or do channels share the same fsm instance? The reason I am asking this is because I see that all channels are showing the same mode/state value in the table. For instance, when I start GNSS-SDR, all channels show the tracking (TRK) mode, which doesn't seem right to me as most channels should be in acquisition (ACQ) right after starting up the receiver. As you can see in my last commit 15713fc, for each channel in the I might be missing something or doing something wrong with the shared pointers. |
Each channel has its own instance of the state machine, so they are independent. If you already have Doppler and CN0 values, it means the channels are already in tracking. The ACQ stage takes a very short time (in a human time scale), so maybe it is not cached on the screen. Try to limit the number of channels in acquisition with Please also consider than
Great work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some inline comments
Thank you for your inputs @carlesfernandez I have resolved the issues you raised in your inline comments in commits 585754a and b6b7cc7
That makes complete sense.
The Doppler and CN0 values you currently see printed in the table are hardcoded dummy values that I have put for wireframing. Please disregard them by now, they are just noise. I will fix this in upcoming commits. gnss-sdr/src/core/receiver/tcp_cmd_interface.cc Lines 167 to 169 in b6b7cc7
Yes, the transition from STBY to ACQ and then to TRK is very fast indeed. I have managed observe this transition of states during the initial startup of the receiver (see table below) by putting breakpoints in the main event loop and performing a step by step debugging of the code.
I have added a to-do list to keep track of the remaining work items. Thanks again! :) |
The purpose of this PR is to address issue #418
I will be adding more commits here as I make progress.
To-do list: