4 Challenge – Coping with noise

4 Challenge – Coping with noise

Using the Lollipop background in the simulator, see if you can refine your program (or my program) to complete the challenge of following the line and stopping on the red bar in the presence of increasing levels of sensor and motor noise.

As with many experimental designs, you should try to handle each type of noise individually before adding both forms of noise at the same time.

Trying to solve challenges like this can be both frustrating and time-consuming, so try to keep an eye on the clock and don’t spend too much time trying to complete the challenge.

If you think you have come up with a good solution, then share it on your Cluster group forum.

You should not spend more than 20 to 30 minutes on this challenge.

from nbev3devsim.load_nbev3devwidget import roboSim, eds

%load_ext nbev3devsim

You can add sensor noise in the range 0…128 using the --sensornoise / -N magic flag. Add --motornoise / -M in the range 0…500. View the Noise controls panel using the --noisecontrols / -z flag.

Your design notes…

%%sim_magic_preloaded --background Lollipop --sensornoise 10 --motornoise 20

# YOUR CODE HERE

Your observations regarding the behaviour of your program in the presence of individual and combined forms of noise, and the strategies you used to try to accommodate it.