

- #ROBOTC PROGRAMMING EXAMPLES HOW TO#
- #ROBOTC PROGRAMMING EXAMPLES UPGRADE#
- #ROBOTC PROGRAMMING EXAMPLES DOWNLOAD#
Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
#ROBOTC PROGRAMMING EXAMPLES DOWNLOAD#
Compile, download and run the program again.
#ROBOTC PROGRAMMING EXAMPLES HOW TO#
Encourage students to read the error descriptions for suggestions on how to fix their program.Introduction to ROBOTC GTT - AR Unit 2 – Lesson 2.3 – Automated Systems Compile and Download the Program Run the Program – observe the motor starting and stopping based on pressing the switches. Edit the program to start when a pushbutton switch is pressed and stop when a limit switch is pressed.Connect the Cortex to the Computer (via USB) Turn on the Cortex Go to Robot > Compile and Download Program Run the program – Observe the motor turn on and off and reverse.For this demonstration: RightMotor – port2 LimitSwitch – dgtl1 BumpSwitch – dgtl2 LED – dgtl12 Presentation Name Course Name Unit # – Lesson #.# – Lesson Name.An additional benefit is that it can be translated into different programming languages and is therefore somewhat universal Introduction to ROBOTC GTT - AR Unit 2 – Lesson 2.3 – Automated Systems Helps in the initial planning of a program, by creating the logical framework and sequence of the code. Additional Details: Pseudocode is used to outline a program before translating it into proper syntax.Students should describe the task in their own words. Complete heading information – Teachers may alter this to meet their specifications. If necessary save to each individual students directory within the group in case the primary computer engineer is absent from class. Students need to get in the habit of completing the template in this order: Save As and Rename to their own directory immediately with the name of the project. Explain the different pieces of the template.The steps should be: Open ROBOTC Verify the Platform Type is set to Natural Language and the Download using USB option is on Open the Sample Program, PLTW Folder, PLTWtemplate Demonstrate, then have students connect a motor to the Cortex (you may want to add an axle, gear and standoff to help see what’s happening) Remind students if they have a 2 wire motor they can connect to Ports 1 and 10 only. Teacher Notes: This slide is meant to be a class activity, for students to actually get some guided experience with the ROBOTC interface, ROBOTC Commands, Cortex system, etc.

Student teams may also have a VEX test bed to work with. Teacher should create a VEX test bed for demonstration purposes.The program, ROBOTC, totally ignores the comments as long as the symbols are present. Single line and multi-line comments give important information to the programmer and others who read the program and need to understand the logic.See additional slides in Connecting VEX to ROBOTC.ppt if necessary.GTT kits do not include Servo motors – so make sure students do not use that option.Students must get used to using the PLTW template for all of their programs.

#ROBOTC PROGRAMMING EXAMPLES UPGRADE#
Unless you upgrade your GTT kit you will always use the Download using USB only.
