acmerobotics / ftc-dashboard

React-based web dashboard designed for FTC
https://acmerobotics.github.io/ftc-dashboard
Other
178 stars 137 forks source link

I am trying to run my auto mode and I get an error only after I press stop. Nothing happens when I press start and when I press stop this error occurs #157

Open Leoshrotri opened 1 week ago

Leoshrotri commented 1 week ago

I have no idea why this is popping up because I already have my control hub, expansion hub, and driver hub all up to date on the 1.8.2 version that it is suggesting. I tried REV Hardware Client or whatever its called and everything is up to date. I have no idea why no code will even run and why the error only shows up after I click stop. I am pretty sure there is no problem with the coding but it is attatched below along with the error.

Screenshot 2024-10-23 at 5 49 08 PM Screenshot 2024-10-23 at 9 55 32 PM Screenshot 2024-10-23 at 9 55 25 PM Screenshot 2024-10-23 at 9 55 15 PM Screenshot 2024-10-23 at 9 55 03 PM
TuckerzKnight commented 3 days ago

Sorry for not replying earlier! I'm not too familiar with Roadrunner, so correct me if I'm wrong... In your 4th picture at line 36, you called runOpMode(). I don't think you need to call the function, I believe it just runs when you hit play on the driver station. Also just out of curiosity, is there supposed to be any code contained in initTfod()? Are you using anything like LynxFirmware.throwIfModulesAreOutdated(hardwareMap); in your code? Maybe thats something to look into. IDK, good luck

Leoshrotri commented 3 days ago

Thank you, this did fix the issue. You helped a lot.

On Tue, Oct 29, 2024 at 7:13 PM TuckerzKnight @.***> wrote:

Sorry for not replying earlier! I'm not too familiar with Roadrunner, so correct me if I'm wrong... In your 4th picture at line 36, you called runOpMode(). I don't think you need to call the function, I believe it just runs when you hit play on the driver station. Also just out of curiosity, is there supposed to be any code contained in initTfod()? Are you using anything like LynxFirmware.throwIfModulesAreOutdated(hardwareMap); in your code? Maybe thats something to look into. IDK, good luck

— Reply to this email directly, view it on GitHub https://github.com/acmerobotics/ftc-dashboard/issues/157#issuecomment-2445676413, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGW2U2GCRA3THUG7JQLP7MTZ6A6FXAVCNFSM6AAAAABQQGZ55CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVGY3TMNBRGM . You are receiving this because you authored the thread.Message ID: @.***>