Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion omnisafe/common/pid_lagrange.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def pid_update(self, ep_cost_avg: float) -> None:

.. math::

\lambda_{t+1} = \lambda_t + (K_p e_p + K_i \int e_p dt + K_d \frac{d e_p}{d t}) \eta
\lambda_{t+1} = \max(0,K_p e_p + K_i \int e_p dt + K_d \frac{d e_p}{d t})

where :math:`e_p` is the error between the current episode cost and the cost limit,
:math:`K_p`, :math:`K_i`, :math:`K_d` are the PID parameters, and :math:`\eta` is the
Expand Down