File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ use pid::Pid;
3636let mut pid = Pid :: new (15.0 , 100.0 );
3737pid . p (10.0 , 100.0 );
3838
39- // Input a mesurement with an error of 5.0 from our setpoint
39+ // Input a measurement with an error of 5.0 from our setpoint
4040let output = pid . next_control_output (10.0 );
4141
4242// Show that the error is correct by multiplying by our kp
Original file line number Diff line number Diff line change 1111//! let mut pid = Pid::new(15.0, 100.0);
1212//! pid.p(10.0, 100.0);
1313//!
14- //! // Input a mesurement with an error of 5.0 from our setpoint
14+ //! // Input a measurement with an error of 5.0 from our setpoint
1515//! let output = pid.next_control_output(10.0);
1616//!
1717//! // Show that the error is correct by multiplying by our kp
@@ -70,7 +70,7 @@ use serde::{Deserialize, Serialize};
7070/// ```rust
7171/// use pid::Pid;
7272///
73- /// // Create full PID controler
73+ /// // Create full PID controller
7474/// let mut full_controller = Pid::new(15.0, 100.0);
7575/// full_controller.p(10.0, 100.0).i(4.5, 100.0).d(0.25, 100.0);
7676///
You can’t perform that action at this time.
0 commit comments