@@ -39,7 +39,7 @@ Differentially flat systems are useful in situations where explicit
3939trajectory generation is required. Since the behavior of a flat system
4040is determined by the flat outputs, we can plan trajectories in output
4141space, 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
186186state, and input. It will be evaluated at each point in the `timepts `
187187vector. The `terminal_cost ` parameter can be used to specify a cost
@@ -193,7 +193,7 @@ Example
193193To illustrate how we can use a two degree-of-freedom design to improve the
194194performance of the system, consider the problem of steering a car to change
195195lanes 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