Go and configure this for your robot so that we can continue further. 'Okay' and now we have the configurations for 'left_motor' on port 2 and 'right_motor' on port 3. And 'right_motor' is the motor connected on port 3. And here we can even give a name for our motors for example 'left_motor' is the motor connected on port 2. A couple of other things for the configurations as you see here we have some magic numbers and some configurations. And this is the configuration that we need to do. In a moment when I have the motor on the camera I'll show you further why we have this motor in reverse. And the motor that we chose to have in reverse is the motor connected on port 2. Its starting out as a ROBOTC Programming tutorial for my Elementary robotics team that just finished their VEX IQ season. We must have one of the motors in reverse. And this is the way our construction is constructed. But if you click 'okay' now you'd miss one important part.
Then select them and now you have the configuration for the software. So, you might have different motors just check them and see which motors you have. And on port 2 we must select the motor that we have currently.
And we have our motors connected on port 2 and port 3. Currently the tap that's called 'Motor' is selected. We click on this and here we have all the different taps. We start the ROBOTC program as you've seen in previous videos and in this menu here we have a button 'Motor and Sensor Setup'. Your robot should move forward.After we attach the motors to the controller we must configure the controller in the software. Press the Play Button (labeled #3) and you should see a VEX IQ Field with 3 green cubes and a Clawbot robot.Ĭhange the view to Camera 2 and Hit Play. That the Training Table is Basic Movement 1 (do this by clicking the Training Circle, also labeled #2).We want to log in locally as a Guest (for now):įrom the Home Screen we need to verify a two things:
ROBOTC TUTORIALS DOWNLOAD
Hint: If you look at the highlighted menu item, on the right you’ll see F5, that’s the Keyboard Shortcut for Compile and Download Program.Īfter the program compiles it will bring up the Robot Virtual Worlds login window. Choosing the Robot menu item, then choosing Compile and Download Program.Like many things, there are at least two ways you can compile and download the program to the virtual robot: For students, this would be in your student directory under your Teacher’s directory (or folder). Select Save As… and choose a place to save the file. Hint: the two “thumb tacks” I’m pointing to in the screenshot will “un-pin” the panels and let them autohide to give you more space in the editor.Īt this point we need to save our program somewhere else so ROBOTC doesn’t complain we’re trying to overwrite the sample program. If no distance is specified, use one of the 'stop' or 'until' functions to stop the robot. (with example parameter) Sets the level of power for the global variable called 'powerLevel'. So we should be able to Compile, Download and Run the program. The RobotC Functions for the Fall 2015 season.
ROBOTC TUTORIALS DRIVER
This will give access to additional options in the preferences, which are needed to use the Driver Suite. This should create the following folder structure under C:Programming 2.2 Setting up ROBOTC Navigate to the Menu Level option in the Window menu and select Expert.
ROBOTC TUTORIALS CODE
Next we’re going to run a sample program to make sure we have everything set up correctly.įirst, go to the File menu and select Open Sample Program Note: If you don’t see Select Virtual Worlds to Use or Open RVW Level Builder Utility under the Window menu item then you probably haven’t chosen Virtual Worlds as the compiler target, go back to Step 2. Now that we’ve set the Compiler Target to Robot Virtual Worlds we can chooose the correct World for our purposes: You’ll know you have that correct when the dot is next to Virtual Worlds. Set the compiler target to Virtual Worlds: Not Graphical and not Robot Virtual Worlds: To bring up the ROBOTC IDE find and double click on the ROBOTC for VEX Robotics shortcut. Run a sample program to make sure everything works.Set the Compiler Target to Robot Virtual Worlds.There’s a few steps we need to take care of: We’re going to be doing all of our programming inside the ROBOTC IDE and running are programs on virtual robots inside Robot Virtual Worlds.
Chapter 1 - Getting Started Getting Started