Go to Post Can I help it if I check Chief Delphi before I look at the Team Updates? - Al Skierkiewicz [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   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
 


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 17:35.

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