Hey guys I need a bit of assistance with this tiny part of a script.
IF ($Lelbowposition >68) And ($Relbowposition <1)
I want this to be known as "safe position"
So later in my larger script it will check arm" safe position "before moving forward.
Can I just use an equals sign at the end of the statement and call it " safe position"
Upgrade to ARC Pro
Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro
Also, might be a great idea to start with blockly. Follow some examples in the robot program to learn how comparisons work for IF conditions.
so if left elbow position>68 and right elbow position <1 = safe position
"safe position" =not true do not allow movement
2) is this script to prevent the robot from physically moving if the arms are in the way?
How about this:
The "do something" is where you can put your command for movement or a Goto command to go to a movement section of your script. You can also place Say commands in each IF or ELSEIF section to have you robot tell you he's about to move or stopped because it's to dangerous to move.
Here's the control: http://www.ez-robot.com/Tutorials/Help.aspx?id=47