Professional Documents
Culture Documents
ISN’T IT WORKING?”
BASIC PROGRAMMING WORKFLOW MODEL
AS OUTLINED BY EVELYN LINDBERG • It’s fairly rare that a program of any length
runs correctly the very first time. It may
1. Create Program (initial
effectively run correctly with all the correct
instructions / connected
robotic moves, but not necessarily in ways
programming blocks)
intended, or even expected. A myriad of
2. Test/Run the Program
things can be slightly off to make your robot
3. Experience the eternal question:
be, well, slightly off. Any result other than
“Why isn’t it working?”
exactly what you had in mind, needs
4. Modify Program
debugging, or tweaking.
5. Rinse and Repeat steps 2 thru 4 as
necessary MODIFY PROGRAM
CREATE PROGRAM (INITIAL INSTRUCTIONS / • This is something you come to expect and,
CONNECTED PROGRAMMING BLOCKS) in many ways, it can be the fun part…or not.
But as mentioned earlier, the EV3
• In EV3 terms, this means connecting
programming provides several clues as to
Programming Blocks together that we hope
where that undesirable outcome occurred in
work in concert with each other for a desired
the programming. It’s just a matter of
outcome. For us, as we think about
recognizing the signs and modifying where
programming our robot to do specific tasks, it
needed.
might look something like this.
RINSE AND REPEAT STEPS 2 THRU 4 AS
a. Follow a line to an obstacle.
NECESSARY
b. Stop at the obstacle and grab it.
• Eventually, victory will reign, and you’ll be
c. Backup in an arc then stop. able to skip this step #5. But until your robots
programming works exactly as intended,
d. Release the obstacle and make a victory Rinse and Repeat is the name of the game.
noise
Color Sensor
Color Mode
The Color Sensor recognizes seven
colors—black, blue, green, yellow,
red, white, and brown— plus No
Color.
Released Mode
Pressed Mode
Bumped Mode