View Single Post
  #4   Spotlight this post!  
Unread 11-08-2016, 17:45
Jon Stratis's Avatar
Jon Stratis Jon Stratis is online now
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,720
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Problem with 254's library

Well, the code was written against the 2015 API, and you probably have the 2016 API loaded. There are compatibility issues when using different versions of the API!

A little googling turned up a copy of the 2015 API Javadoc and the 2016 API Javadoc. Since you mentioned Gyro code, I checked out that area... It seems that 2015 had a Gyro class, while 2016 instead had a Gyro Interface, which lists several known implementations. So, that's one possible difference in the API that would cause old code to have serious issues with the newer API!

That said, I'm not going to go through and do any code analysis to figure out what the exact problem is and where to fix it... that I leave up to you!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote