How to add the Script robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Scripting category tab.
- Press the Script icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Script robot skill.
How to use the Script robot skill
The script skill is very versatile; it can interact with most ARC skills. It is also very intuitive, as it contains multiple detailed manuals for assistance with programming in its settings menu. The Script skill currently includes the following languages to program in:Main Window
1. Start/Stop Button
Executes the script that is written in this skill.
2. Status Display
Displays the status according to the script written in this skill.
Settings - Blockly
1. Title Field
This field contains the title of the Script skill. You can change it if you'd like. *Note: Changing the title will also change the title in the controlCommand() associated with this skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Start/Stop Button
Executes/Stops the Blockly script that is written in the worksheet.
4. Clear Sketch Button
Clears the worksheet.
5. Create Variable Button
Press this button to create a new variable accessible under the variable block section.
6. Load Worksheet Button
Loads a previously developed Blockly worksheet.
7. Save Worksheet Button
Save the current Blockly worksheet.
8. Camera Preview
Displays the configured camera output.
9. Block selection area
Select the program blocks from this section.
10. Status Display
Displays the status according to the script written in this skill.
11. Blockly Worksheet
This is the area where you build your Blockly script.
Settings - Javascript
1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
4. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
5. Script Editor
This is where you write your Javascript.
6. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
Settings - EZ-Script
1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Format Button
Press this button to format your script automatically.
4. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
5. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
6. Script Editor
This is where you write your script.
7. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
Settings - Python
1. Name Field
Enter the name of the scripting skill.
2. Roboscratch Module Checkbox
Check this box if you'd like to use this script as a module for Roboscratch.
3. Font Smaller/Larger Buttons
Decreases/Increases the font in the script editor.
4. Enable Intellisense Checkbox
Check this box if you would like programming shortcuts to appear while scripting.
5. Script Editor
This is where you write your Python script.
6. Run Button
Executes your script in the script editor before saving. This allows you to test your script before moving forward.
How to Use Script Skill
1) Add the Script skill to your ARC project (Project -> Add Skill -> Scripting -> Script).2) Go into the skill settings, write a script in your chosen language, and save.
3) Press the Start button in the skill's main window to execute the script.
Related Tutorials
tutorial
Detect Multiple Colors
One of the features that makes ez-robot so special is the camera that can detect faces, objects, glyphs, qr codes and...
tutorial
Rgb Array Tutorial
Ive added a video to the 18 RGB LED Block, Humanoid Head with Camera RGB Eyes and 18 RGB LED PCB to explain how to use...
tutorial
Mobile App Developer Tutorial
So, youve built your ez-robot and now you would like to make your own mobile app. Did you know EZ-Robot has a robot...
tutorial
Randomizing Answers In Speech Recognition
Want to make your robot respond more naturally and not the same thing every time? Heres how to make it answer...
tutorial
Using Exec() Commands To Help Make A Game
K-9 asks Would you like to play a game? So from the famous(ish) line from the movie War Games, I have taught K-9 a...
tutorial
How To Make A Wide Angle Ir Non Contact Bumper
I designed a wide angle IR (non contact) bumper for robots a while back but never used it. It may be useful to the folks...
Related Hack Events
live hack
Treat-O-Matic 2020 Live Hack Part #6 The Finale
*Sorry Im going to have to cancel, still debugging things and I wont have time to engage. Instead, I will make a youtube...
live hack
Treat-O-Matic 2020 Live Hack Part #5
Lets make this Halloween contactless! With the advent of the COVID-19 pandemic, this Halloween is likely to look a bit...
Related Questions
question
Code To Turn Controller Off
Has anyone written code to turn microprocessor off?
question
Real-Time Module
Can someone show me how to program this DS 1302 real-time module in Ez_builder with EZ-B v4, I cant get used to it yet?...
question
Scripts, Add Java Script
Can you please advise? I went to scripts, then add JavaScript, clicked on the gear icon this is what happened: Clearing...
Upgrade to ARC Pro
Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.