introduction to robolab programming (1)
TRANSCRIPT
![Page 1: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/1.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 1/21
Introduction to Robolab Programming
![Page 2: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/2.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 2/21
New VI
![Page 3: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/3.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 3/21
Show Functions Palette
![Page 4: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/4.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 4/21
Windom Show Tools Pallette
![Page 5: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/5.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 5/21
Drive For ward 4 Seconds
![Page 6: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/6.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 6/21
The Tower Used to program Robot with
Computer
![Page 7: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/7.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 7/21
Download your program
![Page 8: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/8.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 8/21
Run your Program
Turn ON Select Program
Run Program
![Page 9: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/9.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 9/21
How does a robot turn?
� One wheel for ward, the other off � One wheel for ward, the other r everse
![Page 10: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/10.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 10/21
Program: Go for ward for 2
seconds, stop all motors, spinfor 2 seconds, stop all motors,
r everse for 2 seconds, stop
![Page 11: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/11.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 11/21
![Page 12: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/12.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 12/21
Day T
wo RoboLabProgramming
![Page 13: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/13.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 13/21
Following a line with a light
sensor
Which is brighter, white or black?
![Page 14: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/14.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 14/21
C A
C A
C A
C A
Deriving the
Algorithm
![Page 15: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/15.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 15/21
C A
Following
the Line Animation
![Page 16: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/16.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 16/21
![Page 17: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/17.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 17/21
Follow a line while touch is released, thenback up for 2 seconds
![Page 18: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/18.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 18/21
Extended Topics
� Adding Comments to your code� Powers of motors� Piano player � How the program works� Diff er ent kinds of loops (for, while, do)� Jumps ( GoTo)
![Page 19: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/19.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 19/21
Announce Your Group Name and Your Robot¶s Name
Describe the robot (including light sensor,touch sensor, driving base, motors, gears,
RCX brain, wir es)De
scribe wh
at your group programmed your robot to do (including follow the line with the
light sensor until the touch sensor is pushed)Run the robot
![Page 20: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/20.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 20/21
![Page 21: Introduction to Robolab Programming (1)](https://reader031.vdocuments.site/reader031/viewer/2022020714/5571fbc4497959916995c1f5/html5/thumbnails/21.jpg)
5/8/2018 Introduction to Robolab Programming (1) - slidepdf.com
http://slidepdf.com/reader/full/introduction-to-robolab-programming-1 21/21
Can you pr edict what this might do?