This Script may be of interest to anyone setting up the Pololu ir Beacon with EZ-B
while I control 2 servo motors it should be easy to adapt to a movement panel
@Rich, thanks for you help
Upgrade to ARC Pro
Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming
By the way if you use the code tag in your posts
use the word code inside square brackets.
Also, you can use just an ELSE rather than ELSEIF. I know I used ELSEIF in my first example to you, both ways work but ELSE is less typing
I wondered what it was for and have to admit I'm still not entirely sure what it does (well, I know what it does I don't know the why). It'll loop around forward until a status chance, then look around reverse etc. Is that what it is meant to do?
As for adapting for a movement panel, just use the commands
(Would need a Movement Panel set up in ARC otherwise it doesn't know what to move)
I us two servos to operate a joystick of a motorised wheelchair this script allows me to walk off with the second beacon and the robot will then follow me.
Hide the Beacon and it will stop.