View Single Post
  #4   Spotlight this post!  
Unread 09-22-2016, 11:52 AM
PM_ME_UR_ROBOT PM_ME_UR_ROBOT is offline
Registered User
FRC #4206
 
Join Date: Sep 2016
Location: Texas
Posts: 5
PM_ME_UR_ROBOT is an unknown quantity at this point
Re: Missing CANTalon class

Quote:
Originally Posted by Bkeeneykid View Post
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 View Post
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 :/
Reply With Quote