Updated Writing an Op Mode with FTC Blocks (markdown)
@ -32,8 +32,8 @@ Note that it will take an estimated 10 minutes to create your first op mode.
|
||||
| 1. Launch the web browser on your laptop (FIRST recommends using Google Chrome) and find the web address that is displayed on the Program & Manage screen of the Robot Controller. <br/><br/>Important Note: If your Robot Controller is an Android smartphone, then the address to access the Program & Manage server is "192.168.49.1:8080".<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep1a.jpg" width="350"> </p>Important Note: If your Robot Controller is a Control Hub, then the address to access the Program & Manage server is "192.168.43.1:8080". Notice the difference in the third octet of the IP addresses (the Control Hub has a "43" instead of a "49"). <br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep1aControlHub.jpg" width="350"> </p>Type this web address into the address field of your browser and press RETURN to navigate to the Program & Manage web server.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep1bControlHub.jpg" width="500"> </p>|
|
||||
| 2. Verify that your web browser is connected to the programming mode server. If it is connected to the programming mode server successfully, the Robot Controller Console should be displayed.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep2ControlHub.jpg" width="600"> |
|
||||
| 3. Press the **Blocks** link towards the top of the Console to navigate to the main Blocks Programming screen. <br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep3aControlHub.jpg" width="600"></p>The main Blocks Programming screen is where you create new op modes. It is also the screen where you can see a list of existing Blocks Op Modes on a Robot Controller. Initially this list will be empty until you create and save your first op mode.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep3bControlHub.jpg" width="600"></p>|
|
||||
| 3. Press the “Create New Op Mode” button which should be visible towards the upper left hand corner of the browser window.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep3.jpg" width="400"></p>When prompted, specify a name for the op mode and hit “OK” to continue. |
|
||||
| 4. Verify that you created the new op mode. You should see your newly created op mode opened for editing in your web browser’s main screen.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep4.jpg" width="700"></p>Notice that the left-hand side of the browser’s screen contains a list of categorized programming blocks. If you click on a category, the browser will display a list of available related programming blocks.<br/><br/>The right-hand side of the screen is where you arrange your programming blocks to create the logic for your op mode. |
|
||||
| 4. Press the “Create New Op Mode” button which should be visible towards the upper left hand corner of the browser window.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep4ControlHub.jpg" width="400"></p>When prompted, specify a name for the op mode and hit “OK” to continue. |
|
||||
| 5. Verify that you created the new op mode. You should see your newly created op mode opened for editing in your web browser’s main screen.<br/><br/><p align="center"><img src="https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/ftc_app/images/WritingFirstOpModeStep5ControlHub.jpg" width="700"></p>Notice that the left-hand side of the browser’s screen contains a list of categorized programming blocks. If you click on a category, the browser will display a list of available related programming blocks.<br/><br/>The right-hand side of the screen is where you arrange your programming blocks to create the logic for your op mode. |
|
||||
|
||||
### Examining the Structure of Your Op Mode
|
||||
When you create a new op mode, there should already be a set of programming blocks that are placed on the design canvas for your op mode. These blocks are automatically included with each new op mode that you create. They create the basic structure for your op mode.
|
||||
|
Reference in New Issue
Block a user