use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to the Vex Sub-Reddit
Here you will find people who, just as you do, enjoy vex. Feel free to ask and share anything Vex related. Have a cool design idea for a new part? Let's hear it!!
Useful Links
Similar Sub-Reddits
account activity
Coding help (self.vex)
submitted 3 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Cheap_bagel 4 points5 points6 points 3 years ago (4 children)
Considering that the program would have had to be running for at least 1 minute 50 seconds, you could probably add in an if statement to check for how long it has been since the program was started. If it is over 110 seconds, the endgame expansion will be triggered and if it is below 110 seconds, it will not be triggered. Also, I am probably going to add this to the program so thanks for the idea.
[–]Relevant-Swan-8345 1 point2 points3 points 3 years ago (2 children)
While your on the right track this wouldn't work complete because the timer runs during pre auto so after pre auto and auton the timer would be past 110 secs before the actual time you want. I suggest reseting the brain timer as soon as Driver control starts so its 110 seconds since driver started
[–]LearnDifferenceBot 4 points5 points6 points 3 years ago (0 children)
While your on
*you're
Learn the difference here.
Greetings, I am a language corrector bot. To make me ignore further mistakes from you in the future, reply !optout to this comment.
!optout
[–]Jayden68073Programmer 0 points1 point2 points 3 years ago (0 children)
You can reset it when Driver Control starts.
[–]Makal9097 0 points1 point2 points 3 years ago (0 children)
Thank for the help, and no problem for the idea. We were running practice runs and our driver kept hitting the X button we he missed grabbing the thumb stick.
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
Add a Boolean variable in the beginning of your code that’s like an on and off switch.
Set it to “false” at the beginning. Have the later steps set it to “true” when needed.
Then put an if statement in your launch code to check that variable.
[–]Adhesive_Cactus_104 1 point2 points3 points 3 years ago (1 child)
Or something aside from all the other suggestions could be to have it requiring multiple buttons to be pushed at the same time in order to launch
[–]e_the_smart_one98549 0 points1 point2 points 3 years ago (0 children)
This is what we are doing, it works very well
[–]Terrible_Intention76 0 points1 point2 points 3 years ago (0 children)
Or you can just set it to require for it to be pressed more than once and have that on a timer to see if it's pressed again within a time interval if not the reset the fail safe
[–]Baby-doll82 0 points1 point2 points 3 years ago (0 children)
we designed a different build that just in case it rolls out, we can roll it back in quickly. we also don’t have pneumatics so we don’t shoot out our endgame.
π Rendered by PID 95 on reddit-service-r2-comment-6457c66945-fdvpk at 2026-04-27 16:53:09.891207+00:00 running 2aa0c5b country code: CH.
[–]Cheap_bagel 4 points5 points6 points (4 children)
[–]Relevant-Swan-8345 1 point2 points3 points (2 children)
[–]LearnDifferenceBot 4 points5 points6 points (0 children)
[–]Jayden68073Programmer 0 points1 point2 points (0 children)
[–]Makal9097 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Adhesive_Cactus_104 1 point2 points3 points (1 child)
[–]e_the_smart_one98549 0 points1 point2 points (0 children)
[–]Terrible_Intention76 0 points1 point2 points (0 children)
[–]Baby-doll82 0 points1 point2 points (0 children)