Skip to content

Improved the Vertical takeoff and landing aircraft notebook #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 17, 2020

Conversation

samlaf
Copy link
Contributor

@samlaf samlaf commented Apr 12, 2020

The PVTOL notebook contained some typos and mistakes.
I only changed the first part ("System Description" and "LQR state feedback controller" sections. Didn't touch the "Lateral control using inner/outer loop design" section).
I changed some of the hardcoded images to latex code instead.
I cleaned up the code (some of which was unnecessary and confusing) and added more explanations where I deemed necessary.
Everything is working on my machine, but let me know if I introduced some bugs (for example I noticed I changed the kernel python version in my first commit), or if you are unhappy with some of the changes I made.

samlaf added 3 commits April 11, 2020 21:21
Also replaced hardcoded image with latex code.
Notebook used to say "Since the python-control package only supports SISO systems,
in order to compute the closed loop dynamics, we must extract the dynamics for the lateral
and altitude dynamics as individual systems." This is not true anymore. So I simplified the code.
Also added explanations as to what the code is doing and fixed some typos.
@coveralls
Copy link

coveralls commented Apr 12, 2020

Coverage Status

Coverage increased (+0.09%) to 84.245% when pulling c49b55b on samlaf:master into 6b24bb4 on python-control:master.

Comment on lines 75 to 79
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"m = 4.000000\n",
"J = 0.047500\n",
"r = 0.250000\n",
"g = 9.800000\n",
"c = 0.050000\n"
]
}
],
"execution_count": null,
"metadata": {},
"outputs": [],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@murrayrm
Copy link
Member

I sent a PR with the requested fixes.

add plots + remove some unneeded outputs
@murrayrm murrayrm merged commit 5cb38e0 into python-control:master May 17, 2020
repagh pushed a commit to repagh/python-control that referenced this pull request Jun 9, 2020
…ontrol#390)

* Fixed typo in PVTOL notebook (forgot to divide by m). Also replaced hardcoded image with latex code.

* Removed a lot of the unnecessary decoupling code.  Notebook used to say "Since the python-control package only supports SISO systems, in order to compute the closed loop dynamics, we must extract the dynamics for the lateral and altitude dynamics as individual systems." This is not true anymore. So I simplified the code.  Also added explanations as to what the code is doing and fixed some typos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants