Skip to content

Commit 23d98cb

Browse files
Fix additional grammar issues in notebooks
Co-authored-by: liammcalpineduckietown <[email protected]>
1 parent 0f863c1 commit 23d98cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

notebooks/01-Image-Manipulation/braitenberg01.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
32-
"First though, we need to do some setup work. This sets up autoreloading of code in external files and loads packages we will need later."
32+
"First, though, we need to do some setup work. This sets up autoreloading of code in external files and loads packages we will need later."
3333
]
3434
},
3535
{

notebooks/03-Braitenberg/braitenberg03.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"cell_type": "markdown",
142142
"metadata": {},
143143
"source": [
144-
"The following code will run the algorithm against some test images.\n\nNote that it is not really possible to test such an algorithm on passive data. We need to run it!\n\nStill, it is useful to see how your matrices are used. We simply multiply them with the preprocessed image\n(the image that now only has non-zero pixel values where there are duckies). Then, we look at the sign of the result for\neach matrix, and this is what decides which control values get sent to the motors.\n\nThink about how to value your matrices such that the sign of their multiplication's results is a good control rule for your motors."
144+
"The following code will run the algorithm against some test images.\n\nNote that it is not really possible to test such an algorithm on passive data. We need to run it!\n\nStill, it is useful to see how your matrices are used. We simply multiply them with the preprocessed image\n(the image that now only has non-zero pixel values where there are duckies). Then, we look at the sign of the result for\neach matrix, and this is what decides which control values get sent to the motors.\n\nThink about how to value your matrices such that the sign of their multiplication results is a good control rule for your motors."
145145
]
146146
},
147147
{
@@ -191,7 +191,7 @@
191191
"cell_type": "markdown",
192192
"metadata": {},
193193
"source": [
194-
"Consider the agent that we gave you as a starting point - feel free to explore with using different code in [agent.py](../../packages/braitenberg_agent/agent.py). You may need to tune the `gain` and `const` values in the `BraitenbergAgentConfig` class to fit your agent and Duckiebot. Pay attention to use a combination of `gain` and `const` values in such a way that the motor inputs fall within the range of -1 to 1, otherwise you may encounter a `ValueError`."
194+
"Consider the agent that we gave you as a starting point - feel free to explore using different code in [agent.py](../../packages/braitenberg_agent/agent.py). You may need to tune the `gain` and `const` values in the `BraitenbergAgentConfig` class to fit your agent and Duckiebot. Make sure to use a combination of `gain` and `const` values in such a way that the motor inputs fall within the range of -1 to 1, otherwise you may encounter a `ValueError`."
195195
]
196196
}
197197
],

0 commit comments

Comments
 (0)