-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
did the 2022 update change the romi's motor channels? #222
Comments
We'll test this shortly. By "not driving" do you mean not moving at all, or not driving in the way you expect |
the drivetrain thinks that it is running motors but the romi isn't moving at all |
Can you confirm you can reach the romi via the webapi? Try http://wpilibpi.local or http://10.0.0.2. Re-imaging the Romi will reset the wireless configuration on the pi which could cause a mismatch with your Java code build configuration if you customized it. |
I can reach http://10.0.0.2/ and this is a fresh image (I made this issue just a little while after I imaged it) |
I just tested the romi reference code and that worked fine |
Can you post a link to the robot code that doesn't work? I'll try it out as well. |
Yeah I can put it on GitHub at some point
…________________________________
From: jpokornyiii ***@***.***>
Sent: Wednesday, March 23, 2022 6:13:52 PM
To: wpilibsuite/WPILibPi ***@***.***>
Cc: SammyPants ***@***.***>; Author ***@***.***>
Subject: Re: [wpilibsuite/WPILibPi] did the 2022 update change the romi's motor channels? (Issue #222)
Can you post a link to the robot code that doesn't work? I'll try it out as well.
—
Reply to this email directly, view it on GitHub<#222 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWOIT4SDLM4FAAXODGPH5S3VBOQTBANCNFSM5RI5CLGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can you check if you see "HALSimWS: WebSocket Connected" in the output as well? There were some changes between WPILib 2021 and WPILIB 2022 and the builld.gradle file. It may not be connecting at all. |
here is my code that isn't working |
I'll test this out when I get home tonight but my gut felling is that you are missing this in your build.gradle file: wpi.sim.envVar("HALSIMWS_HOST", "10.0.0.2") This was coded differently in the past and if you imported the project to FRC VS Code 2022 you would have to add them back. |
Change above fixed it when I tested it out. Please confirm this fixes the issue. |
Created above issue to follow up on the importing of romi projects to new VS Code versions. Will close this out. If this problem continues please create a new issue. |
I just updated the romi image to 2022 and now the romi won't drive is this because of the update or some other issue on my end
The text was updated successfully, but these errors were encountered: