2323class FlatSystem (NonlinearIOSystem ):
2424 """Base class for representing a differentially flat system.
2525
26- The FlatSystem class is used as a base class to describe
27- differentially flat systems for trajectory generation. The output
28- of the system does not need to be the differentially flat output.
29- Flat systems are usually created with the `~control.flatsys.flatsys`
30- factory function.
26+ The FlatSystem class is used as a base class to describe differentially
27+ flat systems for trajectory generation. The output of the system does
28+ not need to be the differentially flat output. Flat systems are
29+ usually created with the `flatsys` factory function.
3130
3231 Parameters
3332 ----------
@@ -334,12 +333,12 @@ def point_to_point(
334333
335334 Parameters
336335 ----------
337- sys : FlatSystem object
336+ sys : ` FlatSystem` object
338337 Description of the differentially flat system. This object must
339- define a function `flatsys .forward` that takes the system state and
340- produceds the flag of flat outputs and a system `flatsys.reverse`
341- that takes the flag of the flat output and prodes the state and
342- input.
338+ define a function `~FlatSystem .forward` that takes the system state
339+ and produces the flag of flat outputs and a function
340+ `~FlatSystem.reverse` that takes the flag of the flat output and
341+ prodes the state and input.
343342
344343 timepts : float or 1D array_like
345344 The list of points for evaluating cost and constraints, as well as
@@ -355,9 +354,9 @@ def point_to_point(
355354 The initial time for the trajectory (corresponding to x0). If not
356355 specified, its value is taken to be zero.
357356
358- basis : `flatsys. BasisFamily` object, optional
357+ basis : `BasisFamily` object, optional
359358 The basis functions to use for generating the trajectory. If not
360- specified, the `flatsys. PolyFamily` basis family
359+ specified, the `PolyFamily` basis family
361360 will be used, with the minimal number of elements required to find a
362361 feasible trajectory (twice the number of system states)
363362
@@ -402,9 +401,9 @@ def point_to_point(
402401
403402 Returns
404403 -------
405- traj : `flatsys. SystemTrajectory` object
404+ traj : `SystemTrajectory` object
406405 The system trajectory is returned as an object that implements the
407- `~flatsys. SystemTrajectory.eval` function, we can be used to
406+ `~SystemTrajectory.eval` function, we can be used to
408407 compute the value of the state and input and a given time t.
409408
410409 Notes
@@ -667,12 +666,12 @@ def solve_flat_ocp(
667666
668667 Parameters
669668 ----------
670- sys : FlatSystem object
669+ sys : ` FlatSystem` object
671670 Description of the differentially flat system. This object must
672- define a function `flatsys .forward` that takes the system state and
673- produceds the flag of flat outputs and a system `flatsys.reverse`
674- that takes the flag of the flat output and prodes the state and
675- input.
671+ define a function `~FlatSystem .forward` that takes the system state
672+ and produces the flag of flat outputs and a function
673+ `~FlatSystem.reverse` that takes the flag of the flat output and
674+ prodes the state and input.
676675
677676 timepts : float or 1D array_like
678677 The list of points for evaluating cost and constraints, as well as
@@ -684,9 +683,9 @@ def solve_flat_ocp(
684683 values are given as None, they are replaced by a vector of zeros of
685684 the appropriate dimension.
686685
687- basis : `flatsys. BasisFamily` object, optional
686+ basis : `BasisFamily` object, optional
688687 The basis functions to use for generating the trajectory. If not
689- specified, the `flatsys. PolyFamily` basis family
688+ specified, the `PolyFamily` basis family
690689 will be used, with the minimal number of elements required to find a
691690 feasible trajectory (twice the number of system states)
692691
@@ -735,22 +734,22 @@ def solve_flat_ocp(
735734
736735 Returns
737736 -------
738- traj : `flatsys. SystemTrajectory` object
737+ traj : `SystemTrajectory`
739738 The system trajectory is returned as an object that implements the
740- `~flatsys. SystemTrajectory.eval` function, we can be used to
741- compute the value of the state and input and a given time t .
739+ `SystemTrajectory.eval` function, we can be used to
740+ compute the value of the state and input and a given time `t` .
742741
743742 Notes
744743 -----
745744 Additional keyword parameters can be used to fine tune the behavior of
746745 the underlying optimization function. See `minimize_*` keywords in
747- `optimal.OptimalControlProblem` for more information.
746+ `control. optimal.OptimalControlProblem` for more information.
748747
749748 The return data structure includes the following additional attributes:
750749
751- * success : bool indicating whether the optimization succeeded
752- * cost : computed cost of the returned trajectory
753- * message : message returned by optimization if success if False
750+ * ` success` : bool indicating whether the optimization succeeded
751+ * ` cost` : computed cost of the returned trajectory
752+ * ` message` : message returned by optimization if success if False
754753
755754 A common failure in solving optimal control problem is that the default
756755 initial guess violates the constraints and the optimizer can't find a
0 commit comments