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!

If Camera Is Running

Does anyone knows how to do something such as checking if the camera is running so I could write something such as :

if($cameraisrunning=0)
controlcommand("camera", camerastart)

thanks, Elfège


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

By default, it is $IsCameraActive

You can see all variables for the camera by pressing the Config button on the camera control, select SCRIPTS tab and VARIABLES sub-tab.

When editing scripts, there is a tab called VARIABLES. Pressing that will display all variables in the system. For more information on the EZ-Script editor features, this tutorial activity will be of interest: https://synthiam.com/Tutorials/Lesson/23?courseId=6

User-inserted image