Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.72 KB

adis16448.md

File metadata and controls

58 lines (40 loc) · 1.72 KB

ADIS16448

{% hint style="warning" %} Keep your robot still at startup EVERY TIME with this gyroscope. {% endhint %}

Documentation

{% embed url="https://wiki.analog.com/first/adis16448_imu_frc" %} Official Documentation {% endembed %}

{% embed url="https://docs.wpilib.org/en/stable/docs/software/hardware-apis/sensors/gyros-software.html#adis16448" %} WPILib documentation {% endembed %}

The ADIS16448 is a 3-axis gyroscope meaning it must be parallel to the earth for it to work!

YAGSL Checklist

  • Ensure the ADIS16448 is attached to the roboRIO firmly.
  • The roboRIO is centered on the robot.
  • The roboRIO is flat parallel to the earth.
  • The robot DOES NOT MOVE AT ALL on startup for at least 10 seconds!

Communication

The ADIS16448 attaches directly to the SPI port on the roboRIO MXP and is only connectable via there with YAGSL.

Example swervedrive.json

{
  "imu": {
    "type": "adis16448",
    "id": 0,
    "canbus": null
  },
  "invertedIMU": false,
  "modules": [
    "frontleft.json",
    "frontright.json",
    "backleft.json",
    "backright.json"
  ]
}