The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.
Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by feigenbaumel, 2022-09-06 16:10:23

Unit 8: Continuous Decisions

Continuous Decisions

Making
Continous
Decisions

In this unit, you will program
your robot to detect and
avoid obstacles!

Review of

















Lesson 1: In this lesson, you will use continuous
Obstacle Detection decisions behavior to detect obstacles

Obstacle Detection Failures

• The task of obstacle detection is
simple: move a certain distance
without hitting anything.

• There are many ways of thinking
about obstacle detection that seem
to make sense but actually don’t
work.

• The code shown here is a common
obstacle detection mistake.

Common Mistakes

This program clearly doesn’t work - and it shouldn't if you think
about it.
In this program, we told the robot to go forward for 600mm -=
and it did.
The "drive [forward] for 600mm" block had the program's full
attention for all 600mm, leaving it no way to get to any blocks that
would even attempt to check the Distance Sensor.

Cobot Assist
Challenge

Line Tracking
Challenge

Obstacle Line Tracking
Challenge


Click to View FlipBook Version