Go to Post I remember eating dinner once. Long before Build season. Now, we only eat aluminum swarf and disappointment. - BeardyMentor [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 22-04-2016, 14:12
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 341
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Getting pitch from navX sensor

Quote:
Originally Posted by samfruth View Post
To clarify, the value being fed out of the unbundle by name vi is always 0. 0E-3 to be exact. The pitch angle is definitely the value we want. I know it's not working properly because the value never changes from 0 during teleop driving or auto.
Can you please confirm that you are using the most recent version of the LabView library for the navX-MXP? The latest version of this is 2.0.5.0, and a release is available here:

https://github.com/FRC900/navX-MXP-LabVIEW/releases

One you have verified that your release is current, I'd encourage you to run in LabView the "navX Example v2.vi", which is in the "Examples\Functions" folder once you open the "navX Library.lvproj" project in LabView . This provides a monitor on the navX-MXP and will display the Yaw, Pitch and Roll values from the sensor, along with a lot of other information. This will verify that your board is correctly sending pitch/roll values to a labview application.

As you run this test, be sure to select the appropriate interface (SPI, I2C or TTL UART) in the example, to match what you use in your robot application.

Please let us know what you find.
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 04:23.

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