Edit on GitHub

Introduction

R+m.Task 2.0 provides identical functions on Android / iOS devices as R+Task 2.0 does on PC.
Downloading, editing, debugging tasks, and remote controller is supported.

System Requirements

Please keep the lastest firmware for the controller.
The device must support bluetooth in order to use download feature.

Android

Apple

Supported Products

Supported Controllers

App Download

App Installation

  1. Launch Google Play from the smart device.
  2. Search for ROBOTIS in the search form.
  3. From the list, select R+ m.Task2 and Install.
  4. Accept the request for accessing device.

Menu Descriptions

Function Tabs

Workspaces are divided into Home, Programming, and Debugging.

Start Screen

At the start screen, user can select Editor or Remote Controller and set the Bluetooth Device.

Home Tab

Below is the initial screen when user selects Editor in the start screen.

  1. File Menu
  2. Preferences and Software Information
  3. Menu Tab
  4. Example Select Menu
  5. Remote Controller

Programming Tab

In the Programming Tab, user can edit the task source code.

  1. Source Code Area
  2. Programming Tools
  3. Menu
  4. Device and Download

Debugging Tab

Debugging Tab helps to debug the written code.
(Auto connect feature has been applied for easier use)

  1. Program Output Window
  2. Debugging Tools
  3. Virtual Remote Controller
  4. Device and Terminal Control

Practice

Open Example

  1. Move to Home tab. (Home tab is the default location when program starts)
  2. Select the Examples button.
  3. Select the Product, Level, and Example Name.
  4. Confirm the selection.

Create New File

  1. Move to Home tab. (Home tab is the default location when program starts)
  2. Select the New Task button.

  3. Select Firmware Version(Protocol Version) and the Controller.
  4. Confirm the selection to create the new task.

Instructions

  1. Move to Programming tab. (When creating a new task, Programming tab will be selected by default)
  2. Select Instructions button.
  3. Select Loop category.

  4. Select ENDLESS LOOP and drag the instruction.
  5. Drop the selected instruction where it should be inserted.

Edit Parameters

  1. Select Instructions button.
  2. Select Execute category.
  3. Select LOAD instruction.
  4. Drag and drop the instruction where it should be inserted.

  5. Double tap on the left side block of the inserted instruction.

  6. Select Controller Device in the Category 1.
  7. Select Accessory Device in the Category 2.
  8. Select Port 1 and select Geared Motor.
  9. Confirm the selection to finish editing.

  10. Double tap on the right side block of the instruction.

  11. Select Controller Constant in the Category 1.
  12. Select Motor Value in the Category 2.
  13. Select CCW for rotational direction and enter 500 for the Power.
  14. Confirm the selection to finish editing.

  15. Make sure that the instruction is properly edited.

Task Download

  1. Select Device button.
  2. Select the Bluetooth device of the robot (If Bluetooth device has not been connected before, search the device by using Filter button on the right)
  3. Confirm the selection and close the Device window.
  4. Select Download button to start downloading.

  5. When download is completed the controller executes Task (Some controllers are shut off after the download).

Program Output Monitor

  1. Move to Debugging tab.
  2. Select Device button.
  3. Select the Bluetooth device of the robot (If Bluetooth device has not been connected before, search the device by using Filter button on the right)
  4. Confirm the selection and close the Device window.
  5. Select Start Terminal button.

  6. When robot is connected, Program Output Monitor and Virtual Remote Controller are enabled.

  7. If Print Screen with Line instruction is used in the source code as shown below,

  8. New line feed will be applied in the Program Output Monitor.

Remote Controller

  1. Move to Home tab. (Home tab is the default location when program starts)
  2. Select Device button.
  3. Select the Bluetooth device of the robot (If Bluetooth device has not been connected before, search the device by using Filter button on the right)
  4. Confirm the selection and close the Device window.
  5. Tap the Remote Controller button.

  6. Buttons mode is the default setting for the Remote Controller.

  7. Select Joystick to use virtual joystick instead of directional buttons.

  8. Select Sensor to use tilt sensor as a directional control.

Programming(Edit)

Insert/Edit Instruction

  1. Select Instructions button (or double tap the location where the instruction will be inserted).

  2. Drag and drop the instruction.

  3. The inserted instruction can be changed to other instructions by double tapping the instruction block.

Select Multiple Lines

  1. Drag the line number to select multiple lines.

  2. Dragging on the selected lines will deselect them.

  3. Tapping on the source code will cancel the line selection.

Insert/Delete Line

  1. Select the line to insert a new line or delete the line.
  2. Select Insert(+) button to insert a new line before the selected line.
  3. Select Delete(-) button to delete the selected line.

Enable/Disable Line

  1. Select the line to enable or disable.
  2. By tapping the Enable/Disable button, selected lines will be commented or uncommented.

  3. Disabled(Commented) lines will be displayed in gray font.

Copy/Cut/Paste

  1. Select lines to copy or cut.
  2. Tap on the Additional Menu.

  3. Select Copy or Cut to save selected lines in the clipboard.

  4. Select the line where saved lines to be pasted.
  5. Tap on the Additional Menu.

  6. Select Paste to insert saved lines in the clipboard.

  7. The code will be look like the below image.

Undo/Redo

  1. While editing the code, Undo button will undo the recent change.

  2. Redo button will repeat the change made by Undo.

Programming(Instructions)

R+m.Task 2.0 uses identical instructions from R+Task 2.0.
Please refer to Programming(Instructions) section of the R+Task 2.0 manual.

Programming(Parameters)

R+m.Task 2.0 uses identical parameters from R+Task 2.0.
Please refer to Programming(Parameters) section of the R+Task 2.0 manual.

Useful Tips

Search Variables/Functions

User can easily search and rename Variables or Functions used in the source code.

  1. Select Variables or Functions button (There should be at least one variable or function to use this feature).
  2. Select items to search in the Variable List or the Function List.
  3. Tap the Search button in the below.

  4. Select an item in the Reference Results to search.
  5. Close the search result by tapping the Find Reference button.

  6. Use Rename button to change the name of variable or function used in the source code.

Search Keyword

User can also find a specific object in the source code.

  1. Select Find button.
  2. Enter the term to search.

  3. The result will be listed.
  4. Select an item to move to the code line.

Grammar Check/Compile

In order to download the task code into the controller, syntax check and compile have to be done.
When try downloading or tapping Error button will perform the procedure automatically.

Syntax Check : This process check whether the instructions are valid and compatible to the selected controller. User must correct any errors listed in the result to proceed downloading.

Compile : After checking the syntax, this process will convert the source code into the machine language. During this process, number of variables and callbacks, and memory usage will be checked.

Copy Task to Android Devices

Task files written in the PC can be copied into Android devices.

  1. Use USB cable to connect Android device to PC (Proper Android drivers have to be installed on PC).
  2. Go to file explorer and open the Android Device.
  3. Open the RoboPlus folder. (If RoboPlus folder does not exist, create the folder manually.)
  4. Copy the task file(*.tsk) into the RoboPlus folder.
  5. Launch the R+ m.Task 2.0 and select Open Task button.

  6. Select the copied file and confirm the selection to open the file.

Copy Task to iOS Devices

Task files written in the PC can be copied into iOS devices.

  1. Use USB cable to connect iOS device to PC (Proper drivers have to be installed on PC).
  2. Launch iTunes on PC.

  3. Select the connected device from the iTunes.

  4. Select File Sharing category on the left column.

  5. Wait for a while until Applications are listed, then select R+ mTask2 from the list

  6. Drag and dropo the task file(*.tsk) on the document area on the right.

  7. Launch the R+ m.Task 2.0 and select Open Task button.
  8. Select the copied file and confirm the selection to open the file.

FAQ

Supported Products?

Can TSK files that were used in the previous Task 1.0 also be used on Task 2.0?

The controller will not shut down after downloading a task.

Can I use Bluetooth module in R+ Task 2.0?

The controller does not connect well.

I do not want to see the help animation any more.