Skip to content

Commit 802b47b

Browse files
committed
DOC: fix typos, equation numbering in doc/flatsys.rst
1 parent 2d7aad0 commit 802b47b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎doc/flatsys.rst‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ and we can write the solutions of the nonlinear system as functions of
2727
.. math::
2828
x &= \beta(z, \dot z, \dots, z^{(q)}) \\
2929
u &= \gamma(z, \dot z, \dots, z^{(q)}).
30+
:label: flat2state
3031
3132
For a differentially flat system, all of the feasible trajectories for
3233
the system can be written as functions of a flat output :math:`z(\cdot)` and
@@ -52,7 +53,7 @@ and we see that the initial and final condition in the full state
5253
space depends on just the output :math:`z` and its derivatives at the
5354
initial and final times. Thus any trajectory for :math:`z` that satisfies
5455
these boundary conditions will be a feasible trajectory for the
55-
system, using equation~\eqref{eq:trajgen:flat2state} to determine the
56+
system, using equation :eq:`flat2state` to determine the
5657
full state space and input trajectories.
5758

5859
In particular, given initial and final conditions on :math:`z` and its
@@ -142,7 +143,7 @@ For more general systems, the `FlatSystem` object must be created manually
142143
In addition to the flat system descriptionn, a set of basis functions
143144
:math:`\phi_i(t)` must be chosen. The `FlatBasis` class is used to represent
144145
the basis functions. A polynomial basis function of the form 1, :math:`t`,
145-
:math:`t^2:, ... can be computed using the `PolyBasis` class, which is
146+
:math:`t^2`, ... can be computed using the `PolyBasis` class, which is
146147
initialized by passing the desired order of the polynomial basis set:
147148

148149
polybasis = control.flatsys.PolyBasis(N)
@@ -225,9 +226,9 @@ derived *Feedback Systems* by Astrom and Murray, Example 3.11.
225226
226227
To find a trajectory from an initial state :math:`x_0` to a final state
227228
:math:`x_\text{f}` in time :math:`T_\text{f}` we solve a point-to-point
228-
trajectory generation problem. We also set the initial and final inputs, whi
229-
ch sets the vehicle velocity :math:`v` and steering wheel angle :math:`\delta`
230-
at the endpoints.
229+
trajectory generation problem. We also set the initial and final inputs, which
230+
sets the vehicle velocity :math:`v` and steering wheel angle :math:`\delta` at
231+
the endpoints.
231232

232233
.. code-block:: python
233234

0 commit comments

Comments
 (0)