Skip to content

Commit 3662bfb

Browse files
committed
Fix small typos in doc/flatsys.rst
1 parent d7e5193 commit 3662bfb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/flatsys.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Differentially flat systems are useful in situations where explicit
3939
trajectory generation is required. Since the behavior of a flat system
4040
is determined by the flat outputs, we can plan trajectories in output
4141
space, and then map these to appropriate inputs. Suppose we wish to
42-
generate a feasible trajectory for the the nonlinear system
42+
generate a feasible trajectory for the nonlinear system
4343

4444
.. math::
4545
\dot x = f(x, u), \qquad x(0) = x_0,\, x(T) = x_f.
@@ -181,7 +181,7 @@ solve an optimal control problem without a final state::
181181
traj = control.flatsys.solve_flat_ocp(
182182
sys, timepts, x0, u0, cost, basis=basis)
183183

184-
The `cost` parameter is a function function with call signature
184+
The `cost` parameter is a function with call signature
185185
`cost(x, u)` and should return the (incremental) cost at the given
186186
state, and input. It will be evaluated at each point in the `timepts`
187187
vector. The `terminal_cost` parameter can be used to specify a cost
@@ -193,7 +193,7 @@ Example
193193
To illustrate how we can use a two degree-of-freedom design to improve the
194194
performance of the system, consider the problem of steering a car to change
195195
lanes on a road. We use the non-normalized form of the dynamics, which are
196-
derived *Feedback Systems* by Astrom and Murray, Example 3.11.
196+
derived in *Feedback Systems* by Astrom and Murray, Example 3.11.
197197

198198
.. code-block:: python
199199

0 commit comments

Comments
 (0)