They are always either true or false at any given moment. ROBOTC (conditions) are always Boolean statements. After the computer program is compiled, users are then able to press the 'download to robot' button to download the program to the robot. ROBOTC control structures that make decisions about which pieces of code to run, such as while loops and if-else conditional statements, always depend on a (condition) to make their decisions. During this process, the computer processes the code (if there is an error in the code, the compiling will fail) and convert it into a usable format that the robot cortex is able to understand. The 'Compile Program' button allows the computer to compile the program. 'Firmware Download' downloads the latest updates to the RobotC program and firmware updates to the VEX Robot. Students use the 'Motor and Sensor Setup' button to connect the name of the VEX Motor with the actual VEX motor. In the computer program used to control the robot, the VEX Motor is called a certain name. The 'Motor and Sensor Setup' button allows students to connect VEX Motors with a computer program. Alternatively, users can perform actions by using the ribbon menu, which holds the familiar icons such as 'Save', 'Save as', and 'Open file' in addition to the unfamiliar icons such as 'Motor and Sensor Setup', 'Firmware Download', 'Compile Program', and 'Download to Robot'. Users can perform an action using the top menu bar using the separate 'File', 'Edit', 'View', 'Robot', 'Window', and 'Help' menus. The UI, or user interface, allows users to open windows or perform certain actions in many ways. The different files are shown as separate tabs, analogous to the different tabs internet browsers have. Many files can be opened at once through a single window. RobotC allows users to open up programs created by the RobotC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |