Update documentation of PID class#388
Update documentation of PID class#388christophfroehlich merged 12 commits intoros-controls:ros2-masterfrom ViktorCVS:pr/documentation
Conversation
Clarify and expand migration instructions now that pull request #298 has been merged, ensuring users know how to adjust their configurations accordingly.
|
@christophfroehlich I’ve created a PR to update the documentation, but I’m not sure if there are other repositories or files I need to update. Can you help me with that? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ros2-master #388 +/- ##
============================================
Coverage 78.38% 78.38%
============================================
Files 30 30
Lines 1888 1888
Branches 114 114
============================================
Hits 1480 1480
Misses 338 338
Partials 70 70
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
I suggest that you add the documentation here Add a new section for the PID, copy basis information from the docstring and add your antiwindup description from the other PR there. |
Adds a comprehensive PID section to control_toolbox.md, covering the standard PID equation, descriptions of proportional, integral, and derivative gains, output limits, detailed explanations of anti-windup strategies (back-calculation and conditional integration) with update rules and default values, and a C++ usage example.
Clarify and expand migration instructions now that pull request #298 has been merged, ensuring users know how to adjust their configurations accordingly.
Done! I changed it from draft to open. If there is still documentation to add, I’ll add more commits. |
Adds a comprehensive PID section to control_toolbox.md, covering the standard PID equation, descriptions of proportional, integral, and derivative gains, output limits, detailed explanations of anti-windup strategies (back-calculation and conditional integration) with update rules and default values, and a C++ usage example.
christophfroehlich
left a comment
There was a problem hiding this comment.
Thanks for this addition. Some details got outdated, comments see below.
please update also the docstring of the Pid Class in pid.hpp accordingly (remove i_clamp etc).
And could you please also add the references to literature?
doc/migration.rst
Outdated
|
|
||
| Pid/PidRos | ||
| *********************************************************** | ||
| * The parameters :paramref:`antiwindup`, :paramref:`i_clamp_max`, and :paramref:`i_clamp_min` have been removed. The anti-windup behavior is now configured via the :paramref:`AntiwindupStrategy` enum. (`#298 <https://github.com/ros-controls/control_toolbox/pull/298>`_). |
There was a problem hiding this comment.
| * The parameters :paramref:`antiwindup`, :paramref:`i_clamp_max`, and :paramref:`i_clamp_min` have been removed. The anti-windup behavior is now configured via the :paramref:`AntiwindupStrategy` enum. (`#298 <https://github.com/ros-controls/control_toolbox/pull/298>`_). | |
| * The parameters :paramref:`antiwindup`, :paramref:`i_clamp_max`, and :paramref:`i_clamp_min` have been removed. The anti-windup behavior is now configured via the :paramref:`AntiWindupStrategy` enum. (`#298 <https://github.com/ros-controls/control_toolbox/pull/298>`_). |
Done! |
christophfroehlich
left a comment
There was a problem hiding this comment.
Thanks a lot. Next time, please use the github UI to apply suggested changes if you fully agree, this makes the re-review faster for us ;)
ff1f2d6
into
ros-controls:ros2-master
(cherry picked from commit ff1f2d6) # Conflicts: # doc/migration.rst
Documentation PR post-PR #298 merge