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

[PID] Update pid documentation to match src code #132

Closed
wants to merge 1 commit into from

Conversation

huemerj
Copy link

@huemerj huemerj commented Jan 13, 2023

I updated the documentation for the PID-control class in include/control_toolbox/pid.hpp to match the actual behavior from src/pid.cpp.
In PID-control literature, the error is typically defined as 'error=target-state' and the computeCommand function is also used in this way (e.g. https://github.com/ros-controls/ros2_controllers/blob/a49a87da1df40851a80507d61931d12c969cb015/joint_trajectory_controller/src/joint_trajectory_controller.cpp#L245).

Related to #39

@huemerj huemerj changed the title Update pid documentation to match src code [PID] Update pid documentation to match src code Jan 13, 2023
@bmagyar
Copy link
Member

bmagyar commented Jan 15, 2023

I've only spotted this PR after I merged #138

Could you please check if the current state is satisfsctory or this PR still has changes to add?

@christophfroehlich
Copy link
Contributor

damn, sorry. Miscommunication between @huemerj and myself. Credits go to him for finding it ;)

@huemerj
Copy link
Author

huemerj commented Jan 16, 2023

I've only spotted this PR after I merged #138

Could you please check if the current state is satisfsctory or this PR still has changes to add?

Current state is totally fine, thank you 👍

@huemerj huemerj closed this Jan 16, 2023
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.

3 participants