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

[JTC] Disable use of closed-loop PID adapter if controller is used in open-loop mode. #551

Conversation

destogl
Copy link
Member

@destogl destogl commented Mar 27, 2023

As the name says. It is not sensible to close loop using PID adapter if controller should run in the open-loop.

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but let's add that to the doc.

open_loop_control (boolean)
Use controller in open-loop control mode using ignoring the states provided by hardware interface and using last commands as states in the next control step. This is useful if hardware states are not following commands, i.e., an offset between those (typical for hydraulic manipulators).

I did not understand that fully without looking at the code. This is only important for the start point of the interpolation (and now also disabling feedback PIDs -> comment on gains structure).

@christophfroehlich
Copy link
Contributor

I uploaded a proposal for an update to the docs: StoglRobotics-forks#6

@bmagyar bmagyar merged commit 8029a2f into ros-controls:master Apr 4, 2023
9 of 13 checks passed
christophfroehlich pushed a commit to christophfroehlich/ros2_controllers that referenced this pull request Apr 11, 2023
@christophfroehlich christophfroehlich added the backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. label Aug 7, 2023
mergify bot pushed a commit that referenced this pull request Aug 7, 2023
… open-loop mode. (#551)

(cherry picked from commit 8029a2f)

# Conflicts:
#	joint_trajectory_controller/doc/userdoc.rst
christophfroehlich pushed a commit to christophfroehlich/ros2_controllers that referenced this pull request Aug 7, 2023
bmagyar added a commit that referenced this pull request Aug 7, 2023
… open-loop mode. (#551) (#740)

(cherry picked from commit 8029a2f)

Co-authored-by: Dr. Denis <denis@stoglrobotics.de>
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants