Using FTC Blocks Offline Editor

From ORTOP Wiki
Revision as of 18:23, 28 September 2020 by BruceSchafer (talk | contribs) (Added line break. Put a couple screen shots in the right places.)

A. Connect to your Robot Controller app via WiFi.

B. Use a web browser to open 192.168.49.1:8080 and click on Block

MainScreen.png

C. Click on "Download Offline Blocks Editor".

BlocksScreen.png

This will place a Zip file in the Download folder of your PC.

D. You can now disconnect from the Robot Controller phone.

E. When you are ready to perform offline editing proceed as follows:

1. Find the downloaded zip file in your Download folder.

ZipFile.png

2. Unzip the downloaded zip file to a new directory by right clicking on the zip file and clicking on Extract All

Extract.png

You should see an extracting progress screen:

Extracting.png

3. Open Google Chrome browser

4. Open the index.html file in the new directory that holds the unzipped editor:

  • type control-O to get a file dialog box and navigate to the directory and click on Open

ChromeControl-O.png

  • Double click on "index.html" or click on "index.html" and then click on Open

Open-Index.png

5. Use Blocks as usual to select and edit an op mode

OfflineList.png

6. When you are finished editing an op mode, click on "Download Op Mode".  This will save a BLK file in your download directory.

DownLoad Op Mode.png

F. To edit other op modes repeat steps 4 and 5 above.

When you are finished with offline editing and have access to your robot controller phone, reconnect to the Robot Controller phone via WiFi.

1. Use your web browser to open 192.168.49.1:8080

2. Click on Upload Op Mode

UploadOpMode.png

3. Click on Choose File

ChooseFile.png

4. Navigate to where you saved the op mode as a BLK file -- probably your Download directory -- and choose the BLK file you downloaded earlier.

FileChosen.png

5. Click on OK

If you saved additional BLK files, click on "Blocks" and repeat steps 2 through 5.

Note: There are some subtleties of using the "Download Offline Blocks Editor" button more than once will be explained here later.