Thumbnail

Sketch Pad

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the Scripting category tab.
  5. Press the Sketch Pad icon to add the control to your project.
There are so many ways to present visual feedback with this skill. The Sketch Pad allows you to draw with controlCommand() from a script. You can create scripts that draw object locations in a room or display information from the path the robot has driven. You can also display custom face emotions using simple graphic shapes of circles, squares, and rectangles. Use your creativity to visualize robot data!

*Note: For usage information, reference ARC's example folder for a SketchPad project.

Main Window



1. Sketch Display
This displays the graphics that are executed in code.

2. Script
This skill executes scripts that can draw graphics to the Sketch display.

How to use Sketch Pad


1) Add the Sketch Pad skill to your ARC project (Project -> Add Skill -> Scripting -> Sketch Pad).

2) Add the Script skill to your ARC project (Project -> Add Skill -> Scripting -> Script).

3) Write a script in the script skill to draw a graphic. Javascript Example: controlCommand("Sketch Pad", "CanvasDrawCircle", 3, 50, 50, 50, 50, "purple");

4) Run the script and watch as the graphic is drawn in the Main Window of the Sketch pad.