Presentation is loading. Please wait.

Presentation is loading. Please wait.

Robotics Programming 9/18/2015.

Similar presentations


Presentation on theme: "Robotics Programming 9/18/2015."— Presentation transcript:

1 Robotics Programming 9/18/2015

2 Learning Objectives Improve in your ability to read a program
Improve in write a program in RobotC Determine the relationship between motor power level and distance travelled Determine the relationship between ‘Wait States’ and distance travelled. Investigate the difference between Swing Turns and Point Turns.

3 Dry run the following program

4 Getting Started. You can use your notes to help as needed.
Open a new file Set up the leftMotor in port 1, 393 motor and reversed Setup the rightMotor in port 10, 393 motor Use this robot to complete the SUMO BOT activity from the Movement Challenges.

5 How does Power Level Effect Distance Travelled? Power Level Inv.
Extension: Can you write an equation the defines the relationship between Power and Distance. Read the .pdf for the Power Level Inv. activity in the Movement Challenges. You will investigate the relationship between motor power level and distance traveled. Power Level Inv. Activity from the Movement Challenges. You will record the distances covered when you change the Power Leven and Wait state. (See handout) Create three graphs (for each Wait State) Answer the questions on the Worksheet.

6 Wait State vs. Distance: Wait State Inv.
Read the Specification Document. You will complete the ‘Wait States’ activity Part 1: Run Sample Code Modify times from 500 – 1000 by 100 and observe the effect on distance. Repeat for values 2500 to 3250 by 250. Part 2 Thee attempts at 500 ms. Record distances and calculate average. Predict then test for 500, 1000, 2500 and 3250. Part 3: Find actual averages Three measures, calculate averages 1000, 2500, 3250. Fill in Predicted vs measured distance and calculate averages Part 4: Complete the conclusion questions on the worksheet. Extension: Can you write an equation the defines the relationship between Wait and Distance. How about Power and Wait and distance?


Download ppt "Robotics Programming 9/18/2015."

Similar presentations


Ads by Google