View Single Post
  #4   Spotlight this post!  
Unread 16-01-2017, 02:05
Thomas DeSilva's Avatar
Thomas DeSilva Thomas DeSilva is offline
Programming Fury
FRC #1983 (Skunkworks)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Des Moines, WA
Posts: 22
Thomas DeSilva is on a distinguished road
Re: CTRE Toolsuite with Command-Based C++

Your compiler output actually indicates that the build was successful. Important takeaway here: sometimes Eclipse gets it wrong. If it's giving you an error that doesn't make much sense, always check the console to verify that it's real and not just Eclipse being Eclipse.

The error showing up in the driver station log isn't directly related to the other problem you were having. The error says that MotorSafetyHelper is trying to check the FPGA time before the FPGA is initialized, which may be because you're calling CANTalon::SetSafetyEnabled() in the constructor for your subsystem. It may help to move that call to a later point in time, but I don't know how it works under the covers and I haven't seen the rest of your code, so I can't say for sure--maybe one of WPILib's maintainers could chime in on this. I don't think that should be blocking you, though; is your command running now?
__________________
Programmer 2009-2011
Driver 2011
WPI Class of 2015
Reply With Quote