Skip to content

Commit 833565b

Browse files
Fix typos, grammar issues, and UK English compliance
Spelling fixes across all notebooks and markdown files: - instanteated/instanted -> instantiated - shorthanded -> shorthand - extremelly -> extremely - homogenous -> homogeneous - lenghts -> lengths - reacheable -> reachable - programatically -> programmatically - pseudo-invese -> pseudo-inverse - embbed -> embed - milisecond -> millisecond - pratice -> practice - simultenously -> simultaneously - forth -> fourth (ordinal number context) - pre-requisites -> prerequisites Grammar fixes: - can computed -> can be computed - operations matter -> operations matters - a list of list -> a list of lists UK English compliance: - behavior -> behaviour - modeled -> modelled - modeling -> modelling
1 parent 91f8497 commit 833565b

12 files changed

Lines changed: 382 additions & 425 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ The content shown in this work is based on my own expert knowledge (and interpre
6262

6363
## Contents
6464

65-
- [The Basics of Kinematic Modeling and Control of Serial-link Manipulators Using `numpy`](basic_lessons/README.md).
66-
- [Kinematic modeling and control of serial-link robotic manipulators using `dqrobotics`: From zero to hero.](other/dqrobotics).
65+
- [The Basics of Kinematic Modelling and Control of Serial-link Manipulators Using `numpy`](basic_lessons/README.md).
66+
- [Kinematic modelling and control of serial-link robotic manipulators using `dqrobotics`: From zero to hero.](other/dqrobotics).
6767

6868

6969

basic_lessons/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The Basics of Kinematic Modeling and Control of Serial-link Manipulators Using `numpy`
1+
# The Basics of Kinematic Modelling and Control of Serial-link Manipulators Using `numpy`
22

33
In this five-lesson tutorial, we start from the very basics of scalar and matricial operations in Python using `numpy`,
44
all the way until the basics of kinematic control. Until kinematic control, most is based on [@spong2020robot].

basic_lessons/lesson1_exercise_answers.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@
154154
},
155155
"nbformat": 4,
156156
"nbformat_minor": 2
157-
}
157+
}

basic_lessons/lesson1_tutorial.ipynb

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# L1 A quick Python refresher\n",
8-
"\n",
9-
"*License: CC-BY-NC-SA 4.0*\n",
10-
"\n",
11-
"*Author: Murilo M. Marinho (murilo.marinho@manchester.ac.uk)*\n",
12-
"\n",
13-
"### Pre-requisites\n",
14-
"The user of this notebook is expected to have prior knowledge in\n",
15-
"- Basic Python [[Tutorial]](https://docs.python.org/3/tutorial/index.html)\n",
16-
"- Numpy \n",
17-
" - [[Tutorial: basics for beginners]](https://numpy.org/doc/stable/user/absolute_beginners.html)\n",
18-
" - [[Tutorial: for MATLAB users]](https://numpy.org/doc/stable/user/numpy-for-matlab-users.html)\n",
19-
"- Jupyter Notebook Basics [[Tutorial]](https://docs.jupyter.org/en/latest/)\n",
20-
"\n",
21-
"### I found an issue\n",
22-
"Thank you! Please report it at https://github.com/MarinhoLab/OpenExecutableBooksRobotics/issues\n",
23-
"\n",
7+
"# L1 A quick Python refresher",
8+
"",
9+
"*License: CC-BY-NC-SA 4.0*",
10+
"",
11+
"*Author: Murilo M. Marinho (murilo.marinho@manchester.ac.uk)*",
12+
"",
13+
"### Prerequisites",
14+
"The user of this notebook is expected to have prior knowledge in",
15+
"- Basic Python [[Tutorial]](https://docs.python.org/3/tutorial/index.html)",
16+
"- Numpy ",
17+
" - [[Tutorial: basics for beginners]](https://numpy.org/doc/stable/user/absolute_beginners.html)",
18+
" - [[Tutorial: for MATLAB users]](https://numpy.org/doc/stable/user/numpy-for-matlab-users.html)",
19+
"- Jupyter Notebook Basics [[Tutorial]](https://docs.jupyter.org/en/latest/)",
20+
"",
21+
"### I found an issue",
22+
"Thank you! Please report it at https://github.com/MarinhoLab/OpenExecutableBooksRobotics/issues",
23+
"",
2424
"### Latex Macros"
2525
]
2626
},
@@ -309,19 +309,19 @@
309309
"cell_type": "markdown",
310310
"metadata": {},
311311
"source": [
312-
"### n-th root\n",
313-
"The nth root,\n",
314-
"\n",
315-
"$$c= \\sqrt[n]{a}, n \\in \\mathbb{N},$$\n",
316-
"\n",
317-
"does not seem to have a shorthanded version in Python, but can computed through simple properties such as\n",
318-
"\n",
319-
"$$c = \\sqrt[n]{a} = a^{\\frac{1}{n}} = e^{\\frac{ln(a)}{n}}.$$\n",
320-
"\n",
321-
"For example, suppose that\n",
322-
"\n",
323-
"$$n = 3.$$ \n",
324-
"\n",
312+
"### n-th root",
313+
"The nth root,",
314+
"",
315+
"$$c= \\sqrt[n]{a}, n \\in \\mathbb{N},$$",
316+
"",
317+
"does not seem to have a shorthand version in Python, but can be computed through simple properties such as",
318+
"",
319+
"$$c = \\sqrt[n]{a} = a^{\\frac{1}{n}} = e^{\\frac{ln(a)}{n}}.$$",
320+
"",
321+
"For example, suppose that",
322+
"",
323+
"$$n = 3.$$ ",
324+
"",
325325
"Then,"
326326
]
327327
},
@@ -471,12 +471,12 @@
471471
"cell_type": "markdown",
472472
"metadata": {},
473473
"source": [
474-
"### Instantiating vectors\n",
475-
"A row vector can be instanteated from a list of list. For instance, for \n",
476-
"$$\\myvec{v} = \\left[\\begin{array}{ccc}\n",
477-
" 1 & 2 \n",
478-
" \\end{array}\\right],\n",
479-
"$$ \n",
474+
"### Instantiating vectors",
475+
"A row vector can be instantiated from a list of lists. For instance, for ",
476+
"$$\\myvec{v} = \\left[\\begin{array}{ccc}",
477+
" 1 & 2 ",
478+
" \\end{array}\\right],",
479+
"$$ ",
480480
"we have"
481481
]
482482
},
@@ -504,11 +504,11 @@
504504
"cell_type": "markdown",
505505
"metadata": {},
506506
"source": [
507-
"A column vector can be instanted from a list of singleton *lists*. For instance, for \n",
508-
"$$\\myvec{u} = \\left[\\begin{array}{ccc}\n",
509-
" 1 \\\\\n",
510-
" 2\n",
511-
" \\end{array}\\right],$$ \n",
507+
"A column vector can be instantiated from a list of singleton *lists*. For instance, for ",
508+
"$$\\myvec{u} = \\left[\\begin{array}{ccc}",
509+
" 1 \\\\",
510+
" 2",
511+
" \\end{array}\\right],$$ ",
512512
"we have"
513513
]
514514
},
@@ -886,18 +886,18 @@
886886
"cell_type": "markdown",
887887
"metadata": {},
888888
"source": [
889-
"### Diagonal matrices\n",
890-
"\n",
891-
"Diagonal matrices get increasingly sparse with size, so it is important to have shorthanded commands for creating them. For instance, suppose that we have the following diagonal matrix\n",
892-
"\n",
893-
"$$\\mymatrix{D} = \\left[\\begin{array}{ccc}\n",
894-
" 1 & 0 & 0 \\\\\n",
895-
" 0 & 2 & 0 \\\\\n",
896-
" 0 & 0 & 3 \n",
897-
" \\end{array}\\right] ,\n",
898-
"$$\n",
899-
"\n",
900-
"this can be instanteated in `numpy` with"
889+
"### Diagonal matrices",
890+
"",
891+
"Diagonal matrices get increasingly sparse with size, so it is important to have shorthand commands for creating them. For instance, suppose that we have the following diagonal matrix",
892+
"",
893+
"$$\\mymatrix{D} = \\left[\\begin{array}{ccc}",
894+
" 1 & 0 & 0 \\\\",
895+
" 0 & 2 & 0 \\\\",
896+
" 0 & 0 & 3 ",
897+
" \\end{array}\\right] ,",
898+
"$$",
899+
"",
900+
"this can be instantiated in `numpy` with"
901901
]
902902
},
903903
{
@@ -925,18 +925,18 @@
925925
"cell_type": "markdown",
926926
"metadata": {},
927927
"source": [
928-
"### Identity matrix\n",
929-
"\n",
930-
"Among frequently used diagonal matrices, the identity matrix appears frequently. For instance, \n",
931-
"\n",
932-
"$$ \\mymatrix{I}_3 = \\left[\\begin{array}{ccc}\n",
933-
" 1 & 0 & 0 \\\\\n",
934-
" 0 & 1 & 0 \\\\\n",
935-
" 0 & 0 & 1 \n",
936-
" \\end{array}\\right],\n",
937-
"$$ \n",
938-
"\n",
939-
"can be instanteated in `numpy` with"
928+
"### Identity matrix",
929+
"",
930+
"Among frequently used diagonal matrices, the identity matrix appears frequently. For instance, ",
931+
"",
932+
"$$ \\mymatrix{I}_3 = \\left[\\begin{array}{ccc}",
933+
" 1 & 0 & 0 \\\\",
934+
" 0 & 1 & 0 \\\\",
935+
" 0 & 0 & 1 ",
936+
" \\end{array}\\right],",
937+
"$$ ",
938+
"",
939+
"can be instantiated in `numpy` with"
940940
]
941941
},
942942
{
@@ -1077,4 +1077,4 @@
10771077
},
10781078
"nbformat": 4,
10791079
"nbformat_minor": 2
1080-
}
1080+
}

basic_lessons/lesson2_exercise_answers.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@
228228
{
229229
"metadata": {},
230230
"cell_type": "markdown",
231-
"source": "`H_c` is *not* the same as `H_d`. This indicates that the order of operations matter. That is, sequential pose transformations are not commutative."
231+
"source": [
232+
"`H_c` is *not* the same as `H_d`. This indicates that the order of operations matters. That is, sequential pose transformations are not commutative."
233+
]
232234
},
233235
{
234236
"metadata": {},
@@ -329,4 +331,4 @@
329331
},
330332
"nbformat": 4,
331333
"nbformat_minor": 2
332-
}
334+
}

0 commit comments

Comments
 (0)