DJI Tello Movement Panel icon DJI Tello Movement Panel — Control DJI Tello from ARC with live camera feed for computer vision tracking; fly via scripts, speech, joysticks, Python, or Exosphere. Try it →
Singapore
Asked — Edited
2 Participants

Colour In Scripts

Hi guys,

Is there a way where I can set different colors for different parts in a script so that each individual parts can be easily identified? It is so that when I explain parts of my script to others, I don't have to burn time searching for them in the big script chunk. Is is already in existence (in which case I'd be happy if someone could point me to it) or is there a thread for it?

Thanks in advance guys!


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

No, this is not currently a feature of the EZ-Script editor. However, watch for future updates as knowing DJ he may add that function.

Author Avatar
Singapore
#2  

Thanks Rich! Will keep tab on future updates...

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Use comments for separating code. Comments are lines starting with a # (number sign)


# *********************************************
# This is a section of code for printing
# *********************************************
print("Hello")

# *********************************************
# This is a section for saying hello
# *********************************************
SayEZB("Hello there")

# *********************************************
# This is the end of the file
# *********************************************