Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Help with ADIS16448 IMU (http://www.chiefdelphi.com/forums/showthread.php?t=154717)

tommy3113 04-02-2017 12:44

Help with ADIS16448 IMU
 
Our team is a rookie team and got the ADIS16448 IMU with our kit of parts; however, we cannot seem to figure out where to get/put the libraries for Eclipse. We want the IMU for the gyro, but think we could find use in all of the functions it has to offer so we do not want to give up on it and use the ADXRS450 Gyro. We have looked at the GitHub, but it seems to be only for LabVIEW. Will we just have to use the ADXRS450 Gyro if we use Eclipse, or can the libraries made for LabVIEW be used by Eclipse in someway? Any help is much appreciated.

MuskieProgramme 04-02-2017 19:44

Re: Help with ADIS16448 IMU
 
I would also like to know how to use this sensor. Also, will it work with a RIODuino (we're using one to control our lights)?

I tried using the file from github (https://github.com/juchong/ADIS16448...16448_IMU.java) but I had some errors about it not being imported / instantiated properly.

ajsmith 05-02-2017 18:18

Re: Help with ADIS16448 IMU
 
We are successfully using the class provided at https://github.com/juchong/ADIS16448...ee/master/Java

We downloaded and placed that class in the same package with the Robot.java class and imported it into Robot.java. Define a new ADIS16448_IMU as shown in their example https://github.com/juchong/ADIS16448...ple/Robot.java and it should work just fine.

Let me know if you are still getting an error.

tommy3113 07-02-2017 19:37

Re: Help with ADIS16448 IMU
 
Quote:

Originally Posted by ajsmith (Post 1640779)
We are successfully using the class provided at https://github.com/juchong/ADIS16448...ee/master/Java

We downloaded and placed that class in the same package with the Robot.java class and imported it into Robot.java. Define a new ADIS16448_IMU as shown in their example https://github.com/juchong/ADIS16448...ple/Robot.java and it should work just fine.

Let me know if you are still getting an error.

This worked, thank you! For clarifications if anyone else has this issue, open up the eclipse project folder to src and place the folder com/analog/adis16448/frc/ADIS16448_IMU.java into the src folder.


All times are GMT -5. The time now is 15:34.

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