From ee0fe7a43df59f98c116649bc6448c9d2804d9ca Mon Sep 17 00:00:00 2001 From: Owen Griffiths <root@ogriffiths.com> Date: Tue, 27 Dec 2022 22:00:05 +0000 Subject: [PATCH] Polished docs for 4.0.0 release. --- README.md | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e5b43d5..32cd68b 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ use pid::Pid; let mut pid = Pid::new(15.0, 100.0); pid.p(10.0, 100.0); -// Input a mesurement with an error of 5.0 from our setpoint +// Input a measurement with an error of 5.0 from our setpoint let output = pid.next_control_output(10.0); // Show that the error is correct by multiplying by our kp diff --git a/src/lib.rs b/src/lib.rs index 5ff6e02..154ac38 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ //! let mut pid = Pid::new(15.0, 100.0); //! pid.p(10.0, 100.0); //! -//! // Input a mesurement with an error of 5.0 from our setpoint +//! // Input a measurement with an error of 5.0 from our setpoint //! let output = pid.next_control_output(10.0); //! //! // Show that the error is correct by multiplying by our kp @@ -70,7 +70,7 @@ use serde::{Deserialize, Serialize}; /// ```rust /// use pid::Pid; /// -/// // Create full PID controler +/// // Create full PID controller /// let mut full_controller = Pid::new(15.0, 100.0); /// full_controller.p(10.0, 100.0).i(4.5, 100.0).d(0.25, 100.0); ///