View Single Post
  #5   Spotlight this post!  
Unread 14-01-2014, 07:56
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: nav6 Open Source IMU designed for FIRST Robotics

Quote:
Originally Posted by slibert View Post
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
I got them both working last night by removing the @Override line and switching from Math to MathUtils. We purchased a nav6 on Saturday and as soon as we get it I'll test everything as thoroughly as possible.