I’m programming the drive code and I get this notification. I don’t know what it means or how to fix it. Can anyone help?
You have to have an import
statement for that code at the top (import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
)
There’s a “Quick Fix” to do this automatically if you select that link in in the popup in your screenshot.
You have to install the phoenix library then use the build.gradle to add the library to your project
I have already install the phoenix library, how to add library to my project?
Right click on .gradle. if I remember correctly you should see an option with something along the line of magane vendor libraries. Click on that, then go to install new library offline and you should see the Phoenix library pop up then you just install it.
Hit Ctrl + Shift + P to bring up command pallet and then type in Manage Vendor Libraries. Then select Install Vendor Libraries (offline). Then select CTRE-Pheonix and then select the OK button.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.