Quote:
Originally Posted by Bkeeneykid
As always, it really helps if we can see your full code. There could be confounding variables everywhere, and we can't see all the ways things can change. Can you perhaps upload it to GitHub?
Also, make sure you are using CANTalon, not CANTalonSRX, as that class was removed in 2016.
|
I wasn't able to push our project to GitHub for some reason, it kept giving errors so I just resorted to compressing it and putting the zipped file up for download. Sorry about that inconvenience.
https://github.com/carson-fitzgibbon/Robotics-Test
As for the CANTalon vs CANTalonSRX thing, we are trying to use CANTalon.
Quote:
Originally Posted by Tyler Scheuble
Side note: Are your CANTalon constructors empty? If you removed the ports and didn't replace it with their integer CAN IDs then that would cause a compile-time error on its own.
|
I made sure to give each constructor their own unique integer from 0 to 3 since we have four motor controllers. Problem isn't so much with the construction as it is the import not being found :/