Skip to content

Commit edb0e64

Browse files
committed
done with intro to p control
1 parent 9f2050f commit edb0e64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

course/robot_control/intro_to_prop_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the formula:
2424

2525
.. code-block:: python
2626
27-
error = setpoint - process variable
27+
error = setpoint - process_variable
2828
2929
Knowing the error isn't enough. How should you, the driver, react to it? This is where the concept of Proportional
3030
control comes into play.
@@ -36,7 +36,7 @@ A measure called **control output** tells you much to adjust. It's calculated as
3636

3737
.. code-block:: python
3838
39-
control output = Kp * error
39+
control_output = Kp * error
4040
4141
where Kp is a constant called the **proportional gain** and acts as a scaling factor for the error.
4242

0 commit comments

Comments
 (0)