kate lester and nancy chaffer term 2, 2010 pcs tpl *powerpoint modified from mark lockett’s...

11
Kate Lester and Nancy Cha Term 2, 2010 P *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Prog

Upload: cecil-riley

Post on 18-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Kate Lester and Nancy ChafferTerm 2, 2010 PCS TPL

*Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Page 2: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Introduction to Pro-Bot Programming

What is a Probot? Care of Probot Pens Basic commands Repeat commands Sub Programs – procedures, sensors,

pause command, move on a signal eg hand clap

Procedures Proc 1-32

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 3: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

The Pro-Bot is the 'big brother' of the Bee-Bot and allows more complex programming involving

•Programmable distances;•Degrees of turn; and•Use of sensors.

It includes a simple pen mechanism and a standard connector texta that can be used to draw routes and reflect upon and record progress.

The Pro-Bot•Reinforces concepts across 2D Space sub-strands •Gives students the opportunity to apply positional language and extend everyday vocabulary; and•Encourages small group skills.

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 4: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Pro-Bot

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 5: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Pro-Bot

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 6: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

By default, pressing or moves the Pro-Bot forwards or backwards 25cm and pressing or makes the Pro-Bot do a 90º turn.

Try this program:

Press Go and the Pro-Bot will trace out a ??

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 7: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Forward FdRight turn RtRepeat Rpt Rpt[Back BkLeft turn LtPause Ps Pause

If you want to stop the Pro-Bot when it is going, press the Go button again.

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 8: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

Use the scroll keys located next to the menu key to edit your program.

To insert a command in between two commands, move the cursor onto the command you want to insert after, then type the new command.

To delete a command press the Clear key. Pressing Clear will only delete the last key pressed on each line.

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 9: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

To simplify typing in commands, you can use the Rpt[ key.

To draw a square, you can set the Pro-Bot to draw one side of the square then turn 90º but do this 4 times.

Rpt[ 4 ] The number you press is how many

times the action within the brackets is repeated.

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 10: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

To change the distance enter the required cm after the key eg 40 (40cm straight ahead)

To change the angle, press 30 (a 30º turn to the left)

Repeat commands for a triangle:Rpt[ 3 10 120 ]

Repeat commands for a ?Rpt[ 6 10 60 ]

Repeat commands for a circle:Rpt[ 36 1 10 ]

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010

Page 11: Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming

http://robotics.ictcentre.wikispaces.net/probots

..\ICT\PROBOTS\110609probots[1].notebook

..\ICT\PROBOTS\260509pobotsoftware[1].notebook

Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010