You should always consult the Functions Explorers. Most of them are listed in the TMotorTypes or In this tutorial, only the most commonly used APIs and basic tools are covered in this tutorial.
38 THINGS WILL CHANGE YOUR TUNING FACTORS 38 RobotC for VEX-IQ Computational Thinking and Engineering For Kids 4 | P a g e There are over hundreds of APIs.ģ You should look into the Functions Explorers and their help windows to explore them. 32 TARGET POWER (TP) 33 TARGET VALUE (TVAL) 34 PROPORTIONAL FACTOR (KP) 34 INTEGRAL FACTOR (KI) 34 DERIVATIVE FACTOR (KD) 36 Steps to tune 37 STEP 1) TUNE THE KP FIRST.
RobotC for VEX-IQ Computational Thinking and Engineering For Kids 6 | P a g e The following preprocessor directives will be inserted at the top of your program:ġ RobotC for VEX-IQ Computational Thinking and Engineering For Kids 1 | P a g e Date: August of 2014 Properties of Storming Robots - An introduction to programming in RobotC using VEX-IQ hardware RobotC for VEX-IQ Computational Thinking and Engineering For Kids 2 | P a g e Before You Start 4 SCOPE 4 BACKGROUND NEEDED: 4 DOWNLOAD FIRMWARE 4 Chatper 1 - Using the Configuration Tool 5 Chapter 2 - Debugging 7 USING THE LCD DISPLAY 7 USING SOUND 7 USING THE DEBUGGER 7 WATCH IT STEP BY STEP 8 WARM UP - CHALLENGE 10 Chapter 3 - Motors 13 ) KNOW YOUR DEVICE 13 ) MOST COMMONLY USED FUNCTIONS 13 ) CODE SAMPLE SEGMENT 14 Chapter 4 - Bumper Sensor 15 ) KNOW YOUR SENSOR 15 ) MOST COMMONLY USED FUNCTIONS 15 ) CODE EXAMPLE SEGMENT15 Chapter 5 - Touch LED Sensor 16 Chapter 6 - Color Sensor 17 ) KNOW THE SENSOR 17 TO CONFIGURE TO GRAYSCALE - SENSORVEXIQ_COLORGRAYSCALE 17 TO CONFIGURE TO COLOR HUE - SENSORVEXIQ_COLORHUE 18 TO CONFIGURE TO COLOR HUE - SENSORVEXIQ_COLOR12 COLOR 18 ) MOST COMMONLY USED FUNCTIONS 19 ) CODE SAMPLE SEGMENT 20 Chapter 7 - Distance Sensor 21 )Ģ KNOW THE SENSOR 21 ) MOST COMMONLY USED FUNCTIONS 21 ) CODE SAMPLE SEGMENT 23 ) OTHER APIS 23 Chapter 8 - Gyro Sensor 24 ) KNOW YOUR SENSOR 24 ) MOST COMMONLY USED FUNCTIONS 25 ) GYRO SENSOR CODE SAMPLE 26 Chapter 9 Motor Encoder 27 ) KNOW YOUR DEVICE 27 ) MOST COMMONLY USED FUNCTIONS 27 RobotC for VEX-IQ Computational Thinking and Engineering For Kids 3 | P a g e ) CODE SEGMENT SAMPLE 30 Chapter 10 Feedback Control (PID) 31 Fundamentals of PID Controller 32 Using PID Algorithm. RobotC for VEX-IQ Computational Thinking and Engineering For Kids 1 | P a g e Date: August of 2014 Properties of Storming Robots - An introduction to programming in RobotC using VEX-IQ hardware RobotC for VEX-IQ Computational Thinking and Engineering For Kids 2 | P a g e Before You Start 4 SCOPE 4 BACKGROUND NEEDED: 4 DOWNLOAD FIRMWARE 4 Chatper 1 - Using the Configuration Tool 5 Chapter 2 - Debugging 7 USING THE LCD DISPLAY 7 USING SOUND 7 USING THE DEBUGGER 7 WATCH IT STEP BY STEP 8 WARM UP - CHALLENGE 10 Chapter 3 - Motors 13 ) KNOW YOUR DEVICE 13 ) MOST COMMONLY USED FUNCTIONS 13 ) CODE SAMPLE SEGMENT 14 Chapter 4 - Bumper Sensor 15 ) KNOW YOUR SENSOR 15 ) MOST COMMONLY USED FUNCTIONS 15 ) CODE EXAMPLE SEGMENT15 Chapter 5 - Touch LED Sensor 16 Chapter 6 - Color Sensor 17 ) KNOW THE SENSOR 17 TO CONFIGURE TO GRAYSCALE - SENSORVEXIQ_COLORGRAYSCALE 17 TO CONFIGURE TO COLOR HUE - SENSORVEXIQ_COLORHUE 18 TO CONFIGURE TO COLOR HUE - SENSORVEXIQ_COLOR12 COLOR 18 ) MOST COMMONLY USED FUNCTIONS 19 ) CODE SAMPLE SEGMENT 20 Chapter 7 - Distance Sensor 21 )
Example: confidence Search RobotC for VEX-IQ - Storming Robots