-
Notifications
You must be signed in to change notification settings - Fork 317
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
Improved docstring consistency across the codebase #2087
base: master
Are you sure you want to change the base?
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.
Thanks for the housekeeping. Please always run pre-commit or install it to do the checks automatically.
This will take some time to review though..
.vscode/settings.json
Outdated
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.
Please remove this.
/** | ||
* \return name. | ||
*/ | ||
/// Gets the name of the actuator hardware. |
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.
do we need the lines starting with ///
across all files?
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.
I followed the existing style in most files but can update it if needed. Would you like me to revert /// to /** ... */ in some places?
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.
I don't think we need this information within ///
and then in the @brief
again?
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.
I believe it is not compiling for this. Please fix it and make sure the project compiles. Also, please install pre-commit as @christophfroehlich already mentioned.
I can imagine that this was a lot of work. But with respect to the huge amount of changes, could you please split this PR into smaller portions? For example, first fixing the format/syntax of the docstring in one PR without changing/rephrasing them? |
Co-authored-by: Sai Kishor Kothakota <[email protected]>
* the controller can be activated and to claim interfaces from the hardware. | ||
* | ||
* The claimed interfaces are populated in the | ||
* `ControllerInterfaceBase::state_interfaces_` member. |
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.
Things like * \ref ControllerInterfaceBase::state_interfaces_ "state_interfaces_" member.
create hyperlink to that class in doxygen. Is that not the case anymore?
Hello Developers,
This is my 1st contribution to open source, and I'm excited to contribute to this project!
This PR Fixes : #2064
Changes Made:
I have carefully reviewed my changes, but I would love your feedback!
Looking forward to your review and suggestions.
@christophfroehlich @saikishor
Regards,
Vishwanath Karne