RGB 8X8 Animator icon RGB 8X8 Animator — Create, edit and play animated frames on an RGB 8x8 LED matrix via I2C with looping, adjustable pauses and scriptable EZ-Script canvas control. Try it →
Asked — Edited

Hello Again,

Has anyone figured out a way to do simple math with ARC? We have servo position and camera coordinates. We are trying to couple them to derive driving and firing solutions, while scanning the camera. We used to do all of that with a Cortex. It seems pretty simple. Maybe we need to go with a different processor. Any thoughts are appreciated, keep up the good work!


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  

$x = 5 + 3

Or

$x = $x - 7

Etc

If you're requirements are super complicated than using the ez-sdk would be best for you:)

#2  

Thanks again, to the hardest working guy in the business.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

anytime! And thank you:)

Remember to use (brackets) to specify order of operation also

#4  

Is there a way to display the result on the screen or the overlay?

Thanks

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#5  

Yes, both. Either use the Print() command in EZ-Script. Or create an overlay to display the variable.

Keep in mind, you may not need to do much math (if at all) when using the Track By Relative Position option in the Camera Control. You can use EZ-Script to switch between servo Tracking modes.:)

#6  

Thanks again, why do the SAY commands not wok within a script?

#7  

They work in mine with the 10-15-2012 version of the software. Say("Hell world") Perhaps your speaker volume is turned off?

#8  

Thanks, I may have lost the drivers for my sound card. I will try to reinstall. It is always something