diff --git a/Creating-and-Running-an-Op-Mode-(OnBot-Java).md b/Creating-and-Running-an-Op-Mode-(OnBot-Java).md index 33b9a49..83cde19 100644 --- a/Creating-and-Running-an-Op-Mode-(OnBot-Java).md +++ b/Creating-and-Running-an-Op-Mode-(OnBot-Java).md @@ -1,7 +1,7 @@ ### The Java Programming Language -This tutorial assumes that you have a sound understanding of the Java programming language. If you do not know Java, then you should consider using the FTC Blocks Programming Tool, which is a visual development tool. Information about the FTC Blocks Programming Tool can be found at the following address: +This tutorial assumes that you have a sound understanding of the Java programming language. If you do not know Java, then you should consider using the FTC Blocks Programming Tool, which is a visual development tool. Information about the FTC Blocks Programming Tool can be found at the following link: -https://github.com/ftctechnh/ftc_app/wiki/Writing-an-Op-Mode-with-FTC-Blocks +[FTC Blocks Tutorial](Writing-an-Op-Mode-with-FTC-Blocks) Or, you can learn the Java programming language by completing the Oracle Java Tutorial, which is available at the following address: @@ -22,6 +22,10 @@ The examples in this document use a Windows laptop computer to connect to the Ro
+Note that the process used to create and edit an op mode is identical if you are using a Control Hub as your Robot Controller. + +
[[/images/Writing-an-Op-Mode-with-FTC-Blocks/BlocksPicture2b.jpg]]
+
Note that if you prefer, you can use an alternate device, such as an Apple Mac laptop, Chromebook, or an iPad instead of a Windows computer to access the OnBot Java Programming Tool. The instructions included in this document, however, assume that you are using a Windows laptop.
Note that this section of the wiki assumes that you have already setup and configured your Android devices and robot hardware. It also assumes that you have successfully connected your laptop to the Progam & Manage server on the Robot Controller device.
@@ -31,8 +35,8 @@ If you connected your laptop successfully to the Program & Manage wireless netwo
| Creating Your First Op Mode |
| ---- |
-| 1. Find the web address that is displayed on the Program & Manage screen of the Robot Controller Android device. In our example, the web address is “192.168.49.1:8080”.
[[/images/Writing-an-Op-Mode-with-FTC-Blocks/WritingFirstOpModeStep1a.jpg]]
**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").[[/images/Writing-an-Op-Mode-with-FTC-Blocks/WritingFirstOpModeStep1aControlHub.jpg]]
Type this web address into the address field of your browser and press RETURN to navigate to the Program & Manage web server.[[/images/Writing-an-Op-Mode-with-FTC-Blocks/WritingFirstOpModeStep1bControlHub.jpg]]
| +| 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.[[/images/Writing-an-Op-Mode-with-FTC-Blocks/WritingFirstOpModeStep2ControlHub.jpg]] |
| 3. Click on the word “OnBotJava” towards the top of the screen. This will switch the browser to OnBot Java Programming mode.