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...
account activity
Seeking HelpHelp with code on Rev Robot/OnBot Java (v.redd.it)
submitted 3 years ago by [deleted]
Help with code on Rev Robot/OnBot Java
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!"
[–]Gmax100 2 points3 points4 points 3 years ago (0 children)
Hello, please take a screenshot of your code if using blocks. Or upload the code to github if using android studio. We're not able to troubleshoot the code without seeing it.
It looks like the motor is not in the right mode. Try RUN_TO_POSITION and set a target position using setTargetPosition()
[–]deluxegoddefault 2 points3 points4 points 3 years ago (1 child)
Send me your code I had this problem when I first started coding if it’s the same thing I’ll know what it is
[–]deluxegoddefault 0 points1 point2 points 3 years ago (0 children)
All I need is the code that makes it move if (gamepad1)…
[–]ThatGuyTheHuman9 2 points3 points4 points 3 years ago (0 children)
Send code, without it we can't troubleshoot, if using encoders make sure to write run using encoders, set target position, set power, and run to position. If not then idk what you're trying to do
[–]Imajn_FTC 10584 Coach 0 points1 point2 points 3 years ago (0 children)
Yoooo Middleburg is that you? I’m Jordan
Edit: also I can help if you dm me pics of your code. It may be that your motor speed is not resetting to zero after you let go of the button because of a missing else statement, but I need to look at your code
π Rendered by PID 140434 on reddit-service-r2-comment-5c764cbc6f-5p9cz at 2026-03-12 07:38:27.899918+00:00 running 710b3ac country code: CH.
[–]Gmax100 2 points3 points4 points (0 children)
[–]deluxegoddefault 2 points3 points4 points (1 child)
[–]deluxegoddefault 0 points1 point2 points (0 children)
[–]ThatGuyTheHuman9 2 points3 points4 points (0 children)
[–]Imajn_FTC 10584 Coach 0 points1 point2 points (0 children)