Coder Social home page Coder Social logo

buddybu / adis16448-roborio-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juchong/adis16448-roborio-driver

0.0 1.0 0.0 36.95 MB

ADIS16448 RoboRIO Driver Built With FRC Robot Libraries

Home Page: http://www.analog.com/first

C++ 35.29% Java 37.48% LabVIEW 27.24%

adis16448-roborio-driver's Introduction

ADIS16448 RoboRIO LabVIEW Example for FIRST Robotics

A working example built for FRC robots using the FRC LabVIEW development environment

This example library was written to give mentors, students, and engineers a starting point for using a very high-performance 10 Degree-of-Freedom (DoF), calibrated Inertial Measurement Unit (IMU). This sensor packages gyroscopes, accelerometers, magnetometers, and a barometer in a small, robust package perfect for high performance robotics (such as FRC).

This software example offers:

  • Raw sensor outputs - X-Y-Z Gyroscope, Accelerometer, Magnetometer, and Barometer
  • X-Y-Z gyroscope angles calculated by means of loop integration
  • AHRS (Pitch, Roll, Yaw) calculated using complementary and simplified Kalman (Madgwick) filters. More information can be found here

Tutorial videos, how-to guides, and additional resources can be found at http://www.analog.com/first

UPDATE 01/18/2017: Instructions for integrating the IMU driver into LabVIEW can be found here.

What do I need to get started?

In order to use the software, you will need access to a RoboRIO and the ADIS16448 MXP Breakout Board. This software is based on the FRC 2017 LabVIEW software distribution, so previous versions may not work without correcting errors.

Plug in the expansion board as shown below. Be careful to not offset the connector!! If installed correctly, the Power LED should turn on once power is applied to the RoboRIO.

ADIS16448 Breakout Board Installed on a RoboRIO

How do I install the library?

After cloning the repository, open the LabVIEW project FRC ADI MXP IMU.lvproj and double click on the example VI FRC ADI MXP IMU Example.vi. A front panel like the one shown below should appear once everything loads. Check your connection settings in the project and run the program. Instructions for integrating the IMU driver into LabVIEW can be found here.

ADIS16448 IMU Driver Front Panel

Does the library support gyro drift calibration?

YES! The library now includes a calibration program! Open ADIS16448 IMU Calibration.vi and follow the instructions on the GUI. Once the calibration program finishes, the calibration data will be stored in registers within the IMU. This compensation will be automatically applied to the sensor outputs during normal operation. If you would like to remove the calibration, select the "Clear Calibration" control and run the software. Note that running the calibration program more than once will overwrite the previous file.

If calibration data does not exist, the IMU will sample 3 seconds worth of data upon start-up and use this data to compensate for drift.

ADIS16448 IMU Calibration Front Panel

A Shout-Out to the RoboBees

Thank you very much to Team 836, The RoboBees for providing the FIRST community with an excellent AHRS example!

adis16448-roborio-driver's People

Contributors

juchong avatar peterjohnson avatar austinshalit avatar mb3hel avatar thadhouse avatar

Watchers

John Burnham avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.