Sound Movement icon Sound Movement Stereo mic sound localization triggers left/right scripts to control robot movement, enabling directional responses (turn/move) to audio. Try it →
Asked — Edited

Array $Xray[$N]=1 Makes An Error

Hi,

Am I doing something wrong?

This code is producing this error in the latest version of ARC: Error on line 41: Input string was not in a correct format. my line with the $yray[$n]=2.12 creates the above error

The arrays with static numbers as in $xray[1] = 3.14 work [] $n=0 definearray($xray,5) definearray($yray,5) definearray($zray,5) $n=$n+1 $xray[1] = 3.14 $yray[$n]=2.12 $zray[3]=2.345


Thanks mates,

Bill

ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

I'll look into it right away. Thanks!

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

fixed in next release:D