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

radiolink: add log variables for statistics #1341

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

whoenig
Copy link
Contributor

@whoenig whoenig commented Jan 19, 2024

  • radio.numRxBc counts the number of broadcasts received
  • radio.numRxUc counts the number of unicasts received

* radio.numRxBc counts the number of broadcasts received
* radio.numRxUc counts the number of unicasts received
@whoenig
Copy link
Contributor Author

whoenig commented Jan 19, 2024

An example use-case is the continuous end-to-end monitoring of the ack rate for both unicast and broadcast commands, see IMRCLab/crazyswarm2#406 as an example. Here, we log the two new variables at 1 Hz and compare the received packet count with the sent packet count from the radio/connection.

Copy link
Member

@knmcguire knmcguire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me! I'll merge

@knmcguire knmcguire merged commit d1339b8 into bitcraze:master Jan 22, 2024
24 checks passed
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

Successfully merging this pull request may close these issues.

2 participants