-
Notifications
You must be signed in to change notification settings - Fork 14.6k
[Docs] MicroStrain driver documentation #25376
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
[Docs] MicroStrain driver documentation #25376
Conversation
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.
Can you run prettier on the file and rebase - which may fix the listed flaws. I'd do it myself but you have not opened the PR to edits by maintainers>
Also add a link to your doc in the parent INS doc.
Didn't seem to work, I think you should have write access now though |
Yes I do. Thanks. Either is a bug on me at this point IFF those are the correct IDs for parameters added by your module. Can you just scan the list and make sure none are outside of your module and/or name typos. These two might be unsupported formats for links. LinkedInternalPageMissing: This linked file is missing: I'll look at this again early next week. |
So I used make parameters_metadata, and the parameters file is being generated in px4_stil_default/docs/modules. |
Cool.
No. You can always go back and fix up any module. |
4f37a9e
to
acbde66
Compare
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.
For all these, my understanding is that you need to use the right field to indicate restart required
reboot_required: true
For example https://github.com/PX4/PX4-Autopilot/blob/main/src/drivers/actuators/vertiq_io/module.yaml#L248
So I'd make that change and remove the text on rebooting
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.
Got it, I had assumed reboot_required meant the whole FC needed to be rebooted
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.
It does. But for most users they wouldn't (and shouldn't) know how to just reboot a driver. So its easier and safer just to tell them to reboot the whole thing.
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.
You could keep the text driver restart if you want. Let me know when you have updated.
@dakejahl Below are YAML changes. They make sense to me, but would be great to get an independent scan.
acbde66
to
3049e50
Compare
Thanks @JoelJ18 . I'm back from holiday now. See comments - looking pretty close to me. |
I'm working on another PR to add some features to the driver, so will be expanding the documentation for that. Can this be held off till I open the other PR and it gets merged? |
Sure, note that their are conflicts too. |
3049e50
to
f01a22e
Compare
Updated wrt #25673 |
f01a22e
to
35d9090
Compare
c8773e9
to
6edcd47
Compare
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.
Thanks @JoelJ18 - Looks great. All the flaws have gone since I rebased on the version which has the parameters.
No flaws found |
Documentation for MicroStrain Inertial Sensors
Related pull request: