Introduction to RobotC

Slides:



Advertisements
Similar presentations
ROBOTC for CORTEX While Loops Part 1
Advertisements

Simulink Support for VEX Cortex BEST Robotics 2013 Sandeep Hiremath
VEX and Robot C Chris Patterson Presented by Modified by J. Andazola.
Developed in collaboration with Introduction to Programming.
J.M. Gabrielse VEX Drive Trains. J.M. Gabrielse Drive Trains Vocabulary Skid Steering (Tank Drive) Swerve Drive Holonomic (Omni) Drive Mecanum Drive.
V EX C OACHES ' T RAINING October 12, Agenda for Today 9 – 10 AM : Tina Reeves and the Engineering Notebook 10 – Noon : Finish Building, Basic Robot.
Teacher/Mentor Institute Robot Kit Familiarization Carolyn Bauer July 21-22, 2014.
Copyright Carnegie Mellon Robotics Academy all rights reserved Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Wheel Size Matters: Programmed Rotations.
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
ROBOTC for VEX Online Professional Development
IntelliBrain-Bot An Introduction to Robotics and Java Programming.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Coding for the FIRST Tech Challenge: RobotC
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Introduction to the VEX ® Robotics Platform and ROBOTC Software © 2012 Project Lead The Way, Inc.Principles of Engineering.
Teacher/Mentor Institute Using easyC Joel Kirkland July 30-31, 2015.
Robot C Set-up FTC Clinic Nov Patrick Michaud & RobotC Curriculum
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
1 Simulink Support for VEX Cortex BEST Robotics 2012 Sandeep Hiremath.
Java Programming The Ponytail Posse - FTC #8808 9/12/15.
Introduction to Vexnet
Getting Started in RobotC // Comment task main() motor[] {} wait1Msec() ; = Header Code Compile Download Run Take out your notes.
Digital Electronics The Boe-Bot and Servo Motors.
Teacher/Mentor Institute Using easyC David Dominguez June 2, 2015 Update Version.
PROMGRAMING YOUR ROBOT How Servos Work: How to control your robot.
First glance of robotics course (VPL) Young Joon Kim MSRDS First Beginner Course – STEP3.
VEX Drive Trains.
VEX Drive Trains.
Automated Mechanisms Help. Potentiometers Potentiometer Check –Analog Port 2 How they work –Analog sensor –Measures rotation of a shaft between 0 and.
Teacher/Mentor Institute Introduction to Firmware and Software Dr. Judith D. Schlesinger July 30-31, 2015.
By Joshua Shaw.  Now that we have a program, we should see how it works in the real world  To do this we need the Cortex and the orange USB cable 
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
Unit 1 - Introduction to VEX Robotics
Bot Shop Jane Taylor Dee Wallace Robot C For Vex.
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
Programming Applied Sensors in FIRST Robots Chris Elston – Team Download sample code:
Teacher/Mentor Institute Intro to easyC Programming Scott McEwen July 21-22, 2016.
Adding the Cortex and Testing Lesson 03. OBJECTIVES FOR TODAY By the end of this lesson you will be able to: Complete construction of the VEX Clawbot.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Openers Robotics Questions to discuss, write down and turn in.
Robotics Education & Competition Foundation
After Construction Name: Per #:.
Project Overview Introduction Clawbot Build Design Modification
Introduction to Vexnet
BEST Robotic, Inc. MATLAB/Simulink Team Training
Introduction to Programming in RobotC
Bee-Bot.
Introduction to Programming
ROBOTC for VEX Online Professional Development
VEX Drive Trains.
Mindstorm Robots 4th Grade Lesson 1.
VEX Motors & Servos J.M. Gabrielse.
StartStruck in a Virtual World
StarStruck in a Virtual World: Fantasticbot Version
Basics for Robotics Programming
PROMGRAMING YOUR ROBOT
VEX Motors & Servos J.M. Gabrielse.
Controlling YOUR ROBOT
Getting Started in RobotC
Programming a Servo By Joshua Shaw.
Simulink Support for VEX Cortex BEST Robotics Sandeep Hiremath
Which way does the robot have to turn to get to the charger?
Using a Drawing Robot to Make Angles (Using Rotations)
1.15: Dual Joystick Control (Tank)
First glance of robotics course (SPL)
Using a Drawing Robot to Make Angles (Using Rotations)
Created by: C. Sjolander July 22, 2014
Introduction to Programing the Cortex for BEST
Presentation transcript:

Introduction to RobotC Kat Baker July 20-21, 2017 http://www.education.rec.ri.cmu.edu/products/teaching_robotc_cortex/setup/sample/download_sample.pdf?_ga=2.74954130.1076178490.1499877651-809733495.1495677984 Pages 1-6, 12-13 for handout http://www.education.rec.ri.cmu.edu/products/teaching_robotc_vex/ Curriculum

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

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

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

RobotC

RobotC

RobotC Sample Code

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

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

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

Resources

Resources FIRE Site

Resources CMU - Robotics Academy