Go to Post It's our first time actually doing the math for all of our mechanisms and for some reason math actually works. - Ginger Power [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 04-02-2017, 12:44
tommy3113 tommy3113 is offline
Registered User
FRC #6334
 
Join Date: Feb 2017
Location: Midlothian, Virginia
Posts: 2
tommy3113 is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 19:44
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 40
MuskieProgramme is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2017, 18:18
ajsmith's Avatar
ajsmith ajsmith is offline
Captain, Programming, Build
AKA: Andy Smith
FRC #5546 (A.R.T.)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2014
Location: Petersburg, VA
Posts: 10
ajsmith is a jewel in the roughajsmith is a jewel in the roughajsmith is a jewel in the rough
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2017, 19:37
tommy3113 tommy3113 is offline
Registered User
FRC #6334
 
Join Date: Feb 2017
Location: Midlothian, Virginia
Posts: 2
tommy3113 is an unknown quantity at this point
Re: Help with ADIS16448 IMU

Quote:
Originally Posted by ajsmith View Post
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.
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 13:16.

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