Skip to content

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

Merged
bmagyar merged 4 commits intoros-controls:masterfrom
b-robotized-forks:disable-close-loop-pid-adaper-if-in-open-loop
Apr 4, 2023
Merged

[JTC] Disable use of closed-loop PID adapter if controller is used in open-loop mode.#551
bmagyar merged 4 commits intoros-controls:masterfrom
b-robotized-forks:disable-close-loop-pid-adaper-if-in-open-loop

Conversation

@destogl
Copy link
Copy Markdown
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
Copy Markdown
Member

@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
Copy Markdown
Member

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

@bmagyar bmagyar merged commit 8029a2f into ros-controls:master Apr 4, 2023
christophfroehlich pushed a commit to christophfroehlich/ros2_controllers that referenced this pull request Apr 11, 2023
@christophfroehlich christophfroehlich added the backport-humble Triggers PR backport to ROS 2 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 Triggers PR backport to ROS 2 humble.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants