Sign in to follow this  
Followers 0
hounder

within 10 values of...

2 posts in this topic

alright this is probably a simple question, but i can't seem to figure it out.

ive got a script that goes like this,

Until $Cur_Rot = $Next_Rot

what its doing is calculating a rotational angle then rotating until it meets that angle.

the problem im having is that i cant rotate to that EXACT angle, but rotating with mabye 10 or so would be acceptable.

pretty much i just want my code to look like

Until $Cur_Rot is within 10 of $Next_Rot
cept in autoit language.

Share this post


Link to post
Share on other sites



Until Abs($Cur_Rot - $Next_Rot) < 10

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0