Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 18, 2024
1 parent 46e89a4 commit fc06593
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/control_toolbox/pid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,13 +543,13 @@ class CONTROL_TOOLBOX_PUBLIC Pid
// blocking the realtime update loop
realtime_tools::RealtimeBuffer<Gains> gains_buffer_;

double p_error_last_; /**< _Save position state for derivative state calculation. */
double p_error_; /**< Position error. */
double i_error_; /**< Integral of position error. */
double d_error_; /**< Derivative of position error. */
double cmd_; /**< Command to send. */
double p_error_last_; /** Save state for derivative state calculation. */
double p_error_; /** Error. */
double i_error_; /** Integral of error. */
double d_error_; /** Derivative of error. */
double cmd_; /** Command to send. */
// TODO(christophfroehlich) remove this -> breaks ABI
[[deprecated("Use d_error_")]] double error_dot_; /**< Derivative error */
[[deprecated("Use d_error_")]] double error_dot_; /** Derivative error */
};

} // namespace control_toolbox
Expand Down

0 comments on commit fc06593

Please sign in to comment.