A problem when using REVlib in WPILIB 2022.4.1

l have already installed the REVLib in my workspace .
image
However , when l open my project the next time, the REVlib seems to crash.


Is this a bug of REVlib?

Code on github?

Yeah , it’s on github, but due to some reasons ,it 's private. Which part of code do you want to see?

All of it would be nice so I could test my solutions but since I can’t. Can you at least post the import that caused the issue or is this all REV imports? Have you always had this issue or is it recent from something you added?

You only have REVLib in your vendordeps right? Not REVRobotics and/or REVColorSensorV3

Yes ,l only have REVLib. Not REVColorSensor

Does this code build? If not what errors do you get? To me it looks like you need to clean the workspace. I use that same code and it works fine.

are the color sensors the only rev robotics things you are using or are there other ones that work fine also when did you download revlib because basically all old vendor deps stopped working with the sendable changes that happened this year

1 Like

Yes, color sensors are the only rev robotics thing that l use.

Can you run ./gradlew build in the terminal (like jdaming said) and see if the build is successful or fails? Sometimes VSCode doesn’t like to update the linter.

If it’s successful, then do Ctrl-Shift-P, type “java clean,” and press enter. Then in the pop up, press the restart and delete button.

Thanks , now it seems that there is no problem with it. That’s strange.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.