Skip to content

Commit b8aa478

Browse files
committed
updated formatting of examples
1 parent 14deec1 commit b8aa478

11 files changed

+37
-18
lines changed

doc/cruise-control.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Cruise control example from FBS
2-
-------------------------------
1+
Cruise control design example (as a nonlinear I/O system)
2+
---------------------------------------------------------
33

44
Code
55
....

doc/examples.rst

+14-1
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,39 @@
55
Examples
66
********
77

8+
The source code for the examples below are available in the `examples/`
9+
subdirecory of the source code distribution. The can also be accessed online
10+
via the [python-control GitHub repository](https://github.com/python-control/python-control/tree/master/examples).
11+
12+
813
Python scripts
914
==============
1015

16+
The following Python scripts document the use of a variety of methods in the
17+
Python Control Toolbox on examples drawn from standard control textbooks and
18+
other sources.
19+
1120
.. toctree::
1221
:maxdepth: 1
1322

1423
secord-matlab
15-
cruise-control
1624
pvtol-nested
1725
pvtol-lqr
1826
rss-balred
1927
phaseplots
2028
robust_siso
2129
robust_mimo
30+
cruise-control
2231
steering-gainsched
2332
kincar-flatsys
2433

2534
Jupyter notebooks
2635
=================
2736

37+
The examples below use `python-control` in a Jupyter notebook environment.
38+
These notebooks demonstrate the use of modeling, anaylsis, and design tools
39+
using running examples in FBS2e.
40+
2841
.. toctree::
2942
:maxdepth: 1
3043

doc/kincar-flatsys.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Differentially flat system - kinematic car
22
------------------------------------------
33

4+
This example demonstrates the use of the `flatsys` module for
5+
generating trajectories for differentially flat systems. The example
6+
is drawn from Chapter 8 of FBS2e.
7+
48
Code
59
....
610
.. literalinclude:: kincar-flatsys.py

doc/phaseplots.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Phase plots
2-
------------
1+
Phase plot examples
2+
--------------------
33

44
Code
55
....

doc/pvtol-lqr.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Planar vertical takeoff and landing (PVTOL) LQR controller
2-
----------------------------------------------------------
1+
LQR control design for vertical takeoff and landing aircraft
2+
------------------------------------------------------------
33

44
This script demonstrates the use of the python-control package for
55
analysis and design of a controller for a vectored thrust aircraft

doc/pvtol-nested.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Planar vertical takeoff and landing (PVTOL) nested controller
2-
-------------------------------------------------------------
1+
Inner/outer control design for vertical takeoff and landing aircraft
2+
--------------------------------------------------------------------
33

44
This script demonstrates the use of the python-control package for
55
analysis and design of a controller for a vectored thrust aircraft

doc/rss-balred.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Balanced model reduction
2-
------------------------
1+
Balanced model reduction examples
2+
---------------------------------
33

44
Code
55
....

doc/secord-matlab.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
Secord order system (MATLAB)
2-
----------------------------
1+
Secord order system (MATLAB module example)
2+
-------------------------------------------
3+
4+
This example computes time and frequency responses for a second-order
5+
system using the MATLAB compatibility module.
36

47
Code
58
....

examples/cruise.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Feedback Examples: Cruise Control\n",
7+
"# Cruise control\n",
88
"\n",
99
"Richard M. Murray and Karl J. Åström \n",
1010
"17 Jun 2019\n",

examples/rss-balred.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
plt.close('all')
1212

13-
# controllable canonical realization computed in Matlab for the transfer function:
14-
# num = [1 11 45 32], den = [1 15 60 200 60]
13+
# controllable canonical realization computed in MATLAB for the
14+
# transfer function: num = [1 11 45 32], den = [1 15 60 200 60]
1515
A = np.array([
1616
[-15., -7.5, -6.25, -1.875],
1717
[8., 0., 0., 0.],
@@ -53,4 +53,3 @@
5353

5454
if 'PYCONTROL_TEST_EXAMPLES' not in os.environ:
5555
plt.show()
56-

examples/steering.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Vehicle Steering\n",
7+
"# Vehicle steering\n",
88
"Karl J. Astrom and Richard M. Murray \n",
99
"23 Jul 2019\n",
1010
"\n",

0 commit comments

Comments
 (0)