Go to Post Most of all, I long to give others a chance to experience what I did with FIRST, to give people from my home town that opportunity, because FIRST really is that once in a lifetime opportunity that so many people dont get a chance to be a part of. It shouldnt be that way. - Jacqui Sutton [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2017, 16:46
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 400
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Issue with the NavX Library

One of the students on our programming team is having trouble uploading code to the robot. In her build path is:
  • WPILIB
  • Cscore
  • OpenCV
  • Navx Library
  • TalonSRX Library
  • JRE System Library
In Eclipse, the code has no errors; the code shows no issues regarding not recognizing the AHRS class in the NavX library. However, upon trying to upload, the deployer gives an error stating that class AHRS is not found, even though it is fine in Eclipse. build.properties points to the correct library locations for the TalonSRX library and NavX library too.

Sidenote: I had the same issue after upgrading on kickoff, but managed to fix it. I can't for the life of me remember how though.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2017, 17:31
jbc218 jbc218 is offline
Registered User
FRC #4910 (East Cobb Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Georgia
Posts: 3
jbc218 is an unknown quantity at this point
Re: Issue with the NavX Library

This year, you no longer have to change build.properties, so whatever changes or additions you made there you should undo. Instead, what you're supposed to do, is put those libraries (navx, talonSRX, or any other user library) into your C:\Users\(current user)\wpilib\user\java\lib folder, make sure to update your build path on Eclipse, and then restart Eclipse. You only have to do that with user libraries, so you don't have to do anything to your wpilib, networktables, opencv, or cscore libraries.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2017, 19:14
whitetail's Avatar
whitetail whitetail is offline
Registered User
FRC #5407 (Wolf Pack)
Team Role: Driver
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Philadelphia
Posts: 54
whitetail is an unknown quantity at this point
Re: Issue with the NavX Library

I put them in C:\Users\(current user)\wpilib\user\java\lib folder but then it gives me a big ! over the project folder and doesn't recognize the AHRS. Did I miss a step?
__________________
FRC Team 5407 -Driver, Programmer and Head Control Systems Engineer
2015 MAR Championship Rookie All Star Award
2015 MAR Hatboro-Horsham District Rookie All Star Award
2015 MAR Hatboro-Horsham District event Winner(Thanks 2590 and 2607)
2016 MAR Hatboro-Horsham District event Winner(Thanks 2607 and 1218)
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2017, 20:42
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 351
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Issue with the NavX Library

Quote:
Originally Posted by whitetail View Post
I put them in C:\Users\(current user)\wpilib\user\java\lib folder but then it gives me a big ! over the project folder and doesn't recognize the AHRS. Did I miss a step?
As noted above, third party libraries are now located in a standardized location.

Please review the updated FRC RoboRIO Java Library Getting Started instructions, which provide details on configuring Eclipse.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2017, 23:28
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 400
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Issue with the NavX Library

Quote:
Originally Posted by slibert View Post
As noted above, third party libraries are now located in a standardized location.

Please review the updated FRC RoboRIO Java Library Getting Started instructions, which provide details on configuring Eclipse.
That is what I did! Thank you so much everyone, I will pass this on tomorrow!
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 16:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi