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,482 RikHar5.4 years ago
@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.
-
-
-
3,016 LofiTurtle5.4 years ago
I checked the craft, and the issue was you were doing the
less than 30operation 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,482 RikHar5.4 years ago
@Hannah1212 It been uploaded as "p rover". Not to familiar with vizzy yet. any help would be appreciated. thankx
-
7,724 Hannah12125.4 years ago
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.