

Once you have successfully completed the Motor and Sensor setup, you should now have several lines of new code at the very top of your Competition Template. An example of a completed Motor setup can be found in the gallery above. IMPORTANT NOTE: You may have to reverse a motor, depending on how it is positioned on the robot.Ĥ. In the "Type" drop-down, select what type of motor or sensor you are using. Enter a name for the motor and/or sensor beside the correct port number. You will have many tabs to choose from, to setup the motor ports, navigate to the "Motors" tab, for Analog Sensors, navigate to the "VEX 2.0 Analog Sensors 1-8" tab, etc.ģ. Go to "Robot > Motors and Sensors Setup"Ģ. Essentially, make sure your robot has at least a chassis with motors on it before you start programming!ġ. If you do not setup these motors, it will be a pain to change all of your motor names in your entire code once that is done. The first thing you should do with any RobotC code, is setup your motors and sensors, so that we can begin to program a drive. If these values are changed incorrectly, your program WILL NOT work! Motor and Sensor Setup: IMPORTANT NOTE: When first opening the Competition Template, do not change ANY values, unless you know EXACTLY what you are doing. To open your first competition template, where we will do all of the programming, go to "File > New > Competition Template". Once this has been selected, we are ready to start programming a competition template! Opening your first Competition Template: To do so, go to "Robot > Platform Type > VEX Robotics > VEX 2.0 Cortex". The first thing we need to do, after activating the license, is to make sure that the proper platform is selected. More information about ROBOTC for VEX Robotics can be found in this document by Robomatter, Inc (PDF).*Click images to enlarge* Selecting the right platform:
#Robotc commands license#
A ROBOTC for VEX Robot Virtual Worlds license is required. ROBOTC also allows you to prototype your code in simulation environments using Robot Virtual Worlds.


Program robots using industry standard C-programming.The easy to use ROBOTC editor includes smart code indenting, automatic code completion, code formatting, and other tools to make programming even easier.Graphical Natural Language mode allows beginners to use simplified commands such as “Forward”, “LineTrack”, and “Repeat” loops.All new Graphical Natural Language editor to easily program VEX IQ and VEX Cortex robots.ROBOTC has a similar look and feel as the programming environments used in the computer science industries, but also includes many useful tools that help beginner programmers to get up and running as quickly as possible:
#Robotc commands software#
Robot programming software options are available with VEX kits and bundles at no extra charge! ROBOTC users learn key skills that easily transition to the real world, industry standard C-Programming languages used by professional engineers and computer scientists. ROBOTC for VEX Robotics 4.x allows users to program both the VEX Cortex and the VEX IQ robotics platforms.
