RobotC User Interface

1 minutes
Share the link to this page
Copied
  Completed
In this lesson, we'll do a quick review of how to use RobotC and where everything is in the program.

Transcript

For those of you who are new to robot See, I'll go through the basics of how to use the program quickly. The link I provide here is to the robot c command library, you'll find all the commands and brief explanations of how to use them, plus some sample code here. This is where I found most of the material I use to make this course. Before we can do anything, we need to create a new file for our first program. a library of commands can be found on the left, and these commands can be dragged and dropped into the programming area or editor. You can also type out commands in this area.

When you're ready to save your program. Please don't use the default program names. Give the program to write good descriptive names. Later when you have many programs, it will be easier to find the program you need It's called forward 20 centimeters, rather than source file 0041 of the settings that need to be set correctly is the controller mode. Open the robot tab and make sure you select the correct Vex IQ controller mode for the program you're writing. If you select tele op for a program that doesn't require the remote, you'll be pestered to connect the controller every time you try to download or run the program.

Seeing what the sensor readings are in real time can be very handy. The debugger windows can also be found in the robot tab, check all the items you need to monitor and when you download the program to the robot, the debugger window will open automatically. Remember that the robot needs to stay connected to the computer with a USB cable for this to happen.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.