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

Use log_param_doc.json from crazyflie-firmware #521

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

jonasdn
Copy link
Contributor

@jonasdn jonasdn commented Jul 9, 2021

This PR makes use of the logging and parameter documentation in the crazyflie-firmware repository to generate descriptions for the log- param tabs.

If, and only if, the file src/cfclient/resources/log_param_doc.json is present, we will use it to display descriptions for logging- and parameter groups and parameters in the relevant tabs.

log-toc-desc

This PR also adds a GitHub actions workflow to generate and update the JSON file each night.

Commits:

  • Use log_param_doc.json to add descriptions
  • workflows: Add workflow to update log_param_doc

jonasdn added 2 commits July 9, 2021 09:34
If resources/log_param_doc.json file is present use it to provide
descriptions to log- and param groups and variables.
This workflow will clone the crazyflie-firmwre, generate a JSON file
with documentation of log- and param groups and variables and then
commit and push that as src/cfclient/resources/log_param_doc.json.
@knmcguire
Copy link
Contributor

I think it's a great idea, and it seems to all check out, but probably @ataffanel should take a look at it as well!

@jonasdn jonasdn merged commit 4a3dca8 into master Aug 11, 2021
@knmcguire knmcguire added this to the next-release milestone Dec 16, 2021
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