"latest build"

30 views
Skip to first unread message

Kevin Chiasson

unread,
Mar 15, 2017, 3:26:42 PM3/15/17
to navx-mxp
Hello everyone,  I am trying to look at code from the WPI library but keep getting errors indicating that I am missing files and therefore won't load properly. I've attached a screenshot of the dialog box which appears.  Any help will be great
Screenshot (26).png

Kevin Chiasson

unread,
Mar 15, 2017, 3:33:08 PM3/15/17
to navx-mxp
Sorry, I should add some more info....I am using the myrio 1900. with labview 2016

thanks

admin

unread,
Mar 15, 2017, 3:33:34 PM3/15/17
to navx-mxp
These files should be located (they are placed there by the installer) in the following location:

C:\Program Files (x86)\National Instruments\LabVIEW 2016\vi.lib\Rock Robotics\WPI\ThirdParty\sensors\navX\_Processing Loop

Are you able to find these files at that location?

admin

unread,
Mar 15, 2017, 4:41:37 PM3/15/17
to navx-mxp
The LabVIEW WPI Library only works w/the RoboRIO.

Kauai Labs does not currently provide MyRIO-specific libraries.

For the MyRIO, you'll need to locate the I2C VIs from National Instrument that work w/the MyRIO, and access the sensor via that interface.

The I2C interface for the sensor is documented here:  http://pdocs.kauailabs.com/navx-micro/advanced/register-protocol/

See the I2C Overview section, as well as the Register Map.

Typically, you'll want to access the sensor status register, and the yaw (and perhaps pitch and roll) registers.

- scott

Kevin Chiasson

unread,
May 23, 2017, 3:30:47 PM5/23/17
to navx-mxp
Hello and thanks for your help.

I'm not familiar with exactly what needs to happen here since I have no knowledge of I2C communication.  Is there documentation somewhere where I can get some step to step instruction on how to make it work for the myrio.

thanks
Reply all
Reply to author
Forward
0 new messages