Roll Pitch Yaw icon Roll Pitch Yaw Rotate and position camera or object with roll/pitch/yaw controls; save camera settings; bind or monitor a 3-value EZ-Script array for live rotation. Try it →

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

Yes.

#2  

Like the ping wailt command... I just discovered the ADC_Wait command... much more efficient than using getadc in a repeatwhile or until loop....

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#4  

@Richard - Yep, there are many scripts where I didn't use the ping_wait or ADC_Wait commands because I tend to over complicate things sometimes. I've changed them now though, in fact Ping_Wait is used in my latest Ping Roam script for the intelligent turning (turns until it's clear, which is basically a Left() or Right() command followed by a Ping_Wait() command).

I did contemplate changing my battery monitor to use ADC_Wait to avoid the constant loops but since it is also used to report the current voltage that wouldn't have worked. I do, however have another script that runs along side the battery monitor which basically starts with ADC_Wait() so that it only runs when the battery level is below my pre-determined absolute minimum, then it shuts everything down that it can shut down to conserve energy until I can manually intervene. Eventually this will become the auto charging script when I finally get around to figuring out the "auto find docking station and charge".