You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 🚀 The mecanum_drive_controller was added 🎉 (`#512 <https://github.com/ros-controls/ros2_controllers/pull/512>`_).
@@ -98,6 +99,11 @@ pid_controller
98
99
* The legacy ``antiwindup`` boolean and integral clamp parameters ``i_clamp_max``/``i_clamp_min`` have been deprecated in favor of the new ``antiwindup_strategy`` parameter. A ``tracking_time_constant`` parameter has also been introduced to configure the back-calculation strategy.
99
100
* A new ``error_deadband`` parameter stops integration when the error is within a specified range.
100
101
* PID state publisher can be turned off or on by using ``activate_state_publisher`` parameter. (`#1823 <https://github.com/ros-controls/ros2_controllers/pull/1823>`_).
102
+
=======
103
+
pid_controller
104
+
**************
105
+
* Added parameter ``set_current_state_as_first_setpoint`` (default: true) to set the current state as the first setpoint when the controller is activated, helping to avoid large initial errors and sudden jumps in control output.
106
+
>>>>>>> bb214dc ([PID Controllers] Set first set point to current measurement (#2205))
Copy file name to clipboardExpand all lines: pid_controller/src/pid_controller.yaml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,12 @@ pid_controller:
38
38
size_lt<>: 3,
39
39
}
40
40
}
41
+
set_current_state_as_first_setpoint: {
42
+
type: bool,
43
+
default_value: true,
44
+
read_only: true,
45
+
description: "When true, the controller will set the current state as the first setpoint when the controller is activated. This can help to avoid large initial errors and sudden jumps in the control output when the controller starts."
0 commit comments