About 50 results
Open links in new tab
  1. As you type, ROBOTC will try to help you out by coloring the words it recognizes. If a word appears in a different color, it means ROBOTC recognizes it as an important word in the programming language.

  2. startMotor(port8, 63);

  3. if-else Statements with Natural Language The if-else Statement is an expansion of the basic if Statement. The “if” section still checks the condition and runs the appropriate commands when it …

  4. Rules for Variable Types • You must choose a data type that is appropriate for the value you want to store The following is a list of data types most commonly used in ROBOTC:

  5. Once your declare your function, it acts like a new command in the language of ROBOTC. To run the function, simply “call” it by name – remember that its name includes the parentheses – followed by a …

  6. Valid Robot Types for type: none - this will not set up any motors and sensors for you (this is the default.) recbot - sets the motors and sensors to match a default Recbot. swervebot - sets the motors …

  7. Reference While Loops with Natural Language A while loop is a structure within ROBOTC which allows a section of code to be repeated as long as a certain condition remains true. There are three main …

  8. Accessing button values in ROBOTC is very similar to accessing joystick values. The vexRT[] command is still used, but now you use the letters “Btn”, followed by the group number it belongs to, and finally …

  9. Click “Robot” on the top menu bar of the ROBOTC window, and select “Compile and Download Program”. You may be prompted to save your program. If so, save it in the same directory as your …

  10. (Conditions) ir decisions. ROBOTC (conditions) are always Boole n statements. They are always either true or false at any given moment. Try asking yourself the same question the robot does – for …