View Single Post
  #3   Spotlight this post!  
Unread 14-01-2014, 00:51
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: 348
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: nav6 Open Source IMU designed for FIRST Robotics

Quote:
Originally Posted by eddie12390 View Post
As a team who was considering purchasing one, how is the Java code meant to be imported into an existing project? It seems to cause an error with the Java versions as the default project seems to use Java 3 whereas @Override isn't available until Java 5.
Hi Eddie,

Thanks for reporting the problem. We're still working out the kinks w/the Java and the LabView libraries to interface to the nav6.

At this point there are two known issues w/the Java code that's in the repository:

- The IMU and IMUAdvanced classes use @Override, which is not supported in J2ME / Java 1.3

- The IMUAdvanced class uses atan2() and atan(), which are not present in the math library in the J2ME.

We have a test app on the PC that we tested the java IMUProtocol class with, but that was with Java 1.7; the IMU and IMUAdvanced classes are ported from our original C++ code base, and haven't been fully tested on the robot yet.

For the first item, it's a simple task to comment out the override.

For the second item, a member of Team 11 is adding support for the inverse trig functions.

I'll post a note to this forum when we get the java classes fully tested and checked in, this should happen over the next few weeks.

Please let me know if you have any more questions.

- scott