Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bot Shop Jane Taylor Dee Wallace Robot C For Vex.

Similar presentations


Presentation on theme: "Bot Shop Jane Taylor Dee Wallace Robot C For Vex."— Presentation transcript:

1 Bot Shop Jane Taylor Dee Wallace Robot C For Vex

2

3 Thinking about programming What is the job of the human? What is the job of the machine? What is a program?

4

5 Planning Behaviors Review What is a behavior? What is the difference between a simple and complex behavior? What is the first step to begin programming? What is pseudo code?

6

7 Programming Syntax Rules Review What does a compiler do? What is a statement? How can you identify a statement? How are statements run? What is white space? Why does a programmer use newlines, spaces, and tabs?

8

9 Programming Syntax Rules Review What does a punctuation pair do? What punctuation pair designates a control structure? What is task main()? What is a comment? How does ROBOTC help the programmer? What parts of the programming language a used specifically for the programmer?

10

11 Firmware What is firmware? Can you use the same firmware if you change programming languages? How do you change firmware? What do you do if you find more than one firmware in the download section of ROBOTC?

12

13 Downloading a sample program How do you download a sample program? What if you want to modify and then save a sample program?

14

15 First program What is task main()? How are structures defined? How are statements defined? What does motor[motorc] = 100; do? What does wait1Msec do?

16

17

18 Power Level Challenge In this investigation you are asked identify the relationship between motor power level and distance traveled. Determine the relationship by programming your robot to run at ¼, ½, ¾ and full power levels for 1, 3, and 5 seconds. Complete the chart as you run your tests.

19

20 Swing Turn Pseudocode 1. Power motor 2 in the forward direction for an amount of time 2. Apply no power (or brake) motor 3 for an amount of time 3. Turn both motors off Point Turn Pseudocode 1. Power motor 2 in the forward direction for an amount of time 2. Power motor 3 in the reverse direction for an amount of time 3. Turn both motors off Turning Investigation

21

22 Program the robot so that it can drive from one end to the other without bumping a single can or object. The robot that can travel the farthest down the driveway without hitting a cone is the winner. Driving Straight Challenge

23 Questions


Download ppt "Bot Shop Jane Taylor Dee Wallace Robot C For Vex."

Similar presentations


Ads by Google