hi all I am writing my own radar script
how do i use the value return by getping(d13,d12) e.g. :loop tr if getping(d13,d12) < 20 then Right(200) goto(tr) else stop script and exit
Lidar-Lite Laser Module
— Laser Lidar-Lite ARC control reads distance, velocity and signal strength (0-40m+) via EZ-B v4 i2c, setting EZ-Script vars for robotics
Try it →
hi all I am writing my own radar script
how do i use the value return by getping(d13,d12) e.g. :loop tr if getping(d13,d12) < 20 then Right(200) goto(tr) else stop script and exit
hi DJ it would not do a right()?
Strange. Works in my test when I wrote it.
hi DJ i'll play with the timing of the scan etc.
Okie
Ah you know what? Maybe don't have it move from 10 to 80 because that might be what's happening. Have it move from 10 to 40. The. 40 to 80. Then 80 to 40. Then 40 to 10.
Repeat
Also, if you get the latest ARC... There is a C# example for a radar control. Look under File -> Examples -> Script C Radar Control
hi DJ Thanks i did a little mod