4533-phoenix / DeepSpaceRobot

This is the reprository where the code for the 2019 season is located.
1 stars 0 forks source link

Add the CTRE Libraries to the code #4

Closed BearsAreAwsome closed 5 years ago

BearsAreAwsome commented 5 years ago

Without these libraries, we will not be able to code the TalonSRX motor controllers. The process of adding them might be different this year due to the switch from eclipse to VSCode. This must be done before starting to work on the DriveSystem.

frc4533dev commented 5 years ago

This is finished.

BearsAreAwsome commented 5 years ago

So when I got home and synced up my code with the code on GitHub, I noticed that there was errors with all of the TalonSRX objects in DriveSystem. I checked the CTRE api just to make sure that the error is not due to a misspelling or missing a parameter, and although there were some errors that were due to not having device ID parameters, there are still errors that shouldn't be there if the libraries were there. I will attempt to fix this tonight if possible.

BearsAreAwsome commented 5 years ago

So...when I just added IDs to the motor controllers, all of the errors disappeared...even the ones that should not have been fixed by that, such as the import statement. I believe this is fixed.