Lidar-Lite Laser Module icon 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 →
Asked — Edited
Resolved Resolved by DJ Sures!

How To Script

Hello , I wanted to ask about the scripting in mobile interface I wanted to show the ping distance in a text box but I could not I wrote " $Distance " and when it gave me an err I tried " $PingDistance " and it did not too :) :) :)


ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

Here you go..


GetPing(d0, d1)

or if you want a title...


"Ping: " + GetPing(d0, d1)

or if you already have a script running which gets the ping value, then you can display a variable by entering it...


$MyVariable

Here's an example video...

#3  

sorry , but I wanted too to know how to add an RGB Animator action

#6  

Thank you , it worked and I found many good things ;) ;) ;) ;)