PRO
jsale
USA
Asked
— Edited
I developed a private Beta skill about four months ago, and it was functioning perfectly. However, after a recent update to ARC, I'm unable to compile the skill code. I haven't made any changes to the code. The issue arises with the custom method GetRandomCharacters(), which is directly based on the example provided. This method includes a check for (Engine.CancelRequested), but it seems that the CancelRequested method is no longer defined. Could someone explain what has changed in ARC and what steps I need to take to resolve this issue?
Related Hardware (view all EZB hardware)
EZ-B V4
by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos
24
Camera
Audio
UART
3
I2C
ADC
8
Digital
24

@Support i think that's example code from the robot skill support manual. It's here: https://synthiam.com/Support/Create-Robot-Skill/Examples/custom-javascript-extension
At some point an update to Jint had removed the CancelRequested, so the JavaScriptEngine would have to be used. That example should be udpated.
Example from https://synthiam.com/Support/Create-Robot-Skill/Examples/custom-javascript-extension has been updated