Watson Speech To Text icon Watson Speech To Text Watson Speech-to-Text ARC plugin: cloud AI transcription with configurable models, selectable VAD (Windows/WebRTC), audio capture and visualization. Try it →
France
Asked — Edited
Resolved Resolved by Niek!

Camera Controlcommand Error With The Camerarecordstart Command

Hi, since a recent update (I don't know which one exactly), the ControlCommand "CameraRecordStart" returns a Camera ControlCommand Error and interrupts the script. The "CameraRecordStop" command returns no error.

All I can tell is that this command worked with the 2013.07.03.00 release... It is probably a small bug on the road to Revolution;)


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
Netherlands
Twitter YouTube
#1  

Are you sure you used quotation marks around "Camera"? I tried

ControlCommand("Camera", CameraRecordStart)

and had no problems.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#2  

I tried last night and had the same problem on an older version (a couple of updates behind at most).

When I tried I used the Click & Paste to add it to the script from the controls part of the EZ-Script dialogue so it should have been 100% correct, I honestly don't know if it had quotes or not though.

I'll have another go later with the latest version.

#3  

@Niek, like Rich did, I have used Click & Paste from the Controls. I have verified and the quotation marks are present. Moreover, the same script worked well with the 2013.07.03.00 release, so it is a recent issue... Are you using the last version as well ?

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#4  

@fredebec, I just updated to the latest (2013.08.19.00) and it worked fine.

Have you tried uninstalling and reinstalling ARC?

Author Avatar
Netherlands
Twitter YouTube
#5  

@fredebec I used the latest version and clicked under the ControlCommand tab. It should be fixed in the latest version;)

#6  

Ok, I found the problem !

First I tried to reinstall ARC, with no success... So, I tried to create a new project (in spite of creating a new script in my existing project) and then in worked ! At first, I didn't see any difference between the two projects, but there was:

When you create a new project and add the Camera, in the "Media" part of the Camera preferences, there is automatically "www.ez-robot.com" with quotation marks entered in the "Title Text" field (see the screenshot)

User-inserted image

But in the previous version of ARC I used, www.ez-robot.com was automatically entered without the quotation marks... and the new version don't like it !

So, I just had to add quotations marks in the Title Text field of my old project, and voila, everything works again.

Thanks @Niek and @Rich for your help (PS: As it was a quotation marks issue, after all, I think Niek deserves the credit of the "resolved topic" ;) )

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#7  

Ah, I remember another topic which brought that up now you've mentioned it. I didn't even think to check in there to be honest, now I know for next time it happens (if there is a next time).

Author Avatar
Netherlands
Twitter YouTube
#8  

@fredebec well that's a sneaky bug! Glad you figured out a solution.