Sharp IR Radar icon Sharp IR Radar — Radar-style Sharp IR scanner for EZB ADC: sweeps sensor, displays distance dots, logs ADC voltage, and can steer/avoid obstacles via Movement Panel Try it →
Asked — Edited
1 Participant

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

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

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