Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Parameter For Coding Error

Hello everyone. I need to add a code in the scripting manager of ARC that DJ gave me for a project I'm working on. However, I get an error message that tells me that it needs to have 1 parameter in the line of coding, but I have passed 0 parameters. What do I need to edit in the code so that it saves and works accurately? Thanks.

Code:


:Start

IF (GetPing(d0, d1) < 50)
Set(d2, on)
SayWait("Warning, object detected"

Sleep(2000)

Set(d2, off)
ENDIF

Sleep(500)

Goto(Start)


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
Canada
#1  
Missing ) on your saywait line.
#2  
I see the problem now. Just a little parenthesis icon missing. Thanks!~RoboticsMaster