Go to Post Look for metal shavings in a pwm port; that's caused us to crash plenty of times. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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 19-02-2014, 11:09
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Pololu IMU(AHRS) orientation sensor

Autocorrect thinks nav6 should be navy...

Anyway, after much trial and tribulation, we finally got the MinIMU-9 to do what we want. We still need to clean up our code, and put it into a similar architectural form to the WPI library code, but that should be available to all, soon. Specifically, we created code to read the L3G20 gyro on the IMU, so our code will work with all boards that use this gyro component.

For the curious, we tried to leave our outputs in integer form. The gyro outputs two unsigned integer bytes, which get concatenated into a 16 bit integer, which is represented as a signed integer in two's compliment. Labview sees this concatenated 16-bit integer as unsigned, and casting it to a signed integer type just didn't work. For some reason, changing this integer output to a floating point type double, immediately after the concatenation, fixed our problems.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-03-2014, 01:39
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: Pololu IMU(AHRS) orientation sensor

We've finished our library and have posted it in the LabView section. Our code has been tested on the Pololu MinIMU-9 v2, but there is a list at the link below of the other Pololu and Adafruit boards that it will work with.

http://www.chiefdelphi.com/forums/sh...d.php?t=127677
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 21:51.

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