View Single Post
  #5   Spotlight this post!  
Unread 02-12-2015, 18:56
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
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: Eclipse IMU Java Library Import

Quote:
Originally Posted by JABianchi View Post
Certainly, we are a little underwhelmed with the navX documentation for anything 2015 (RoboRio, navX MXP, etc.)

There are no directions for RoboRio (only cRio), and even the "Readme.txt" file inside the zipped nav6 folder does not talk about the 2015 system. Hopefully these can be updated?
The nav6 is the older product designed for the CRio. The navX-MXP was specially-designed for the RoboRIO, and the navX-MXP documentation is very complete, but as you've found the nav6 situation is different. Because the nav6 documentation was hosted on Google Code (which is now shut down) and because our focus at KauaiLabs is navX-MXP, the nav6 documentation for RoboRIO is indeed minimal.

We're encouraging teams that can to use the navX-MXP, but understand if that's not realistic and will do our best to provide support for teams using the nav6 on the RoboRIO.

Quote:
Originally Posted by JABianchi View Post
You can copy those 2 packages from the nav6SimpleRobotExample and place them in your team's project's src folder as well:

This setup doesn't seem to be the most intuitive to me, but I'd love to know if anyone with more programming experience knows why this would make a difference? (Is it simply easier to keep the libraries with the project if you are using a repository like github?)
It's not trivial as one might hope to create a WPI Library-based Java Library and include it in a FRC Java Eclipse project. While a navX-MXP Java library is now available for the RoboRIO along w/installation instructions, a nav6 Java library is not available, so as you've found you need to add the nav6 sources directly to your project. If you have trouble doing that, please post the errors you are running into.
Reply With Quote