I need help....trying to stop my rover when it reaches a target. This is what I Have ....
wait until (( [nav |Position|] |dist| (convert [[nav |TargetPosition|] to position)) < 10 )
Set brake to .1
It's not working.
What am I doing wrong?
Tags
Vizzy8 Comments
- Log in to leave a comment
-
-
1,467 RikHar
@LofiTurtle thank you . I will try them today and let you know. I appreciate the help a lot as i am new to the vizzy thing.
-
-
-
2,966 LofiTurtle
I checked the craft, and the issue was you were doing the
less than 30
operation inside of the distance block. Make sure you have the distance between 2 vectors first, then put the entire thing into the boolean expression. Also you should use anif()
instead.wait until()
will stop the loop while it evaluates to false, instead of continuing on. -
1,467 RikHar
@Hannah1212 It been uploaded as "p rover". Not to familiar with vizzy yet. any help would be appreciated. thankx
-
7,504 Hannah1212
Maybe set brake to 1 and throttle to 0? I could try to fix it if you upload the craft.
No Upvotes
Log in in to upvote this post.
thanks everyone for the help. Got it figured out.