Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to RobotC

Similar presentations


Presentation on theme: "Introduction to RobotC"— Presentation transcript:

1 Introduction to RobotC
Kat Baker July 20-21, 2017 Pages 1-6, for handout Curriculum

2 Outline Download Information Programming Sample Code Resources
Curriculum (videos and handouts)

3 Download Info Full license through 12/31/2017
RobotC for VEX v. 4.x Robot Virtual Worlds Download link and password provided at Kickoff

4 Programming Programming languages range from graphical (Simulink) to text based (RobotC)

5 RobotC

6 RobotC

7 RobotC Sample Code

8 Numerical Values Joysticks Buttons
-127 to 127 (left to right or down to up) Buttons 0 - not pressed 1 - pressed

9 Numerical Values Motors Servos Are on or off
-127 to 127 (negative are backwards) Servos Go to a specific location -127 (furthest counterclockwise) 127 (furthest clockwise) Can’t rotate a full rotation

10 Tank vs. Arcade Drive Tank Drive Arcade Drive
Each wheel controlled separately. Each joystick knob controls a different wheel Arcade Drive One joystick – forwards, back, left, right Wheel motors are programmed to do what you want them to. Need to use BEST_Function_Library.h

11 Resources

12 Resources FIRE Site

13 Resources CMU - Robotics Academy


Download ppt "Introduction to RobotC"

Similar presentations


Ads by Google