Creative Inventions and Robotics Programming with Robolab By Rebekah Gendron.

8
Creative Inventions and Robotics www.build-it-yourself.com Programming with Robolab By Rebekah Gendron

Transcript of Creative Inventions and Robotics Programming with Robolab By Rebekah Gendron.

Page 1: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

Creative Inventions and Robotics

www.build-it-yourself.com

Programming with Robolab

By Rebekah Gendron

Page 2: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

Programming is writing a set of

directions for your robot to follow.

You will be writing . . . A

programming story!. . . and all writers need the proper tools to work with!

www.build-it-yourself.com

Page 3: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

This is the Tools Palette(Your writing instruments)

Wiring Tool

Position/Select Tool

Change Value Tool

Set Color Tool

Text Tool

Scroll Tool

www.build-it-yourself.com

Page 4: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

This is the Functions Palette(The “words” for your story)

4 Sub-Menus

Begin End

StructuresSub-Menu

Wait ForSub-Menu Modifiers

Sub-Menuwww.build-it-yourself.com

Page 5: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

Writing a Simple Programming Story

The wiring tool connects each word together to make the story complete!

1. 2. 3. 4. 5.

1. Once Upon a Time2. Motor A turned on Full Power

3. It waited until a Touch Sensor on Port 3 was pushed4. Then Motor A turned off

5. The End

www.build-it-yourself.com

Page 6: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

Wiring TipsEnd Begi

n

Start with your 2 FunctionsRemember to wire each

function separately

1 2

3

Click your Wire Tool on the topright corner of the 1st function

4

Move your Wire Tool to the topleft corner of the 2nd functionand click to complete the wire

BROKEN WIRES must be removed or the program won’t workYou can remove the broken wires in “EDIT” or by typing CTRL + B

www.build-it-yourself.com

Page 7: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

The Wait For Sub-MenuThe Wait For Sub-Menu

If you want to program your robot to wait for an action before it proceeds

then you will need to use:

Wait For Time

Wait For Touch

Wait For Light

www.build-it-yourself.com

Page 8: Creative Inventions and Robotics  Programming with Robolab By Rebekah Gendron.

Here’s a program that will continually turn two motors on and

off.

Wait for Touch and Wait for Timeare found in the Wait For Sub-Menu

Jump and Land lets the program loop back around foreverJump and Land are found in the Structures Sub-Menu

JumpLand

www.build-it-yourself.com